Package es.bsc.dataclay.util
Class Configuration
- java.lang.Object
- 
- es.bsc.dataclay.util.Configuration
 
- 
 public final class Configuration extends Object Configurations.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classConfiguration.ConfTypeType of configuration values.static classConfiguration.FlagsConfigurations enum.
 - 
Field SummaryFields Modifier and Type Field Description static StringDATE_FORMAT_STRFormat for date parsing.static StringGLOBALPROPS_ENVEnvironment variable where configuration file can be specified.static StringGLOBALPROPS_PATHDefines the file where global properties can be defined.static booleanmockTestingIndicates if we are doing a mock test.static booleanmockTestingCompssIndicates if we are doing a mock test using COMPSs.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetFlagsInString()Get the properties' flags in a string.static booleanisDebugEnabled()Return whether the DEBUG level in the logging is enabled.
 
- 
- 
- 
Field Detail- 
GLOBALPROPS_PATHpublic static final String GLOBALPROPS_PATH Defines the file where global properties can be defined.
 - 
GLOBALPROPS_ENVpublic static final String GLOBALPROPS_ENV Environment variable where configuration file can be specified.- See Also:
- Constant Field Values
 
 - 
mockTestingpublic static boolean mockTesting Indicates if we are doing a mock test.
 - 
mockTestingCompsspublic static boolean mockTestingCompss Indicates if we are doing a mock test using COMPSs.
 - 
DATE_FORMAT_STRpublic static final String DATE_FORMAT_STR Format for date parsing. Can be used also in Yaml (see MockSimple).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getFlagsInStringpublic static String getFlagsInString() Get the properties' flags in a string.- Returns:
- A string, empty if there are no flags.
 
 - 
isDebugEnabledpublic static boolean isDebugEnabled() Return whether the DEBUG level in the logging is enabled.- Returns:
- True if Log4J has debug enables.
 
 
- 
 
-