public static enum TrafficMonitor.Mode extends Enum<TrafficMonitor.Mode>
| Enum Constant and Description |
|---|
ALL_FLOW_TRAFFIC |
ALL_PORT_TRAFFIC |
DEV_LINK_FLOWS |
IDLE |
RELATED_INTENTS |
SELECTED_INTENT |
| Modifier and Type | Method and Description |
|---|---|
static TrafficMonitor.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficMonitor.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficMonitor.Mode IDLE
public static final TrafficMonitor.Mode ALL_FLOW_TRAFFIC
public static final TrafficMonitor.Mode ALL_PORT_TRAFFIC
public static final TrafficMonitor.Mode DEV_LINK_FLOWS
public static final TrafficMonitor.Mode RELATED_INTENTS
public static final TrafficMonitor.Mode SELECTED_INTENT
public static TrafficMonitor.Mode[] values()
for (TrafficMonitor.Mode c : TrafficMonitor.Mode.values()) System.out.println(c);
public static TrafficMonitor.Mode 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.