Package org.onosproject.net.meter
Enum MeterFeaturesFlag
- java.lang.Object
-
- java.lang.Enum<MeterFeaturesFlag>
-
- org.onosproject.net.meter.MeterFeaturesFlag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MeterFeaturesFlag>
public enum MeterFeaturesFlag extends java.lang.Enum<MeterFeaturesFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_SET
Support meter action in action set.ANY_POSITION
Support any position in action list.MULTI_LIST
Support multiple actions in action list.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MeterFeaturesFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MeterFeaturesFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTION_SET
public static final MeterFeaturesFlag ACTION_SET
Support meter action in action set.
-
ANY_POSITION
public static final MeterFeaturesFlag ANY_POSITION
Support any position in action list.
-
MULTI_LIST
public static final MeterFeaturesFlag MULTI_LIST
Support multiple actions in action list.
-
-
Method Detail
-
values
public static MeterFeaturesFlag[] 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 (MeterFeaturesFlag c : MeterFeaturesFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MeterFeaturesFlag valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-