Enum MvnFileRefRootType_1
- java.lang.Object
-
- java.lang.Enum<MvnFileRefRootType_1>
-
- com.gradle.scan.eventmodel.maven.fileref.MvnFileRefRootType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<MvnFileRefRootType_1>
@MavenExtensionVersion(since="1.0") public enum MvnFileRefRootType_1 extends Enum<MvnFileRefRootType_1>
Specifies the types of roots against which file paths can be made relative to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE
MAVEN_HOME
MAVEN_LOCAL_REPOSITORY
USER_HOME
WORKSPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MvnFileRefRootType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static MvnFileRefRootType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKSPACE
@MavenExtensionVersion(since="1.0") public static final MvnFileRefRootType_1 WORKSPACE
-
MAVEN_LOCAL_REPOSITORY
@MavenExtensionVersion(since="1.1") public static final MvnFileRefRootType_1 MAVEN_LOCAL_REPOSITORY
-
ABSOLUTE
@MavenExtensionVersion(since="1.0") public static final MvnFileRefRootType_1 ABSOLUTE
-
USER_HOME
@MavenExtensionVersion(since="1.13") public static final MvnFileRefRootType_1 USER_HOME
-
MAVEN_HOME
@MavenExtensionVersion(since="1.15") public static final MvnFileRefRootType_1 MAVEN_HOME
-
-
Method Detail
-
values
public static MvnFileRefRootType_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 (MvnFileRefRootType_1 c : MvnFileRefRootType_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 MvnFileRefRootType_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
-
-