public enum IsisInterfaceState extends Enum<IsisInterfaceState>
| Enum Constant and Description |
|---|
DOWN
Represents interface is in "down" state.
|
INITIAL
Represents interface is in "initial" state.
|
UP
Represents interface is in "up" state.
|
| Modifier and Type | Method and Description |
|---|---|
static IsisInterfaceState |
get(int interfaceStateTypeValue)
Gets the enum instance from type value - reverse lookup purpose.
|
int |
value()
Gets the value representing interface state type.
|
static IsisInterfaceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsisInterfaceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsisInterfaceState UP
public static final IsisInterfaceState INITIAL
public static final IsisInterfaceState DOWN
public static IsisInterfaceState[] values()
for (IsisInterfaceState c : IsisInterfaceState.values()) System.out.println(c);
public static IsisInterfaceState 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 nullpublic static IsisInterfaceState get(int interfaceStateTypeValue)
interfaceStateTypeValue - interface state type valuepublic int value()