public enum CaptureMode extends Enum<CaptureMode>
| Enum Constant and Description |
|---|
CaptureMode_DEFAULT
The default capture mode defined by the environment
|
CaptureMode_IPTABLES
Capture traffic using IPtables redirection
|
CaptureMode_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 CaptureMode_DEFAULT
public static final CaptureMode CaptureMode_IPTABLES
public static final CaptureMode 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–2019 Red Hat. All rights reserved.