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