Package org.onosproject.net.flow
Enum FlowEntry.FlowLiveType
- java.lang.Object
-
- java.lang.Enum<FlowEntry.FlowLiveType>
-
- org.onosproject.net.flow.FlowEntry.FlowLiveType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FlowEntry.FlowLiveType>
- Enclosing interface:
- FlowEntry
public static enum FlowEntry.FlowLiveType extends java.lang.Enum<FlowEntry.FlowLiveType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMMEDIATEIndicates that this rule has been submitted for addition immediately.LONGIndicates that this rule has been submitted for a long time.MIDIndicates that this rule has been submitted for a mid time.SHORTIndicates that this rule has been submitted for a short time.UNKNOWNIndicates that this rule has been submitted for UNKNOWN or ERROR.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlowEntry.FlowLiveTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlowEntry.FlowLiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMMEDIATE
public static final FlowEntry.FlowLiveType IMMEDIATE
Indicates that this rule has been submitted for addition immediately. Not necessarily collecting flow stats.
-
SHORT
public static final FlowEntry.FlowLiveType SHORT
Indicates that this rule has been submitted for a short time. Collecting flow stats every SHORT interval, defined by the implementation.
-
MID
public static final FlowEntry.FlowLiveType MID
Indicates that this rule has been submitted for a mid time. Collecting flow stats every MID interval, defined by the implementation.
-
LONG
public static final FlowEntry.FlowLiveType LONG
Indicates that this rule has been submitted for a long time. Collecting flow stats every LONG interval, defined by the implementation.
-
UNKNOWN
public static final FlowEntry.FlowLiveType UNKNOWN
Indicates that this rule has been submitted for UNKNOWN or ERROR. Not necessarily collecting flow stats.
-
-
Method Detail
-
values
public static FlowEntry.FlowLiveType[] 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 (FlowEntry.FlowLiveType c : FlowEntry.FlowLiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlowEntry.FlowLiveType 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
-
-