public static enum Connection.ConnectionType extends Enum<Connection.ConnectionType>
Modifier and Type | Method and Description |
---|---|
boolean |
isDisplayable() |
boolean |
needsUrl() |
static Connection.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.ConnectionType LOCAL
public static final Connection.ConnectionType REMOTE
public static final Connection.ConnectionType CLUSTER
public static Connection.ConnectionType[] values()
for (Connection.ConnectionType c : Connection.ConnectionType.values()) System.out.println(c);
public static Connection.ConnectionType 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 boolean isDisplayable()
public boolean needsUrl()
Copyright © 2013. All Rights Reserved.