public static enum FlowRule.FlowRemoveReason extends Enum<FlowRule.FlowRemoveReason>
Enum Constant and Description |
---|
DELETE |
EVICTION |
GROUP_DELETE |
HARD_TIMEOUT |
IDLE_TIMEOUT |
METER_DELETE |
NO_REASON |
Modifier and Type | Method and Description |
---|---|
static FlowRule.FlowRemoveReason |
parseShort(short reason)
Covert short to enum.
|
static FlowRule.FlowRemoveReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowRule.FlowRemoveReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowRule.FlowRemoveReason IDLE_TIMEOUT
public static final FlowRule.FlowRemoveReason HARD_TIMEOUT
public static final FlowRule.FlowRemoveReason DELETE
public static final FlowRule.FlowRemoveReason GROUP_DELETE
public static final FlowRule.FlowRemoveReason METER_DELETE
public static final FlowRule.FlowRemoveReason EVICTION
public static final FlowRule.FlowRemoveReason NO_REASON
public static FlowRule.FlowRemoveReason[] values()
for (FlowRule.FlowRemoveReason c : FlowRule.FlowRemoveReason.values()) System.out.println(c);
public static FlowRule.FlowRemoveReason 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 static FlowRule.FlowRemoveReason parseShort(short reason)
reason
- remove reason in integer