Package net.i2p.update
Enum UpdateType
- All Implemented Interfaces:
Serializable
,Comparable<UpdateType>
,java.lang.constant.Constable
public enum UpdateType extends Enum<UpdateType>
What to update
- Since:
- 0.9.4
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESSBOOK
unusedBLOCKLIST
GEOIP
HOMEPAGE
unusedNEWS
NEWS_SU3
PLUGIN
RESEED
unusedROUTER_DEV_SU3
ROUTER_SIGNED
ROUTER_SIGNED_SU3
ROUTER_UNSIGNED
TYPE_DUMMY
Dummy: internal use only -
Method Summary
Modifier and Type Method Description static UpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_DUMMY
Dummy: internal use only -
NEWS
-
ROUTER_SIGNED
-
ROUTER_UNSIGNED
-
PLUGIN
-
GEOIP
-
BLOCKLIST
-
RESEED
unused -
HOMEPAGE
unused -
ADDRESSBOOK
unused -
ROUTER_SIGNED_SU3
- Since:
- 0.9.9
-
NEWS_SU3
- Since:
- 0.9.15
-
ROUTER_DEV_SU3
- Since:
- 0.9.17
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-