public static enum MappingAction.Type extends Enum<MappingAction.Type>
| Enum Constant and Description |
|---|
DROP
Signifies that the traffic should be dropped.
|
FORWARD
Signifies that the traffic requires forwarding with mapping information.
|
NATIVE_FORWARD
Signifies that the traffic requires native forwarding.
|
NO_ACTION
Signifies that the traffic requires no action.
|
| Modifier and Type | Method and Description |
|---|---|
static MappingAction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingAction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingAction.Type NO_ACTION
public static final MappingAction.Type NATIVE_FORWARD
public static final MappingAction.Type FORWARD
public static final MappingAction.Type DROP
public static MappingAction.Type[] values()
for (MappingAction.Type c : MappingAction.Type.values()) System.out.println(c);
public static MappingAction.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 null