public static enum BandwidthProfileAction.Action extends Enum<BandwidthProfileAction.Action>
Enum Constant and Description |
---|
DISCARD
Traffic is dropped.
|
PASS
Traffic is allowed to pass unmodified.
|
REMARK
Traffic is allowed to pass after being appropriately remarked.
|
Modifier and Type | Method and Description |
---|---|
static BandwidthProfileAction.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BandwidthProfileAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BandwidthProfileAction.Action PASS
public static final BandwidthProfileAction.Action REMARK
public static final BandwidthProfileAction.Action DISCARD
public static BandwidthProfileAction.Action[] values()
for (BandwidthProfileAction.Action c : BandwidthProfileAction.Action.values()) System.out.println(c);
public static BandwidthProfileAction.Action 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