public enum ReleaseTrack extends Enum<ReleaseTrack>
| Enum Constant and Description |
|---|
ALPHA |
BETA |
PRODUCTION |
ROLLOUT |
| Modifier and Type | Method and Description |
|---|---|
static ReleaseTrack |
fromConfigValue(String name) |
String |
getApiValue() |
static List<String> |
getConfigValues() |
String |
toString() |
static ReleaseTrack |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReleaseTrack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReleaseTrack ALPHA
public static final ReleaseTrack BETA
public static final ReleaseTrack PRODUCTION
public static final ReleaseTrack ROLLOUT
public static ReleaseTrack[] values()
for (ReleaseTrack c : ReleaseTrack.values()) System.out.println(c);
public static ReleaseTrack 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 List<String> getConfigValues()
public static ReleaseTrack fromConfigValue(String name)
null if not found.public String getApiValue()
public String toString()
toString in class Enum<ReleaseTrack>Copyright © 2016–2018. All rights reserved.