| Package | Description |
|---|---|
| com.foreach.common.spring.context |
This package contains classes which holds information about given application
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationEnvironment |
ApplicationContextInfo.getEnvironment()
Deprecated.
|
static ApplicationEnvironment |
ApplicationEnvironment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationEnvironment[] |
ApplicationEnvironment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ApplicationContextInfo.isRunningIn(ApplicationEnvironment environmentToCheck)
Method to check whether the current application is running in given mode.
|
void |
ApplicationContextInfo.setEnvironment(ApplicationEnvironment environment)
Specify a
ApplicationEnvironment enum for the current environment, the specified enum should be one of ApplicationEnvironment |
Copyright © 2017. All rights reserved.