public enum FlowModCommand extends Enum<FlowModCommand> implements OfpCodeBasedEnum
| Enum Constant and Description |
|---|
ADD
New flow; Since 1.0.
|
DELETE
Delete all matching flows; Since 1.0.
|
DELETE_STRICT
Delete entry strictly matching wildcards and priority; Since 1.0.
|
MODIFY
Modify all matching flows; Since 1.0.
|
MODIFY_STRICT
Modify entry strictly matching wildcards and priority; Since 1.0.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for the constant, under the given protocol
version.
|
static FlowModCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowModCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowModCommand ADD
public static final FlowModCommand MODIFY
public static final FlowModCommand MODIFY_STRICT
public static final FlowModCommand DELETE
public static final FlowModCommand DELETE_STRICT
public static FlowModCommand[] values()
for (FlowModCommand c : FlowModCommand.values()) System.out.println(c);
public static FlowModCommand 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)
OfpCodeBasedEnumgetCode in interface OfpCodeBasedEnumpv - the protocol versionCopyright © 2014. All Rights Reserved.