public enum ArtifactAvailability extends java.lang.Enum<ArtifactAvailability>
Enum Constant and Description |
---|
NOT_AVAILABLE
Artifact is not available
|
NOT_PRESENT
Artifact is not present locally
|
PRESENT
Artifact is present locally
|
Modifier and Type | Field and Description |
---|---|
private int |
n |
Modifier and Type | Method and Description |
---|---|
static ArtifactAvailability |
fromString(java.lang.String s) |
java.lang.String |
toString() |
static ArtifactAvailability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactAvailability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactAvailability NOT_PRESENT
public static final ArtifactAvailability PRESENT
public static final ArtifactAvailability NOT_AVAILABLE
public static ArtifactAvailability[] values()
for (ArtifactAvailability c : ArtifactAvailability.values()) System.out.println(c);
public static ArtifactAvailability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ArtifactAvailability>
public static ArtifactAvailability fromString(java.lang.String s)