public enum ReleaseChannel extends Enum<ReleaseChannel>
| Modifier and Type | Method and Description |
|---|---|
static ReleaseChannel |
parse(String releaseTypeName)
Parses a string to a ReleaseChannel.
|
static ReleaseChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReleaseChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReleaseChannel ALPHA
public static final ReleaseChannel BETA
public static final ReleaseChannel STABLE
public static ReleaseChannel[] values()
for (ReleaseChannel c : ReleaseChannel.values()) System.out.println(c);
public static ReleaseChannel 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 ReleaseChannel parse(String releaseTypeName)
releaseTypeName - the name of the ReleaseChannel. "alpha", "beta" or "stable"/"release"Copyright © 2016. All rights reserved.