public static enum GradleCommandLine.Property extends Enum<GradleCommandLine.Property> implements GradleCommandLine.GradleOptionItem
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.Property |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradleCommandLine.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradleCommandLine.Property PROJECT
public static final GradleCommandLine.Property SYSTEM
public static GradleCommandLine.Property[] values()
public static GradleCommandLine.Property 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.