public enum ConnectorState extends Enum<ConnectorState>
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
ACCEPT
Accepted as a connection.
|
REJECT
Rejected as a connection.
|
REJECT_AND_STOP
Rejected as a connection.
|
Modifier and Type | Method and Description |
---|---|
static ConnectorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorState ACCEPT
public static final ConnectorState REJECT
public static final ConnectorState REJECT_AND_STOP
public static ConnectorState[] values()
public static ConnectorState 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