public enum UpdateType extends Enum<UpdateType>
Enum Constant and Description |
---|
ADDRESSBOOK
unused
|
BLOCKLIST |
GEOIP
unused
|
HOMEPAGE
unused
|
NEWS |
NEWS_SU3 |
PLUGIN |
RESEED
unused
|
ROUTER_DEV_SU3 |
ROUTER_SIGNED |
ROUTER_SIGNED_SU3 |
ROUTER_UNSIGNED |
TYPE_DUMMY
Dummy: internal use only
|
Modifier and Type | Method and 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.
|
public static final UpdateType TYPE_DUMMY
public static final UpdateType NEWS
public static final UpdateType ROUTER_SIGNED
public static final UpdateType ROUTER_UNSIGNED
public static final UpdateType PLUGIN
public static final UpdateType GEOIP
public static final UpdateType BLOCKLIST
public static final UpdateType RESEED
public static final UpdateType HOMEPAGE
public static final UpdateType ADDRESSBOOK
public static final UpdateType ROUTER_SIGNED_SU3
public static final UpdateType NEWS_SU3
public static final UpdateType ROUTER_DEV_SU3
public static UpdateType[] values()
for (UpdateType c : UpdateType.values()) System.out.println(c);
public static UpdateType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null