public enum FailureType extends Enum<FailureType>
Enum Constant and Description |
---|
Failed
The request has been seen by the PCC, where it failed for some external reason.
|
NoAck
The request has been sent to the PCC, but either the session went down before we
have received confirmation of the request being received by the PCC, or the
request timed-out waiting for response from PCC.
|
Unsent
The request failed before it was sent to the PCC.
|
Modifier and Type | Method and Description |
---|---|
static FailureType |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static FailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureType Unsent
public static final FailureType NoAck
public static final FailureType Failed
public static FailureType[] values()
for (FailureType c : FailureType.values()) System.out.println(c);
public static FailureType 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 FailureType forValue(int valueArg)
valueArg
- Copyright © 2017 OpenDaylight. All rights reserved.