Package net.i2p.update
Enum UpdateType
- java.lang.Object
-
- java.lang.Enum<UpdateType>
-
- net.i2p.update.UpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<UpdateType>
public enum UpdateType extends Enum<UpdateType>
What to update- Since:
- 0.9.4
-
-
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
All Methods Static Methods Concrete Methods 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 Detail
-
TYPE_DUMMY
public static final UpdateType TYPE_DUMMY
Dummy: internal use only
-
NEWS
public static final UpdateType NEWS
-
ROUTER_SIGNED
public static final UpdateType ROUTER_SIGNED
-
ROUTER_UNSIGNED
public static final UpdateType ROUTER_UNSIGNED
-
PLUGIN
public static final UpdateType PLUGIN
-
GEOIP
public static final UpdateType GEOIP
-
BLOCKLIST
public static final UpdateType BLOCKLIST
-
RESEED
public static final UpdateType RESEED
unused
-
HOMEPAGE
public static final UpdateType HOMEPAGE
unused
-
ADDRESSBOOK
public static final UpdateType ADDRESSBOOK
unused
-
ROUTER_SIGNED_SU3
public static final UpdateType ROUTER_SIGNED_SU3
- Since:
- 0.9.9
-
NEWS_SU3
public static final UpdateType NEWS_SU3
- Since:
- 0.9.15
-
ROUTER_DEV_SU3
public static final UpdateType ROUTER_DEV_SU3
- Since:
- 0.9.17
-
-
Method Detail
-
values
public static UpdateType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UpdateType c : UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateType valueOf(String name)
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
-
-