Class Globals


  • public final class Globals
    extends Object
    This class contains globals constants for the application.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Field Detail

      • APP_NAME_LOWER_CASE

        public static final String APP_NAME_LOWER_CASE
        The name of the application.
      • PARAMETER_PREFIX

        public static final String PARAMETER_PREFIX
        The prefix of the parameters of the application.
      • APP_VERSION_STRING

        public static final String APP_VERSION_STRING
        The version of the application.
      • APP_VERSION

        public static final fr.ens.biologie.genomique.kenetre.util.Version APP_VERSION
        The version of the application.
      • APP_BUILD_NUMBER

        public static final String APP_BUILD_NUMBER
        The built number of the application.
      • APP_BUILD_COMMIT

        public static final String APP_BUILD_COMMIT
        The built commit of the application.
      • APP_BUILD_HOST

        public static final String APP_BUILD_HOST
        The built host of the application.
      • APP_BUILD_DATE

        public static final String APP_BUILD_DATE
        The build date of the application.
      • APP_BUILD_YEAR

        public static final String APP_BUILD_YEAR
        The build year of the application.
      • WELCOME_MSG

        public static final String WELCOME_MSG
        The welcome message.
      • TEMP_PREFIX

        public static final String TEMP_PREFIX
        The prefix for temporary files.
      • LOG_LEVEL

        public static final Level LOG_LEVEL
        The log level of the application.
      • DEBUG

        public static final boolean DEBUG
        Set the debug mode.
      • BYPASS_PLATFORM_CHECKING

        public static final boolean BYPASS_PLATFORM_CHECKING
        Bypass platform checking.
        See Also:
        Constant Field Values
      • MINIMAL_JAVA_VERSION_REQUIRED

        public static final int MINIMAL_JAVA_VERSION_REQUIRED
        Minimal java version required by Eoulsan.
        See Also:
        Constant Field Values
      • AVAILABLE_BINARY_ARCH

        public static final Set<String> AVAILABLE_BINARY_ARCH
        Platforms where the application is available.
      • AVAILABLE_BINARY_ARCH_ALIAS

        public static final Map<String,​String> AVAILABLE_BINARY_ARCH_ALIAS
        Platforms alias.
      • DEFAULT_LOCALE

        public static final Locale DEFAULT_LOCALE
        Default locale of the application.
      • LOG_FORMATTER

        public static final Formatter LOG_FORMATTER
        Format of the log.
      • WEBSITE_URL

        public static final String WEBSITE_URL
        Application Website url.
      • CONTACT_EMAIL

        public static final String CONTACT_EMAIL
        Project email.
      • DISCUSSION_GROUP

        public static final String DISCUSSION_GROUP
        Project discussion group.
      • ABOUT_TXT

        public static final String ABOUT_TXT
        About string, plain text version.
      • STD_OUTPUT_DEFAULT

        public static final boolean STD_OUTPUT_DEFAULT
        Default standard output state.
        See Also:
        Constant Field Values
      • DESIGN_FILE_VERSION

        public static final double DESIGN_FILE_VERSION
        Design file version.
        See Also:
        Constant Field Values
      • LIBS_TO_HADOOP_REPACK_PROPERTY

        public static final String LIBS_TO_HADOOP_REPACK_PROPERTY
        The name of the system property that contains the list of libraries to repack for hadoop mode.
      • LAUNCH_MODE_PROPERTY

        public static final String LAUNCH_MODE_PROPERTY
        Launch mode property.
      • LAUNCH_SCRIPT_PATH

        public static final String LAUNCH_SCRIPT_PATH
        Launch script path.
      • PRINT_STACK_TRACE_DEFAULT

        public static final boolean PRINT_STACK_TRACE_DEFAULT
        Print stack trace default.
      • FASTA_FILE_WIDTH

        public static final int FASTA_FILE_WIDTH
        FASTA file width.
        See Also:
        Constant Field Values
      • OBFUSCATE_DESIGN_DEFAULT

        public static final boolean OBFUSCATE_DESIGN_DEFAULT
        Obfuscate design default.
        See Also:
        Constant Field Values
      • OBFUSCATE_DESIGN_REMOVE_REPLICATE_INFO_DEFAULT

        public static final boolean OBFUSCATE_DESIGN_REMOVE_REPLICATE_INFO_DEFAULT
        Remove design replicate info when obfuscate design default.
        See Also:
        Constant Field Values
      • ZOOKEEPER_DEFAULT_PORT_DEFAULT

        public static final int ZOOKEEPER_DEFAULT_PORT_DEFAULT
        ZooKeeper default port.
        See Also:
        Constant Field Values
      • ZOOKEEPER_SESSION_TIMEOUT_DEFAULT

        public static final int ZOOKEEPER_SESSION_TIMEOUT_DEFAULT
        ZooKeeper default session timeout.
        See Also:
        Constant Field Values
      • USE_OLD_EOULSAN_RESULT_FORMAT_DEFAULT

        public static final boolean USE_OLD_EOULSAN_RESULT_FORMAT_DEFAULT
        Write results using old Eoulsan format.
        See Also:
        Constant Field Values
      • LOG_FILENAME

        public static final String LOG_FILENAME
        Eoulsan log filename.
      • SAVE_WORKFLOW_IMAGE_DEFAULT

        public static final boolean SAVE_WORKFLOW_IMAGE_DEFAULT
        Save workflow image.
        See Also:
        Constant Field Values
      • STANDARD_EXTERNAL_MODULES_ENABLED_DEFAULT

        public static final boolean STANDARD_EXTERNAL_MODULES_ENABLED_DEFAULT
        Enable standard external modules.
        See Also:
        Constant Field Values
      • INTERNET_CHECK_SERVER

        public static final String INTERNET_CHECK_SERVER
        Server name to check internet connection.
        See Also:
        Constant Field Values
      • INTERNET_CHECK_PORT

        public static final int INTERNET_CHECK_PORT
        Port of the server to check internet connection
        See Also:
        Constant Field Values
      • EOULSAN_TOOLS_WEBSITE_URL

        public static final String EOULSAN_TOOLS_WEBSITE_URL
        Eoulsan tools website URL.
        See Also:
        Constant Field Values
      • DEFAULT_CHARSET

        public static final Charset DEFAULT_CHARSET
        Default charset.
      • STEP_RESULT_OLD_FORMAT_EXTENSION

        public static final String STEP_RESULT_OLD_FORMAT_EXTENSION
        Old step result format extension.
        See Also:
        Constant Field Values
      • STEP_OUTPUT_DIRECTORY_SUFFIX

        public static final String STEP_OUTPUT_DIRECTORY_SUFFIX
        Step output directory suffix.
        See Also:
        Constant Field Values
    • Method Detail

      • setDefaultLocale

        public static void setDefaultLocale()
        Set the default Local of the application