Package com.gradle.scan.eventmodel.maven
Enum MvnArtifactResolutionSource_1
java.lang.Object
java.lang.Enum<MvnArtifactResolutionSource_1>
com.gradle.scan.eventmodel.maven.MvnArtifactResolutionSource_1
- All Implemented Interfaces:
Serializable,Comparable<MvnArtifactResolutionSource_1>,Constable
@MavenExtensionVersion(since="2.4")
public enum MvnArtifactResolutionSource_1
extends Enum<MvnArtifactResolutionSource_1>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLocal artifact cache (e.g., .m2 repository).Remote binary repository (e.g., Maven Central). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static MvnArtifactResolutionSource_1[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOCAL_CACHE
Local artifact cache (e.g., .m2 repository). -
REMOTE_REPOSITORY
@MavenExtensionVersion(since="2.4") public static final MvnArtifactResolutionSource_1 REMOTE_REPOSITORYRemote binary repository (e.g., Maven Central).
-
-
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
-