public static enum Metadata.Nature extends java.lang.Enum<Metadata.Nature>
| Enum Constant | Description |
|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Metadata.Nature |
valueOf(java.lang.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.
|
public static final Metadata.Nature RELEASE
public static final Metadata.Nature SNAPSHOT
public static final Metadata.Nature RELEASE_OR_SNAPSHOT
public static Metadata.Nature[] values()
for (Metadata.Nature c : Metadata.Nature.values()) System.out.println(c);
public static Metadata.Nature 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 null