Package org.gradle.api.tasks.wrapper
Enum Wrapper.PathBase
- java.lang.Object
-
- java.lang.Enum<Wrapper.PathBase>
-
- org.gradle.api.tasks.wrapper.Wrapper.PathBase
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Wrapper.PathBase>
- Enclosing class:
- Wrapper
public static enum Wrapper.PathBase extends java.lang.Enum<Wrapper.PathBase>
Specifies how the wrapper path should be interpreted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRADLE_USER_HOME
PROJECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Wrapper.PathBase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Wrapper.PathBase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROJECT
public static final Wrapper.PathBase PROJECT
-
GRADLE_USER_HOME
public static final Wrapper.PathBase GRADLE_USER_HOME
-
-
Method Detail
-
values
public static Wrapper.PathBase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Wrapper.PathBase c : Wrapper.PathBase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Wrapper.PathBase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-