public static enum Metadata.Nature extends Enum<Metadata.Nature>
Enum Constant and 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 and Description |
---|---|
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.
|
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(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 nullCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.