public enum GetStateRes extends Enum<GetStateRes>
| Enum Constant and Description |
|---|
FAILMISSINGPARAMETER |
FAILPARAMETERERROR |
FAILREBUSY |
FAILSYNTAXERROR |
FAILUNKNOWNOBJECT |
FAILUNKNOWNSTATETYPE |
FAILUNRECOGNIZEDMESSAGE |
FAILVALUEOUTOFRANGE |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static GetStateRes |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static GetStateRes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetStateRes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetStateRes SUCCESS
public static final GetStateRes FAILSYNTAXERROR
public static final GetStateRes FAILUNRECOGNIZEDMESSAGE
public static final GetStateRes FAILREBUSY
public static final GetStateRes FAILMISSINGPARAMETER
public static final GetStateRes FAILPARAMETERERROR
public static final GetStateRes FAILUNKNOWNOBJECT
public static final GetStateRes FAILUNKNOWNSTATETYPE
public static final GetStateRes FAILVALUEOUTOFRANGE
public static GetStateRes[] values()
for (GetStateRes c : GetStateRes.values()) System.out.println(c);
public static GetStateRes 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 GetStateRes forValue(int valueArg)
valueArg - Copyright © 2016 OpenDaylight. All rights reserved.