Enum FlowCounter.OperationStatus
- java.lang.Object
-
- java.lang.Enum<FlowCounter.OperationStatus>
-
- org.opendaylight.openflowplugin.applications.bulk.o.matic.FlowCounter.OperationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<FlowCounter.OperationStatus>
- Enclosing class:
- FlowCounter
public static enum FlowCounter.OperationStatus extends Enum<FlowCounter.OperationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURE
IN_PROGRESS
INIT
SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
status()
static FlowCounter.OperationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlowCounter.OperationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final FlowCounter.OperationStatus INIT
-
SUCCESS
public static final FlowCounter.OperationStatus SUCCESS
-
FAILURE
public static final FlowCounter.OperationStatus FAILURE
-
IN_PROGRESS
public static final FlowCounter.OperationStatus IN_PROGRESS
-
-
Method Detail
-
values
public static FlowCounter.OperationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FlowCounter.OperationStatus c : FlowCounter.OperationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlowCounter.OperationStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
status
public int status()
-
-