public static enum CommonConnectorConfig.Version extends Enum<CommonConnectorConfig.Version> implements EnumeratedValue
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the string representation of this value
|
static CommonConnectorConfig.Version |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static CommonConnectorConfig.Version |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static CommonConnectorConfig.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonConnectorConfig.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonConnectorConfig.Version V1
public static final CommonConnectorConfig.Version V2
private final String value
public static CommonConnectorConfig.Version[] values()
for (CommonConnectorConfig.Version c : CommonConnectorConfig.Version.values()) System.out.println(c);
public static CommonConnectorConfig.Version 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 getValue()
EnumeratedValuegetValue in interface EnumeratedValuepublic static CommonConnectorConfig.Version parse(String value)
value - the configuration property value; may not be nullpublic static CommonConnectorConfig.Version parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2020 JBoss by Red Hat. All rights reserved.