public static enum SocketLock.ActivationStatus extends java.lang.Enum<SocketLock.ActivationStatus>
Enum Constant and Description |
---|
ACTIVATED |
CANNOT_ACTIVATE |
NO_INSTANCE |
Modifier and Type | Method and Description |
---|---|
static SocketLock.ActivationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocketLock.ActivationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketLock.ActivationStatus ACTIVATED
public static final SocketLock.ActivationStatus NO_INSTANCE
public static final SocketLock.ActivationStatus CANNOT_ACTIVATE
public static SocketLock.ActivationStatus[] values()
for (SocketLock.ActivationStatus c : SocketLock.ActivationStatus.values()) System.out.println(c);
public static SocketLock.ActivationStatus 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