public enum ProjectEnvironment extends Enum<ProjectEnvironment>
PRODUCTION which is also environment for all currently existing projects.
Preffer Environment if possible.
| Enum Constant and Description |
|---|
DEVELOPMENT
no meaning yet and behavior is the same as for
PRODUCTION projects |
PRODUCTION
Default value, projects are backed-up and archived.
|
TESTING
'TESTING' projects are not backed-up and archived.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectEnvironment PRODUCTION
public static final ProjectEnvironment DEVELOPMENT
PRODUCTION projectspublic static final ProjectEnvironment TESTING
public static ProjectEnvironment[] values()
for (ProjectEnvironment c : ProjectEnvironment.values()) System.out.println(c);
public static ProjectEnvironment 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 © 2019. All rights reserved.