public class Environment extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEVELOPMENT |
static String |
ENVIRONMENT |
static String |
ENVIRONMENT_PROPERTIES |
static String |
NOT_SHOW |
static String |
PRODUCTION |
static String |
SHOW |
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInProduction()
Convenience method to determine is the application running in production mode.
|
static boolean |
isShowHelp()
Convenience method to determine is the application help system will be rendered
|
public static final String ENVIRONMENT_PROPERTIES
public static final String ENVIRONMENT
public static final String DEVELOPMENT
public static final String PRODUCTION
public static final String SHOW
public static final String NOT_SHOW
public static boolean isInProduction()
public static boolean isShowHelp()
Copyright © 2014. All Rights Reserved.