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