public static enum ConnectorConfig.Type extends Enum<ConnectorConfig.Type>
Enum Constant and Description |
---|
ALL
All types may connect.
|
CLIENT
Only clients may connect.
|
POLICY
Only Policy File request connections may connect.
|
Modifier and Type | Method and Description |
---|---|
static ConnectorConfig.Type |
fromString(String symbol)
Returns type enum from string representation.
|
static ConnectorConfig.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorConfig.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorConfig.Type ALL
public static final ConnectorConfig.Type CLIENT
public static final ConnectorConfig.Type POLICY
public static ConnectorConfig.Type[] values()
for (ConnectorConfig.Type c : ConnectorConfig.Type.values()) System.out.println(c);
public static ConnectorConfig.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 static ConnectorConfig.Type fromString(String symbol)
symbol
- type name in either lower or upper caseCopyright © 2016 Push Technology Ltd. All Rights Reserved.