public enum OFInstructionType extends Enum<OFInstructionType>
Enum Constant and Description |
---|
APPLY_ACTIONS |
CLEAR_ACTIONS |
EXPERIMENTER |
GOTO_TABLE |
METER |
WRITE_ACTIONS |
WRITE_METADATA |
Modifier and Type | Method and Description |
---|---|
static OFInstructionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFInstructionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFInstructionType GOTO_TABLE
public static final OFInstructionType WRITE_METADATA
public static final OFInstructionType WRITE_ACTIONS
public static final OFInstructionType APPLY_ACTIONS
public static final OFInstructionType CLEAR_ACTIONS
public static final OFInstructionType EXPERIMENTER
public static final OFInstructionType METER
public static OFInstructionType[] values()
for (OFInstructionType c : OFInstructionType.values()) System.out.println(c);
public static OFInstructionType 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 nullCopyright © 2015. All rights reserved.