public static enum TcpForwardingFilter.Type extends Enum<TcpForwardingFilter.Type> implements NamedResource
getName()
method returns the SSH request typeModifier and Type | Field and Description |
---|---|
static Set<TcpForwardingFilter.Type> |
VALUES |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier and Type | Method and Description |
---|---|
static TcpForwardingFilter.Type |
fromEnumName(String name) |
static TcpForwardingFilter.Type |
fromName(String name) |
static TcpForwardingFilter.Type |
fromString(String name) |
String |
getName() |
static TcpForwardingFilter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpForwardingFilter.Type[] |
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
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public static final TcpForwardingFilter.Type Direct
public static final TcpForwardingFilter.Type Forwarded
public static final Set<TcpForwardingFilter.Type> VALUES
public static TcpForwardingFilter.Type[] values()
for (TcpForwardingFilter.Type c : TcpForwardingFilter.Type.values()) System.out.println(c);
public static TcpForwardingFilter.Type 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 final String getName()
getName
in interface NamedResource
public static TcpForwardingFilter.Type fromString(String name)
name
- Either the enum name or the request - ignored if null
/emptyTcpForwardingFilter.Type
value - case insensitive, or null
if no match foundfromName(String)
,
fromEnumName(String)
public static TcpForwardingFilter.Type fromName(String name)
name
- The request name - ignored if null
/emptyTcpForwardingFilter.Type
value - case insensitive, or null
if no match foundpublic static TcpForwardingFilter.Type fromEnumName(String name)
name
- The enum value name - ignored if null
/emptyTcpForwardingFilter.Type
value - case insensitive, or null
if no match foundCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.