public enum StateVal extends Enum<StateVal>
| Enum Constant and Description |
|---|
DEGRADED |
DISABLED |
FAILED |
LOCKED |
NOTOPERATIONAL |
OPERATIONAL |
PREOPERATIONAL |
UNLOCKED |
| Modifier and Type | Method and Description |
|---|---|
static StateVal |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static StateVal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateVal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateVal LOCKED
public static final StateVal UNLOCKED
public static final StateVal PREOPERATIONAL
public static final StateVal OPERATIONAL
public static final StateVal DEGRADED
public static final StateVal FAILED
public static final StateVal NOTOPERATIONAL
public static final StateVal DISABLED
public static StateVal[] values()
for (StateVal c : StateVal.values()) System.out.println(c);
public static StateVal 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 String getName()
public int getIntValue()
public static StateVal forValue(int valueArg)
valueArg - Copyright © 2016 OpenDaylight. All rights reserved.