public static enum GradleCommandLine.Parameter extends Enum<GradleCommandLine.Parameter> implements GradleCommandLine.GradleOptionItem
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
BUILD_FILE |
CONFIGURATION_CACHE_PROBLEMS |
CONSOLE |
DEPENDENCY_VERIFICATION |
EXCLUDE_TASK |
GRADLE_USER_HOME |
IMPORT_BUILD
Deprecated.
|
INCLUDE_BUILD |
INIT_SCRIPT |
MAX_WORKER |
PRIORITY |
PROJECT_CACHE_DIR |
PROJECT_DIR |
SETTINGS_FILE
Deprecated.
|
WARNING_MODE |
WRITE_VERIFICATION_METADATA |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
List<String> |
getFlags() |
boolean |
isSupported()
Shall return
true if the IDE supports this option item. |
boolean |
supportsGradle(GradleDistributionManager.GradleDistribution dist)
Shall return
true if this option is supported by the provided
GradleDistribution. |
static GradleCommandLine.Parameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradleCommandLine.Parameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradleCommandLine.Parameter BUILD_FILE
public static final GradleCommandLine.Parameter CONFIGURATION_CACHE_PROBLEMS
public static final GradleCommandLine.Parameter CONSOLE
public static final GradleCommandLine.Parameter DEPENDENCY_VERIFICATION
public static final GradleCommandLine.Parameter EXCLUDE_TASK
public static final GradleCommandLine.Parameter GRADLE_USER_HOME
public static final GradleCommandLine.Parameter INIT_SCRIPT
@Deprecated public static final GradleCommandLine.Parameter IMPORT_BUILD
public static final GradleCommandLine.Parameter INCLUDE_BUILD
public static final GradleCommandLine.Parameter MAX_WORKER
public static final GradleCommandLine.Parameter PRIORITY
public static final GradleCommandLine.Parameter PROJECT_CACHE_DIR
public static final GradleCommandLine.Parameter PROJECT_DIR
@Deprecated public static final GradleCommandLine.Parameter SETTINGS_FILE
public static final GradleCommandLine.Parameter WARNING_MODE
public static final GradleCommandLine.Parameter WRITE_VERIFICATION_METADATA
public static GradleCommandLine.Parameter[] values()
public static GradleCommandLine.Parameter 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 boolean isSupported()
GradleCommandLine.GradleOptionItem
true
if the IDE supports this option item.isSupported
in interface GradleCommandLine.GradleOptionItem
true
if this option is supported by the IDEpublic List<String> getFlags()
getFlags
in interface GradleCommandLine.GradleOptionItem
public String getDescription()
getDescription
in interface GradleCommandLine.GradleOptionItem
public boolean supportsGradle(GradleDistributionManager.GradleDistribution dist)
GradleCommandLine.GradleOptionItem
true
if this option is supported by the provided
GradleDistribution.supportsGradle
in interface GradleCommandLine.GradleOptionItem
dist
- the GradleDistribution to check.true
if the provided GradleDistributionManager.GradleDistribution
supports this option.