public enum CaptureMode extends Enum<CaptureMode>
| Modifier and Type | Method and Description |
|---|---|
static CaptureMode |
fromValue(String value) |
String |
toString() |
String |
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 String toString()
toString in class Enum<CaptureMode>public String value()
public static CaptureMode fromValue(String value)
Copyright © 2015–2020 Red Hat. All rights reserved.