Modifier and Type | Field and Description |
---|---|
static String |
ARCHIVE_DATABASE_BASE_DIR |
static String |
ARG_ARC_DB
For giving the optional archive database argument.
|
static String |
ARG_CONFIG_FILE
For giving the configuration file as argument.
|
static String |
ARG_DATABASE_FILE
For giving the optional database file as argument.
|
static String |
ARG_DEFAULT_BUNDLER_ZIP
Optional definition of a default Heritrix3 bundler zip file.
|
static String |
ARG_DEFAULT_HERITRIX3_CERTIFICATE
Optional definition of a default Heritrix3 bundler zip file.
|
static String |
ARG_EVALUATE
For giving the optional evaluation argument.
|
static String |
ARG_INIT_ARG
For initiating a argument.
|
static String |
ARG_JAR_FOLDER
For installing external libraries through deploy.
|
static String |
ARG_NETARCHIVE_SUITE_FILE
For giving the NetarchiveSuite package file as argument.
|
static String |
ARG_OUTPUT_DIRECTORY
For giving the optional output directory as argument.
|
static String |
ARG_RESET
For giving the optional reset directory argument.
|
static String |
ARG_SECURITY_FILE
For giving the security file as argument.
|
static String |
ARG_SLF4J_CONFIG_FILE
For giving the SLF4J xml file as argument.
|
static String |
ARG_SOURCE_ENCODING
Encoding to use for source files.
|
static String |
ARG_TEST
For giving the optional test data.
|
static int |
ARGUMENTS_REQUIRED
The minimum number of arguments required.
|
static String[] |
BASEFILEDIR_SUBDIRECTORIES
Directories to install under baseFileDir.
|
static String |
BUILD_COMPLETE_SETTINGS_FILE_PATH
The path to the complete settings file.
|
static String |
EXTERNAL_JAR_DIRECTORY
The folder for the external jar-files to be copied into.
|
static String |
FILE_TEMPORARY_RUN_WINDOWS_NAME
The name of the temporary run-file for windows.
|
static String |
INIT_ARGUMENTS_LIST
Argument.
|
static String |
MSG_ERROR_BPDB_EXTENSION
The error message for wrong archive database extension.
|
static String |
MSG_ERROR_CONFIG_EXTENSION
The error message for wrong deploy-config file extension.
|
static String |
MSG_ERROR_DATABASE_EXTENSION
The error message for wrong database extension.
|
static String |
MSG_ERROR_DB_KILL_FILE
The error message when the db-kill script cannot be written.
|
static String |
MSG_ERROR_DB_START_FILE
The error message when the db-start script cannot be written.
|
static String |
MSG_ERROR_INVALID_ENVIRONMENT_NAME
The error message when the environment name is invalid.
|
static String |
MSG_ERROR_INVALID_TEST_ENVIRONMENT_NAME
The error message when the environment name for the test instance is invalid.
|
static String |
MSG_ERROR_NETARCHIVESUITE_EXTENSION
The error message for wrong NetarchiveSuite file extension.
|
static String |
MSG_ERROR_NO_BPDB_FILE_FOUND
The error message when archive database file does not exist.
|
static String |
MSG_ERROR_NO_BUNDLER_ZIP_FILE |
static String |
MSG_ERROR_NO_CONFIG_FILE_ARG
The error message when no deploy-config file is given.
|
static String |
MSG_ERROR_NO_CONFIG_FILE_FOUND
The error message when config file does not exist.
|
static String |
MSG_ERROR_NO_DATABASE_FILE_FOUND
The error message when database file does not exist.
|
static String |
MSG_ERROR_NO_HERITRIX3_CERTIFICATE_FILE |
static String |
MSG_ERROR_NO_JAR_FOLDER
The error message when the folder with the external jar-library-files does not exist.
|
static String |
MSG_ERROR_NO_NETARCHIVESUITE_FILE_ARG
The error message when no NetarchiveSuite file is given.
|
static String |
MSG_ERROR_NO_NETARCHIVESUITE_FILE_FOUND
The error message when NetarchiveSuite file does not exist.
|
static String |
MSG_ERROR_NO_SECURITY_FILE_ARG
The error message when no security file is given.
|
static String |
MSG_ERROR_NO_SECURITY_FILE_FOUND
The error message when security file does not exist.
|
static String |
MSG_ERROR_NO_SLF4J_CONFIG_FILE_ARG
The error message when no slf4j log property file is given.
|
static String |
MSG_ERROR_NO_SLF4J_CONFIG_FILE_FOUND
The error message when SLF4J config file does not exist.
|
static String |
MSG_ERROR_NOT_ENOUGH_ARGUMENTS
The error message when not enough arguments are given.
|
static String |
MSG_ERROR_PARSE_ARGUMENTS
The error message for error in parsing the arguments.
|
static String |
MSG_ERROR_PHYSICAL_LOCATION_NO_NAME
The error message when a physical location has no name attribute.
|
static String |
MSG_ERROR_RESET_ARGUMENT
The error message when reset directory has wrong argument.
|
static String |
MSG_ERROR_RESTART_FILE
The error message when the restart script cannot be written.
|
static String |
MSG_ERROR_SECURITY_EXTENSION
The error message for wrong security file extension.
|
static String |
MSG_ERROR_SLF4J_CONFIG_EXTENSION
The error message for wrong SLF4J config file extension.
|
static String |
MSG_ERROR_TEST_ARGUMENTS
The error message when test wrong number of test arguments.
|
static String |
MSG_ERROR_TEST_OFFSET
The error message when offset value are too different from httpport.
|
static String |
MSG_ERROR_TOO_MANY_ARGUMENTS
The error message when too many arguments are given.
|
static String |
MSG_ERROR_WAIT_FILE
The error message when the wait script file cannot be written.
|
static String |
MSG_ERROR_ZIP_CANNONICAL_PATH
The error message when IOException during cannocial path of zip file.
|
static String |
MSG_WARN_TOO_MANY_JMXREMOTE_FILE_PATHS
The warning when more than one jmxremote.access or jmxremote.password file path is defined.
|
static String |
MSG_WARN_ZIPFILE_ALREADY_EXISTS
The warning when the NetarchiveSuite file will be overridden, since another file with same name exists.
|
static String |
NO_LONG
The long no argument.
|
static String |
NO_SHORT
The short no argument.
|
static String |
REGEX_BACKSLASH_CHARACTER
Regular expression for finding the '/' character.
|
static String |
REGEX_COMMA_CHARACTER
Regular expression for finding the ',' character.
|
static String |
REGEX_DOT_CHARACTER
Regular expression for finding the '.' character.
|
static String |
REGEX_SLASH_CHARACTER
Regular expression for finding the '/' character.
|
static int |
TEST_ARGUMENTS_REQUIRED
The exact number of arguments required for test.
|
static int |
TEST_OFFSET_INTEGER_MAXIMUM_VALUE
The maximum integer value in a character.
|
static String |
VALID_REGEX_ENVIRONMENT_NAME
The regular expression for validating the environment name.
|
static int |
WAIT_TIME_DURING_RESTART
The amount of seconds to wait for the restart script.
|
static String |
YES_LONG
The long yes argument.
|
static String |
YES_SHORT
The short yes argument.
|
Modifier and Type | Method and Description |
---|---|
static String |
changeToXMLBeginScope(String scope)
Create the beginning of a scope in XML (e.g.
|
static String |
changeToXMLEndScope(String scope)
Create the ending of a scope in XML (e.g.
|
static boolean |
validEnvironmentName(String name)
Checks whether a string is valid for environment name.
|
public static final int WAIT_TIME_DURING_RESTART
public static final int ARGUMENTS_REQUIRED
public static final int TEST_ARGUMENTS_REQUIRED
public static final int TEST_OFFSET_INTEGER_MAXIMUM_VALUE
public static final String[] BASEFILEDIR_SUBDIRECTORIES
public static final String ARCHIVE_DATABASE_BASE_DIR
public static final String BUILD_COMPLETE_SETTINGS_FILE_PATH
public static final String FILE_TEMPORARY_RUN_WINDOWS_NAME
public static final String ARG_INIT_ARG
public static final String ARG_CONFIG_FILE
public static final String ARG_NETARCHIVE_SUITE_FILE
public static final String ARG_SECURITY_FILE
public static final String ARG_SLF4J_CONFIG_FILE
public static final String ARG_OUTPUT_DIRECTORY
public static final String ARG_DATABASE_FILE
public static final String ARG_TEST
public static final String ARG_RESET
public static final String ARG_EVALUATE
public static final String ARG_ARC_DB
public static final String ARG_JAR_FOLDER
public static final String ARG_DEFAULT_BUNDLER_ZIP
public static final String ARG_DEFAULT_HERITRIX3_CERTIFICATE
public static final String ARG_SOURCE_ENCODING
public static final String YES_LONG
public static final String YES_SHORT
public static final String NO_LONG
public static final String NO_SHORT
public static final String REGEX_DOT_CHARACTER
public static final String REGEX_COMMA_CHARACTER
public static final String REGEX_SLASH_CHARACTER
public static final String REGEX_BACKSLASH_CHARACTER
public static final String INIT_ARGUMENTS_LIST
public static final String VALID_REGEX_ENVIRONMENT_NAME
public static final String EXTERNAL_JAR_DIRECTORY
public static final String MSG_ERROR_PARSE_ARGUMENTS
public static final String MSG_ERROR_TOO_MANY_ARGUMENTS
public static final String MSG_ERROR_NOT_ENOUGH_ARGUMENTS
public static final String MSG_ERROR_NO_CONFIG_FILE_ARG
public static final String MSG_ERROR_NO_NETARCHIVESUITE_FILE_ARG
public static final String MSG_ERROR_NO_SECURITY_FILE_ARG
public static final String MSG_ERROR_NO_SLF4J_CONFIG_FILE_ARG
public static final String MSG_ERROR_NO_CONFIG_FILE_FOUND
public static final String MSG_ERROR_NO_NETARCHIVESUITE_FILE_FOUND
public static final String MSG_ERROR_NO_SECURITY_FILE_FOUND
public static final String MSG_ERROR_NO_SLF4J_CONFIG_FILE_FOUND
public static final String MSG_ERROR_NO_DATABASE_FILE_FOUND
public static final String MSG_ERROR_NO_BPDB_FILE_FOUND
public static final String MSG_ERROR_NO_JAR_FOLDER
public static final String MSG_ERROR_NO_BUNDLER_ZIP_FILE
public static final String MSG_ERROR_NO_HERITRIX3_CERTIFICATE_FILE
public static final String MSG_ERROR_CONFIG_EXTENSION
public static final String MSG_ERROR_NETARCHIVESUITE_EXTENSION
public static final String MSG_ERROR_SECURITY_EXTENSION
public static final String MSG_ERROR_SLF4J_CONFIG_EXTENSION
public static final String MSG_ERROR_DATABASE_EXTENSION
public static final String MSG_ERROR_BPDB_EXTENSION
public static final String MSG_ERROR_TEST_ARGUMENTS
public static final String MSG_ERROR_TEST_OFFSET
public static final String MSG_ERROR_RESET_ARGUMENT
public static final String MSG_ERROR_PHYSICAL_LOCATION_NO_NAME
public static final String MSG_ERROR_ZIP_CANNONICAL_PATH
public static final String MSG_ERROR_INVALID_TEST_ENVIRONMENT_NAME
public static final String MSG_ERROR_INVALID_ENVIRONMENT_NAME
public static final String MSG_ERROR_WAIT_FILE
public static final String MSG_ERROR_RESTART_FILE
public static final String MSG_ERROR_DB_START_FILE
public static final String MSG_ERROR_DB_KILL_FILE
public static final String MSG_WARN_TOO_MANY_JMXREMOTE_FILE_PATHS
public static final String MSG_WARN_ZIPFILE_ALREADY_EXISTS
public static String changeToXMLBeginScope(String scope) throws ArgumentNotValid
scope
- The name of the XML-scope to have the start created.ArgumentNotValid
- If the scope is null or empty.public static String changeToXMLEndScope(String scope) throws ArgumentNotValid
scope
- The name of the XML-scope to have the end created.ArgumentNotValid
- If the scope is null or empty.public static boolean validEnvironmentName(String name) throws ArgumentNotValid
name
- The environment name to validate.ArgumentNotValid
- If the name is null or empty.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.