|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Metadata.Nature>
org.sonatype.aether.metadata.Metadata.Nature
public static enum Metadata.Nature
The nature of the metadata.
| Enum Constant Summary | |
|---|---|
RELEASE
The metadata refers to release artifacts only. |
|
RELEASE_OR_SNAPSHOT
The metadata refers to either release or snapshot artifacts. |
|
SNAPSHOT
The metadata refers to snapshot artifacts only. |
|
| Method Summary | |
|---|---|
static Metadata.Nature |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Metadata.Nature[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Metadata.Nature RELEASE
public static final Metadata.Nature SNAPSHOT
public static final Metadata.Nature RELEASE_OR_SNAPSHOT
| Method Detail |
|---|
public static Metadata.Nature[] values()
for (Metadata.Nature c : Metadata.Nature.values()) System.out.println(c);
public static Metadata.Nature valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||