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