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
Method Summary |
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. |
TYPE_DUMMY
public static final UpdateType TYPE_DUMMY
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
HOMEPAGE
public static final UpdateType HOMEPAGE
ADDRESSBOOK
public static final UpdateType ADDRESSBOOK
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 name
NullPointerException
- if the argument is null