public enum ConnectorState extends java.lang.Enum<ConnectorState>
| Enum Constant | Description |
|---|---|
ACCEPT |
Accepted as a connection.
|
REJECT |
Rejected as a connection.
|
REJECT_AND_STOP |
Rejected as a connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ConnectorState |
valueOf(java.lang.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()
for (ConnectorState c : ConnectorState.values()) System.out.println(c);
public static ConnectorState 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 nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.