public static enum TcpipClientChannel.Type extends Enum<TcpipClientChannel.Type> implements NamedResource
getName()
method returns the SSH request typeModifier and Type | Field and Description |
---|---|
static Set<TcpipClientChannel.Type> |
VALUES |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static TcpipClientChannel.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpipClientChannel.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, getNameList, getNames, ofName, removeByName
public static final TcpipClientChannel.Type Direct
public static final TcpipClientChannel.Type Forwarded
public static final Set<TcpipClientChannel.Type> VALUES
public static TcpipClientChannel.Type[] values()
for (TcpipClientChannel.Type c : TcpipClientChannel.Type.values()) System.out.println(c);
public static TcpipClientChannel.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 String getName()
getName
in interface NamedResource
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.