public enum BuildType extends Enum<BuildType>
| Enum Constant and Description |
|---|
ENTERPRISE |
OPEN_SOURCE |
| Modifier and Type | Method and Description |
|---|---|
static BuildType |
fromIdentifier(String identifier)
Gets the build type with the specified shorthand identifier.
|
String |
toString() |
static BuildType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildType OPEN_SOURCE
public static final BuildType ENTERPRISE
public static BuildType[] values()
for (BuildType c : BuildType.values()) System.out.println(c);
public static BuildType 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 BuildType fromIdentifier(String identifier)
identifier - the identifier to search forIllegalArgumentException - if no build type with the specified identifier existsCopyright © 2020. All rights reserved.