Enum MvnDependencyResolutionDownloadOwnerRefType_1
java.lang.Object
java.lang.Enum<MvnDependencyResolutionDownloadOwnerRefType_1>
com.gradle.scan.eventmodel.maven.dependencies.MvnDependencyResolutionDownloadOwnerRefType_1
- All Implemented Interfaces:
Serializable,Comparable<MvnDependencyResolutionDownloadOwnerRefType_1>,Constable
@MavenExtensionVersion(since="1.9")
public enum MvnDependencyResolutionDownloadOwnerRefType_1
extends Enum<MvnDependencyResolutionDownloadOwnerRefType_1>
A type of thing within the build that caused a dependency resolution download to occur.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROJECT
@MavenExtensionVersion(since="1.9") public static final MvnDependencyResolutionDownloadOwnerRefType_1 PROJECTDenotes that the owner is a project.That is, the download is required for a project being built.
The ID value corresponds to
MvnProject_1_0.id. -
PLUGIN
@MavenExtensionVersion(since="1.9") public static final MvnDependencyResolutionDownloadOwnerRefType_1 PLUGINDenotes that owner is a build plugin.The ID value corresponds to
MvnPlugin_1_0.id.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-