public enum TableFeaturePropType extends Enum<TableFeaturePropType> implements OfpCodeBasedEnum
Enum Constant and Description |
---|
APPLY_ACTIONS
Apply Actions property; Since 1.3.
|
APPLY_ACTIONS_MISS
Apply Actions for table-miss; Since 1.3.
|
APPLY_SETFIELD
Apply Set-Field property; Since 1.3.
|
APPLY_SETFIELD_MISS
Apply Set-Field for table-miss; Since 1.3.
|
EXPERIMENTER
Experimenter property; Since 1.3.
|
EXPERIMENTER_MISS
Experimenter for table-miss; Since 1.3.
|
INSTRUCTIONS
Instructions property; Since 1.3.
|
INSTRUCTIONS_MISS
Instructions for table-miss; Since 1.3.
|
MATCH
Match property; Since 1.3.
|
NEXT_TABLES
Next Table property; Since 1.3.
|
NEXT_TABLES_MISS
Next Table for table-miss; Since 1.3.
|
WILDCARDS
Wildcards property; Since 1.3.
|
WRITE_ACTIONS
Write Actions property; Since 1.3.
|
WRITE_ACTIONS_MISS
Write Actions for table-miss; Since 1.3.
|
WRITE_SETFIELD
Write Set-Field property; Since 1.3.
|
WRITE_SETFIELD_MISS
Write Set-Field for table-miss; Since 1.3.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for the constant, under the given protocol
version.
|
boolean |
isMiss()
Returns true if this type constant is one of the MISS variants.
|
TableFeaturePropType |
regular()
Convenient access to the regular type for this property type.
|
static TableFeaturePropType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableFeaturePropType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableFeaturePropType INSTRUCTIONS
public static final TableFeaturePropType INSTRUCTIONS_MISS
public static final TableFeaturePropType NEXT_TABLES
public static final TableFeaturePropType NEXT_TABLES_MISS
public static final TableFeaturePropType WRITE_ACTIONS
public static final TableFeaturePropType WRITE_ACTIONS_MISS
public static final TableFeaturePropType APPLY_ACTIONS
public static final TableFeaturePropType APPLY_ACTIONS_MISS
public static final TableFeaturePropType MATCH
public static final TableFeaturePropType WILDCARDS
public static final TableFeaturePropType WRITE_SETFIELD
public static final TableFeaturePropType WRITE_SETFIELD_MISS
public static final TableFeaturePropType APPLY_SETFIELD
public static final TableFeaturePropType APPLY_SETFIELD_MISS
public static final TableFeaturePropType EXPERIMENTER
public static final TableFeaturePropType EXPERIMENTER_MISS
public static TableFeaturePropType[] values()
for (TableFeaturePropType c : TableFeaturePropType.values()) System.out.println(c);
public static TableFeaturePropType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode(ProtocolVersion pv)
OfpCodeBasedEnum
getCode
in interface OfpCodeBasedEnum
pv
- the protocol versionpublic TableFeaturePropType regular()
public boolean isMiss()
Copyright © 2015. All Rights Reserved.