Class Configuration


  • public final class Configuration
    extends Object
    Configurations.
    • Field Detail

      • GLOBALPROPS_PATH

        public static final String GLOBALPROPS_PATH
        Defines the file where global properties can be defined.
      • GLOBALPROPS_ENV

        public static final String GLOBALPROPS_ENV
        Environment variable where configuration file can be specified.
        See Also:
        Constant Field Values
      • mockTesting

        public static boolean mockTesting
        Indicates if we are doing a mock test.
      • mockTestingCompss

        public static boolean mockTestingCompss
        Indicates if we are doing a mock test using COMPSs.
      • DATE_FORMAT_STR

        public 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

      • getFlagsInString

        public static String getFlagsInString()
        Get the properties' flags in a string.
        Returns:
        A string, empty if there are no flags.
      • isDebugEnabled

        public static boolean isDebugEnabled()
        Return whether the DEBUG level in the logging is enabled.
        Returns:
        True if Log4J has debug enables.