public enum AllowTcpForwardingValue extends java.lang.Enum<AllowTcpForwardingValue> implements TcpForwardingFilter
TcpForwardingFilter.Type
Modifier and Type | Field and Description |
---|---|
static java.util.Set<AllowTcpForwardingValue> |
VALUES |
DEFAULT
Modifier and Type | Method and Description |
---|---|
static AllowTcpForwardingValue |
fromString(java.lang.String s) |
static AllowTcpForwardingValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllowTcpForwardingValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
canConnect, canListen
public static final AllowTcpForwardingValue ALL
public static final AllowTcpForwardingValue NONE
public static final AllowTcpForwardingValue LOCAL
public static final AllowTcpForwardingValue REMOTE
public static final java.util.Set<AllowTcpForwardingValue> VALUES
public static AllowTcpForwardingValue[] values()
for (AllowTcpForwardingValue c : AllowTcpForwardingValue.values()) System.out.println(c);
public static AllowTcpForwardingValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AllowTcpForwardingValue fromString(java.lang.String s)