public static enum ConnectionBroker.Transport extends Enum<ConnectionBroker.Transport>
Enum Constant and Description |
---|
PLAIN_TEXT |
SSL |
Modifier and Type | Method and Description |
---|---|
static ConnectionBroker.Transport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionBroker.Transport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionBroker.Transport PLAIN_TEXT
public static final ConnectionBroker.Transport SSL
public static ConnectionBroker.Transport[] values()
for (ConnectionBroker.Transport c : ConnectionBroker.Transport.values()) System.out.println(c);
public static ConnectionBroker.Transport 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 nullCopyright © 2015. All Rights Reserved.