Enum MvnExtensionApplicationType_1
- java.lang.Object
-
- java.lang.Enum<MvnExtensionApplicationType_1>
-
- com.gradle.scan.eventmodel.maven.extensions.MvnExtensionApplicationType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<MvnExtensionApplicationType_1>
@MavenExtensionVersion(since="1.15") public enum MvnExtensionApplicationType_1 extends Enum<MvnExtensionApplicationType_1>
Type of application for an extension.- See Also:
MvnExtension_1_0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORE
A core extension, provided in thelib
folder of the Maven installation.LIB_EXT
A core extension, provided in thelib/ext
folder of the Maven installation.MAVEN_EXT_CLASSPATH
A core extension provided via the-Dmaven.ext.class.path
system property.POM
A build extension, provided via a declaration in thebuild
section of the top level projectpom.xml
.PROJECT
A project extension, provided via a declaration in.mvn/extensions.xml
on the Maven working directory.UNKNOWN
An extension for which none of the other types match.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MvnExtensionApplicationType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static MvnExtensionApplicationType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORE
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 CORE
A core extension, provided in thelib
folder of the Maven installation.
-
MAVEN_EXT_CLASSPATH
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 MAVEN_EXT_CLASSPATH
A core extension provided via the-Dmaven.ext.class.path
system property.
-
LIB_EXT
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 LIB_EXT
A core extension, provided in thelib/ext
folder of the Maven installation.
-
PROJECT
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 PROJECT
A project extension, provided via a declaration in.mvn/extensions.xml
on the Maven working directory.
-
POM
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 POM
A build extension, provided via a declaration in thebuild
section of the top level projectpom.xml
.
-
UNKNOWN
@MavenExtensionVersion(since="1.15") public static final MvnExtensionApplicationType_1 UNKNOWN
An extension for which none of the other types match.
-
-
Method Detail
-
values
public static MvnExtensionApplicationType_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 (MvnExtensionApplicationType_1 c : MvnExtensionApplicationType_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 MvnExtensionApplicationType_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
-
-