public enum ConnectorState extends Enum<ConnectorState>
| 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()
for (ConnectorState c : ConnectorState.values()) System.out.println(c);
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 nullBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.