net.i2p.update
Enum UpdateType

java.lang.Object
  extended by java.lang.Enum<UpdateType>
      extended by 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
ADDRESSBOOK
          unused
BLOCKLIST
          unused
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
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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
unused


BLOCKLIST

public static final UpdateType BLOCKLIST
unused


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 name
NullPointerException - if the argument is null