public static enum Status.Stage extends Enum<Status.Stage>
Enum Constant and Description |
---|
DEVELOPMENT
Development.
|
PRODUCTION
Production.
|
TEST
Test.
|
Modifier and Type | Method and Description |
---|---|
static Status.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.Stage DEVELOPMENT
public static final Status.Stage TEST
public static final Status.Stage PRODUCTION
public static Status.Stage[] values()
for (Status.Stage c : Status.Stage.values()) System.out.println(c);
public static Status.Stage 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 © 2008–2018. All rights reserved.