public enum ProxyChainType extends Enum<ProxyChainType>
Enum Constant and Description |
---|
DRAFT_RFC
A chain contains only draft RFC proxies.
|
LEGACY
A chain contains only legacy Globus 2 proxies.
|
MIXED
A chain contains proxies of different types (legacy, draft RFC or RFC).
|
RFC3820
A chain contains only RFC 3820 conformant proxies.
|
Modifier and Type | Method and Description |
---|---|
ProxyType |
toProxyType()
Converts this chain type to
ProxyType . |
static ProxyChainType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyChainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyChainType LEGACY
public static final ProxyChainType DRAFT_RFC
public static final ProxyChainType RFC3820
public static final ProxyChainType MIXED
public static ProxyChainType[] values()
for (ProxyChainType c : ProxyChainType.values()) System.out.println(c);
public static ProxyChainType 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 ProxyType toProxyType() throws IllegalStateException
ProxyType
. Works only if the
chain is consistent, i.e. if all proxies are of the same type.ProxyType
IllegalStateException
- if this enum value is MIXEDCopyright © 2012–2015 European Middleware Initiative. All rights reserved.