public enum ArtifactAvailablility extends java.lang.Enum<ArtifactAvailablility>
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 ArtifactAvailablility |
fromString(java.lang.String s) |
java.lang.String |
toString() |
static ArtifactAvailablility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactAvailablility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactAvailablility NOT_PRESENT
public static final ArtifactAvailablility PRESENT
public static final ArtifactAvailablility NOT_AVAILABLE
public static ArtifactAvailablility[] values()
for (ArtifactAvailablility c : ArtifactAvailablility.values()) System.out.println(c);
public static ArtifactAvailablility 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<ArtifactAvailablility>
public static ArtifactAvailablility fromString(java.lang.String s)