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:
Serializable
,Comparable<FlowEntry.FlowLiveType>
- Enclosing interface:
- FlowEntry
public static enum FlowEntry.FlowLiveType extends Enum<FlowEntry.FlowLiveType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMMEDIATE
Indicates that this rule has been submitted for addition immediately.LONG
Indicates that this rule has been submitted for a long time.MID
Indicates that this rule has been submitted for a mid time.SHORT
Indicates that this rule has been submitted for a short time.UNKNOWN
Indicates 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.FlowLiveType
valueOf(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(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
-
-