Package | Description |
---|---|
griffon.core.env |
Environment and lifecycle support.
|
Modifier and Type | Method and Description |
---|---|
static Environment |
Environment.getCurrent()
Returns the current environment which is typically either DEVELOPMENT, PRODUCTION or TEST.
|
static Environment |
Environment.getEnvironment(String shortName)
Returns the environment for the given short name
|
static Environment |
Environment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Environment[] |
Environment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|