Package net.i2p.router.web.helpers
Enum SummaryHelper.NetworkState
- java.lang.Object
-
- java.lang.Enum<SummaryHelper.NetworkState>
-
- net.i2p.router.web.helpers.SummaryHelper.NetworkState
-
- All Implemented Interfaces:
Serializable
,Comparable<SummaryHelper.NetworkState>
- Enclosing class:
- SummaryHelper
public static enum SummaryHelper.NetworkState extends Enum<SummaryHelper.NetworkState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SummaryHelper.NetworkState
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummaryHelper.NetworkState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIDDEN
public static final SummaryHelper.NetworkState HIDDEN
-
TESTING
public static final SummaryHelper.NetworkState TESTING
-
FIREWALLED
public static final SummaryHelper.NetworkState FIREWALLED
-
RUNNING
public static final SummaryHelper.NetworkState RUNNING
-
WARN
public static final SummaryHelper.NetworkState WARN
-
ERROR
public static final SummaryHelper.NetworkState ERROR
-
CLOCKSKEW
public static final SummaryHelper.NetworkState CLOCKSKEW
-
VMCOMM
public static final SummaryHelper.NetworkState VMCOMM
-
-
Method Detail
-
values
public static SummaryHelper.NetworkState[] 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 (SummaryHelper.NetworkState c : SummaryHelper.NetworkState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummaryHelper.NetworkState 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
-
-