public enum ArtifactAvailability extends 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 | Method and Description |
|---|---|
static ArtifactAvailability |
fromString(String s) |
String |
toString() |
static ArtifactAvailability |
valueOf(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(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<ArtifactAvailability>public static ArtifactAvailability fromString(String s)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.