public static enum Instruction.Type extends java.lang.Enum<Instruction.Type>
Enum Constant and Description |
---|
EXTENSION
Signifies that an extension instruction will be used.
|
GROUP
Signifies that traffic should be sent out of a group.
|
L0MODIFICATION
Signifies that the traffic should be modified in L0 way.
|
L1MODIFICATION
Signifies that the traffic should be modified in L1 way.
|
L2MODIFICATION
Signifies that the traffic should be modified in L2 way.
|
L3MODIFICATION
Signifies that the traffic should be modified in L3 way.
|
L4MODIFICATION
Signifies that the traffic should be modified in L4 way.
|
METADATA
Signifies that metadata be attached to traffic.
|
METER
Signifies that traffic should be metered according to a meter.
|
NOACTION
Signifies that the traffic requires no action.
|
OUTPUT
Signifies that the traffic should be output to a port.
|
PROTOCOL_INDEPENDENT
Signifies that a protocol-independent instruction will be used.
|
QUEUE
Signifies that the traffic should be enqueued to an already-configured
queue on a port.
|
STAT_TRIGGER
Signifies that statistics will be triggered.
|
TABLE
Signifies that the traffic should be passed to another table.
|
Modifier and Type | Method and Description |
---|---|
static Instruction.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instruction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instruction.Type NOACTION
public static final Instruction.Type OUTPUT
public static final Instruction.Type GROUP
public static final Instruction.Type QUEUE
public static final Instruction.Type METER
public static final Instruction.Type L0MODIFICATION
public static final Instruction.Type L1MODIFICATION
public static final Instruction.Type L2MODIFICATION
public static final Instruction.Type TABLE
public static final Instruction.Type L3MODIFICATION
public static final Instruction.Type METADATA
public static final Instruction.Type L4MODIFICATION
public static final Instruction.Type PROTOCOL_INDEPENDENT
public static final Instruction.Type EXTENSION
public static final Instruction.Type STAT_TRIGGER
public static Instruction.Type[] values()
for (Instruction.Type c : Instruction.Type.values()) System.out.println(c);
public static Instruction.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null