public enum BuckBuildType extends Enum<BuckBuildType>
Enum Constant and Description |
---|
LOCAL_ANT |
LOCAL_PEX |
RELEASE_PEX |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Supplier<BuckBuildType> |
CURRENT_BUCK_BUILD_TYPE
Check in runtime to see what current build type is.
|
Modifier and Type | Method and Description |
---|---|
static BuckBuildType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuckBuildType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuckBuildType UNKNOWN
public static final BuckBuildType LOCAL_ANT
public static final BuckBuildType LOCAL_PEX
public static final BuckBuildType RELEASE_PEX
public static final java.util.function.Supplier<BuckBuildType> CURRENT_BUCK_BUILD_TYPE
To run buck in different modes you can invoke: buck run buck --config build.type=enum_value
public static BuckBuildType[] values()
for (BuckBuildType c : BuckBuildType.values()) System.out.println(c);
public static BuckBuildType 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 null