public static enum RelayServiceInfoModel.State extends java.lang.Enum<RelayServiceInfoModel.State>
Modifier and Type | Method and Description |
---|---|
static RelayServiceInfoModel.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelayServiceInfoModel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelayServiceInfoModel.State INIT
public static final RelayServiceInfoModel.State RUNNING
public static final RelayServiceInfoModel.State STOPPED
public static RelayServiceInfoModel.State[] values()
for (RelayServiceInfoModel.State c : RelayServiceInfoModel.State.values()) System.out.println(c);
public static RelayServiceInfoModel.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null