RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.util
Class Environment

java.lang.Object
  extended by org.richfaces.photoalbum.util.Environment

public class Environment
extends Object


Field Summary
static String DEVELOPMENT
           
static String ENVIRONMENT
           
static String ENVIRONMENT_PROPERTIES
           
static String NOT_SHOW
           
static String PRODUCTION
           
static String SHOW
           
 
Constructor Summary
Environment()
           
 
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
 

Field Detail

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
Constructor Detail

Environment

public Environment()
Method Detail

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

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.