org.richfaces.photoalbum.util
Class Environment
java.lang.Object
org.richfaces.photoalbum.util.Environment
public class Environment
- extends Object
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENVIRONMENT_PROPERTIES
public static final String ENVIRONMENT_PROPERTIES
- See Also:
- Constant Field Values
ENVIRONMENT
public static final String ENVIRONMENT
- See Also:
- Constant Field Values
DEVELOPMENT
public static final String DEVELOPMENT
- See Also:
- Constant Field Values
PRODUCTION
public static final String PRODUCTION
- See Also:
- Constant Field Values
SHOW
public static final String SHOW
- See Also:
- Constant Field Values
NOT_SHOW
public static final String NOT_SHOW
- See Also:
- Constant Field Values
Environment
public Environment()
isInProduction
public static boolean isInProduction()
- Convenience method to determine is the application running in production mode.
- Returns:
- true if application running in production mode
isShowHelp
public static boolean isShowHelp()
- Convenience method to determine is the application help system will be rendered
- Returns:
- true if the application help system need to be rendered
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.