public enum ErrorTypeV10 extends Enum<ErrorTypeV10> implements org.opendaylight.yangtools.yang.binding.Enumeration
Enum Constant and Description |
---|
BADACTION
Error in action description.
|
BADREQUEST
Request was not understood.
|
FLOWMODFAILED
Problem modifying flow entry.
|
HELLOFAILED
Hello Protocol failed.
|
PORTMODFAILED
Port mod request failed.
|
QUEUEOPFAILED
Queue operation failed.
|
Modifier and Type | Method and Description |
---|---|
static Optional<ErrorTypeV10> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static ErrorTypeV10 |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue() |
String |
getName() |
static ErrorTypeV10 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTypeV10[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorTypeV10 HELLOFAILED
public static final ErrorTypeV10 BADREQUEST
public static final ErrorTypeV10 BADACTION
public static final ErrorTypeV10 FLOWMODFAILED
public static final ErrorTypeV10 PORTMODFAILED
public static final ErrorTypeV10 QUEUEOPFAILED
public static ErrorTypeV10[] values()
for (ErrorTypeV10 c : ErrorTypeV10.values()) System.out.println(c);
public static ErrorTypeV10 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()
getName
in interface org.opendaylight.yangtools.yang.binding.Enumeration
public int getIntValue()
getIntValue
in interface org.opendaylight.yangtools.yang.binding.Enumeration
public static Optional<ErrorTypeV10> forName(String name)
getName()
matches specified value.name
- YANG assigned nameNullPointerException
- if name is nullpublic static ErrorTypeV10 forValue(int intValue)
getIntValue()
matches specified value.intValue
- integer valueCopyright © 2020 OpenDaylight. All rights reserved.