@Deprecated public enum TargetConfig extends Enum<TargetConfig>
| Enum Constant and Description |
|---|
CANDIDATE
Deprecated.
|
RUNNING
Deprecated.
|
STARTUP
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DatastoreId |
toDatastoreId(String cfg)
Deprecated.
|
static DatastoreId |
toDatastoreId(TargetConfig cfg)
Deprecated.
|
String |
toString()
Deprecated.
|
static TargetConfig |
toTargetConfig(String targetConfig)
Deprecated.
|
static TargetConfig |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TargetConfig[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetConfig RUNNING
public static final TargetConfig CANDIDATE
public static final TargetConfig STARTUP
public static TargetConfig[] values()
for (TargetConfig c : TargetConfig.values()) System.out.println(c);
public static TargetConfig 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 TargetConfig toTargetConfig(String targetConfig)
public static DatastoreId toDatastoreId(String cfg)
public static DatastoreId toDatastoreId(TargetConfig cfg)
public String toString()
toString in class Enum<TargetConfig>