Enum BatchStepType
- java.lang.Object
-
- java.lang.Enum<BatchStepType>
-
- org.opendaylight.openflowplugin.impl.services.batch.BatchStepType
-
- All Implemented Interfaces:
Serializable
,Comparable<BatchStepType>
public enum BatchStepType extends Enum<BatchStepType>
Batch step types - holding combinations of target object type and action type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_ADD
Flow add operation.FLOW_REMOVE
Flow remove operation.FLOW_UPDATE
Flow update operation.GROUP_ADD
Group add operation.GROUP_REMOVE
Group remove operation.GROUP_UPDATE
Group update operation.METER_ADD
Meter add operation.METER_REMOVE
Meter remove operation.METER_UPDATE
Meter update operation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BatchStepType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BatchStepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOW_ADD
public static final BatchStepType FLOW_ADD
Flow add operation.
-
FLOW_REMOVE
public static final BatchStepType FLOW_REMOVE
Flow remove operation.
-
FLOW_UPDATE
public static final BatchStepType FLOW_UPDATE
Flow update operation.
-
GROUP_ADD
public static final BatchStepType GROUP_ADD
Group add operation.
-
GROUP_REMOVE
public static final BatchStepType GROUP_REMOVE
Group remove operation.
-
GROUP_UPDATE
public static final BatchStepType GROUP_UPDATE
Group update operation.
-
METER_ADD
public static final BatchStepType METER_ADD
Meter add operation.
-
METER_REMOVE
public static final BatchStepType METER_REMOVE
Meter remove operation.
-
METER_UPDATE
public static final BatchStepType METER_UPDATE
Meter update operation.
-
-
Method Detail
-
values
public static BatchStepType[] 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 (BatchStepType c : BatchStepType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchStepType 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
-
-