Enum FileRefRootType_1
- java.lang.Object
-
- java.lang.Enum<FileRefRootType_1>
-
- com.gradle.scan.eventmodel.gradle.fileref.FileRefRootType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<FileRefRootType_1>
@PluginVersion(since="1.9") public enum FileRefRootType_1 extends Enum<FileRefRootType_1>
Specifies the types of roots against which file paths can be made relative to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE
GRADLE_USER_HOME
READ_ONLY_DEPENDENCY_CACHE
USER_HOME
WORKSPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileRefRootType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static FileRefRootType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKSPACE
@PluginVersion(since="1.9") public static final FileRefRootType_1 WORKSPACE
-
GRADLE_USER_HOME
@PluginVersion(since="1.9") public static final FileRefRootType_1 GRADLE_USER_HOME
-
ABSOLUTE
@PluginVersion(since="1.9") public static final FileRefRootType_1 ABSOLUTE
-
READ_ONLY_DEPENDENCY_CACHE
@PluginVersion(since="3.3.1") public static final FileRefRootType_1 READ_ONLY_DEPENDENCY_CACHE
-
USER_HOME
@PluginVersion(since="3.9") public static final FileRefRootType_1 USER_HOME
-
-
Method Detail
-
values
public static FileRefRootType_1[] 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 (FileRefRootType_1 c : FileRefRootType_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileRefRootType_1 valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-