public enum ArtifactAvailablility extends 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 | Method and Description |
---|---|
static ArtifactAvailablility |
fromString(String s) |
String |
toString() |
static ArtifactAvailablility |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ArtifactAvailablility>
public static ArtifactAvailablility fromString(String s)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.