public enum CaptureMode extends Enum<CaptureMode>
| Enum Constant and Description |
|---|
DEFAULT
The default capture mode defined by the environment
|
IPTABLES
Capture traffic using IPtables redirection
|
NONE
No traffic capture.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static CaptureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureMode DEFAULT
public static final CaptureMode IPTABLES
public static final CaptureMode NONE
public static CaptureMode[] values()
for (CaptureMode c : CaptureMode.values()) System.out.println(c);
public static CaptureMode 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 value()
Copyright © 2017–2020 Red Hat. All rights reserved.