public enum QualityEnum extends Enum<QualityEnum>
Enum Constant and Description |
---|
alpha |
beta |
release |
snapshot |
unknown |
Modifier and Type | Field and Description |
---|---|
static QualityEnum |
DEFAULT_QUALITY |
Modifier and Type | Method and Description |
---|---|
static QualityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QualityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QualityEnum unknown
public static final QualityEnum snapshot
public static final QualityEnum alpha
public static final QualityEnum beta
public static final QualityEnum release
public static final QualityEnum DEFAULT_QUALITY
public static QualityEnum[] values()
for (QualityEnum c : QualityEnum.values()) System.out.println(c);
public static QualityEnum 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 © 2002-2013 The Apache Software Foundation. All Rights Reserved.