public static enum Instruction.Type extends Enum<Instruction.Type>
| Enum Constant and Description |
|---|
DROP
Signifies that the traffic should be dropped.
|
GROUP
Signifies that....
|
L0MODIFICATION
Signifies that the traffic should be modified in L0 way.
|
L2MODIFICATION
Signifies that the traffic should be modified in L2 way.
|
L3MODIFICATION
Signifies that the traffic should be modified in L3 way.
|
OUTPUT
Signifies that the traffic should be output to a port.
|
| Modifier and Type | Method and Description |
|---|---|
static Instruction.Type |
valueOf(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 DROP
public static final Instruction.Type OUTPUT
public static final Instruction.Type GROUP
public static final Instruction.Type L0MODIFICATION
public static final Instruction.Type L2MODIFICATION
public static final Instruction.Type L3MODIFICATION
public static Instruction.Type[] values()
for (Instruction.Type c : Instruction.Type.values()) System.out.println(c);
public static Instruction.Type 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.