dk.netarkivet.deploy
Class Constants

java.lang.Object
  extended by dk.netarkivet.deploy.Constants

public final class Constants
extends java.lang.Object

Class containing the constant variables. SETTINGS_ = path to branches from the settings branch. COMPLETE_ = path from beyond the settings branch.


Field Summary
(package private) static java.lang.String APOSTROPHE
          Apostrophe.
(package private) static java.lang.String APPLICATION_NAME_ATTRIBUTE
          The path to name in a application instance.
(package private) static java.lang.String ARCHIVE_DATABASE_BASE_FILE
          The name of the archive database in the database base dir above.
(package private) static java.lang.String ARCHIVE_DATABASE_BASE_PATH
          The path to the base archive database (the one above combined with the base database dir).
static java.lang.String ARG_ARC_DB
          For giving the optional archive database argument.
static java.lang.String ARG_CONFIG_FILE
          For giving the configuration file as argument.
static java.lang.String ARG_DATABASE_FILE
          For giving the optional database file as argument.
static java.lang.String ARG_EVALUATE
          For giving the optional evaluation argument.
static java.lang.String ARG_INIT_ARG
          For initiating a argument.
static java.lang.String ARG_JAR_FOLDER
          For installing external libraries through deploy.
static java.lang.String ARG_LOG_PROPERTY_FILE
          For giving the log property file as argument.
static java.lang.String ARG_NETARCHIVE_SUITE_FILE
          For giving the NetarchiveSuite package file as argument.
static java.lang.String ARG_OUTPUT_DIRECTORY
          For giving the optional output directory as argument.
static java.lang.String ARG_RESET
          For giving the optional reset directory argument.
static java.lang.String ARG_SECURITY_FILE
          For giving the security file as argument.
static java.lang.String ARG_TEST
          For giving the optional test data.
static int ARGUMENTS_REQUIRED
          The minimum number of arguments required.
(package private) static java.lang.String AT
          The at '@' character as a string.
(package private) static java.lang.String BACKSLASH
          BackSlash: '\\'.
static java.lang.String[] BASEFILEDIR_SUBDIRECTORIES
          Directories to install under baseFileDir.
(package private) static java.lang.String BRACKET_BEGIN
          ( - To start a standard bracket.
(package private) static java.lang.String BRACKET_END
          ) - To end a standard bracket.
static java.lang.String BUILD_COMPLETE_SETTINGS_FILE_PATH
          The path to the complete settings file.
(package private) static java.lang.String[] BUILD_SETTING_FILES
          Complete list of settings files to combine to complete settings file.
(package private) static java.lang.String COLON
          Colon: ':'.
(package private) static java.lang.String[] COMPLETE_APPLICATION_NAME_LEAF
          The path to applicationName from beyond settings.
(package private) static java.lang.String[] COMPLETE_ARCHIVE_DATABASE_PORT
          The path to the archive database port leaf from beyond settings.
(package private) static java.lang.String[] COMPLETE_ENVIRONMENT_NAME_LEAF
          The total path to the environment name from an entity branch.
(package private) static java.lang.String[] COMPLETE_HARVEST_DATABASE_PORT
          The path to the harvest database port leaf from beyond settings.
(package private) static java.lang.String[] COMPLETE_HARVEST_HERITRIX_GUI_PORT_PATH
          The path to the heritrix guiPort from beyond settings.
(package private) static java.lang.String[] COMPLETE_HARVEST_HERITRIX_JMX_PORT
          The path to the heritrix jmxPort from beyond settings.
(package private) static java.lang.String[] COMPLETE_HTTP_PORT_LEAF
          The complete path to the port leaf from beyond settings.
(package private) static java.lang.String[] COMPLETE_JMX_PORT_PATH
          The path to the jmxPort leaf from beyond settings.
(package private) static java.lang.String[] COMPLETE_JMX_RMIPORT_PATH
          The path to the rmiPort leaf from beyond settings.
(package private) static java.lang.String COMPLETE_SETTINGS_BRANCH
          Path to the Settings branch.
(package private) static java.lang.String[] COMPLETE_THIS_PHYSICAL_LOCATION_LEAF
          The path to thisPhysicalLocation from settings.
(package private) static java.lang.String CONF_DIR_LINUX
          The config directory path from install directory.
(package private) static java.lang.String CONF_DIR_WINDOWS
          The config directory path from install directory.
(package private) static java.lang.String DASH
          Dash: '-'.
(package private) static java.lang.String DATABASE_BASE_DIR
          The directory for the database in the unpacked NetarchiveSuite.
(package private) static java.lang.String DATABASE_BASE_FILE
          The name of the database in the directory above.
(package private) static java.lang.String DATABASE_BASE_PATH
          The path to the base database (the two above combined).
(package private) static java.lang.String[] DATABASE_URL_SETTING_LEAF_PATH
          The path to the database directory from the settings branch.
(package private) static java.lang.String DEPLOY_APPLICATION_NAME
          The path to applications from a machine.
(package private) static java.lang.String DEPLOY_ARCHIVE_DATABASE_DIR
          The path to the directory for the archive database.
(package private) static java.lang.String DEPLOY_CLASS_PATH
          The path to the class path branches.
(package private) static java.lang.String DEPLOY_HARVEST_DATABASE_DIR
          The path to the directory for the database.
(package private) static java.lang.String DEPLOY_INSTALL_DIR
          The path to the optional installation directory.
(package private) static java.lang.String DEPLOY_JAVA_OPTIONS
          The path to the java option branches.
(package private) static java.lang.String DEPLOY_MACHINE
          The path to machines from a physical location.
(package private) static java.lang.String DEPLOY_MACHINE_USER_NAME
          The path to the machine user name.
(package private) static java.lang.String DEPLOY_PHYSICAL_LOCATION
          The path to physical locations in from the global scope.
(package private) static java.lang.String DOLLAR_SIGN
          $ - Dollar sign.
(package private) static java.lang.String DOT
          Dot: '.'.
(package private) static java.lang.String EMPTY
          The empty string, "".
(package private) static java.lang.String EXTENSION_JAR_FILES
          The extension on jar files.
(package private) static java.lang.String EXTENSION_LOG_FILES
          The extension on log files.
(package private) static java.lang.String EXTENSION_LOG_PROPERTY_FILES
          The extension on property files.
(package private) static java.lang.String EXTENSION_POLICY_FILES
          The extension on policy files.
(package private) static java.lang.String EXTENSION_VBS_FILES
          The extension on vb-script files.
(package private) static java.lang.String EXTENSION_XML_FILES
          The extension on XML files.
(package private) static java.lang.String EXTENSION_ZIP_FILES
          The extension on zip files.
static java.lang.String EXTERNAL_JAR_DIRECTORY
          The folder for the external jar-files to be copied into.
static java.lang.String FILE_TEMPORARY_RUN_WINDOWS_NAME
          The name of the temporary run-file for windows.
(package private) static java.lang.String GREATER_THAN
          Greater than (suffix for XML).
static java.lang.String INIT_ARGUMENTS_LIST
          Argument.
(package private) static java.lang.String JMX_ACCESS_FILE_NAME
          The name of the JMX remote access file.
(package private) static java.lang.String JMX_ACCESS_FILE_PATH_DEFAULT
          The default path to the jmxremote.access file.
(package private) static java.lang.String JMX_PASSWORD_FILE_NAME
          The name of the JMX remote password file.
(package private) static java.lang.String JMX_PASSWORD_FILE_PATH_DEFAULT
          The default path to the jmxremote.password file.
(package private) static java.lang.String LESS_THAN
          Less than (prefix for XML).
(package private) static java.lang.String LOG_PREFIX
          Log property prefix.
(package private) static java.lang.String LOG_PROP_APPLICATION_PREFIX
          The prefix for the log property file for the application.
(package private) static java.lang.String LOG_PROP_APPLICATION_SUFFIX
          The suffix for the log property file for the application.
(package private) static java.lang.String LOG_PROPERTY_APPLICATION_ID_TAG
          The name of the application id in the log.prop file.
(package private) static java.lang.String MACHINE_NAME_ATTRIBUTE
          The path to name in a machine instance.
(package private) static java.lang.String MACHINE_OPERATING_SYSTEM_ATTRIBUTE
          The path to the operating system variable.
static java.lang.String MSG_ERROR_BPDB_EXTENSION
          The error message for wrong archive database extension.
static java.lang.String MSG_ERROR_CONFIG_EXTENSION
          The error message for wrong deploy-config file extension.
static java.lang.String MSG_ERROR_DATABASE_EXTENSION
          The error message for wrong database extension.
static java.lang.String MSG_ERROR_DB_KILL_FILE
          The error message when the db-kill script cannot be written.
static java.lang.String MSG_ERROR_DB_START_FILE
          The error message when the db-start script cannot be written.
static java.lang.String MSG_ERROR_INVALID_ENVIRONMENT_NAME
          The error message when the environment name is invalid.
static java.lang.String MSG_ERROR_INVALID_TEST_ENVIRONMENT_NAME
          The error message when the environment name for the test instance is invalid.
static java.lang.String MSG_ERROR_LOG_PROPERTY_EXTENSION
          The error message for wrong log property file extension.
static java.lang.String MSG_ERROR_NETARCHIVESUITE_EXTENSION
          The error message for wrong NetarchiveSuite file extension.
static java.lang.String MSG_ERROR_NO_BPDB_FILE_FOUND
          The error message when archive database file does not exist.
static java.lang.String MSG_ERROR_NO_CONFIG_FILE_ARG
          The error message when no deploy-config file is given.
static java.lang.String MSG_ERROR_NO_CONFIG_FILE_FOUND
          The error message when config file does not exist.
static java.lang.String MSG_ERROR_NO_DATABASE_FILE_FOUND
          The error message when database file does not exist.
static java.lang.String MSG_ERROR_NO_JAR_FOLDER
          The error message when the folder with the external jar-library-files does not exist.
static java.lang.String MSG_ERROR_NO_LOG_PROPERTY_FILE_ARG
          The error message when no log property file is given.
static java.lang.String MSG_ERROR_NO_LOG_PROPERTY_FILE_FOUND
          The error message when log property file does not exist.
static java.lang.String MSG_ERROR_NO_NETARCHIVESUITE_FILE_ARG
          The error message when no NetarchiveSuite file is given.
static java.lang.String MSG_ERROR_NO_NETARCHIVESUITE_FILE_FOUND
          The error message when NetarchiveSuite file does not exist.
static java.lang.String MSG_ERROR_NO_SECURITY_FILE_ARG
          The error message when no security file is given.
static java.lang.String MSG_ERROR_NO_SECURITY_FILE_FOUND
          The error message when security file does not exist.
static java.lang.String MSG_ERROR_NOT_ENOUGH_ARGUMENTS
          The error message when not enough arguments are given.
static java.lang.String MSG_ERROR_PARSE_ARGUMENTS
          The error message for error in parsing the arguments.
static java.lang.String MSG_ERROR_PHYSICAL_LOCATION_NO_NAME
          The error message when a physical location has no name attribute.
static java.lang.String MSG_ERROR_RESET_ARGUMENT
          The error message when reset directory has wrong argument.
static java.lang.String MSG_ERROR_RESTART_FILE
          The error message when the restart script cannot be written.
static java.lang.String MSG_ERROR_SECURITY_EXTENSION
          The error message for wrong security file extension.
static java.lang.String MSG_ERROR_TEST_ARGUMENTS
          The error message when test wrong number of test arguments.
static java.lang.String MSG_ERROR_TEST_OFFSET
          The error message when offset value are too different from httpport.
static java.lang.String MSG_ERROR_TOO_MANY_ARGUMENTS
          The error message when too many arguments are given.
static java.lang.String MSG_ERROR_WAIT_FILE
          The error message when the wait script file cannot be written.
static java.lang.String MSG_ERROR_ZIP_CANNONICAL_PATH
          The error message when IOException during cannocial path of zip file.
static java.lang.String MSG_WARN_TOO_MANY_JMXREMOTE_FILE_PATHS
          The warning when more than one jmxremote.access or jmxremote.password file path is defined.
static java.lang.String MSG_WARN_ZIPFILE_ALREADY_EXISTS
          The warning when the NetarchiveSuite file cannot be copied, since another file with same name exists.
(package private) static java.lang.String NEWLINE
          The newline character as a string.
static java.lang.String NO_LONG
          The long no argument.
static java.lang.String NO_SHORT
          The short no argument.
(package private) static java.lang.String OPERATING_SYSTEM_LINUX_ATTRIBUTE
          The operating system attribute for linux/unix.
(package private) static java.lang.String OPERATING_SYSTEM_WINDOWS_ATTRIBUTE
          The operating system attribute for windows.
(package private) static java.lang.String PHYSICAL_LOCATION_NAME_ATTRIBUTE
          The path to name in a physical location instance.
(package private) static java.lang.String PREFIX_SETTINGS
          The prefix of the name for application specific settings files.
(package private) static java.lang.String QUOTE_MARK
          Quote mark.
static java.lang.String REGEX_BACKSLASH_CHARACTER
          Regular expression for finding the '/' character.
static java.lang.String REGEX_COMMA_CHARACTER
          Regular expression for finding the ',' character.
static java.lang.String REGEX_DOT_CHARACTER
          Regular expression for finding the '.' character.
static java.lang.String REGEX_SLASH_CHARACTER
          Regular expression for finding the '/' character.
(package private) static java.lang.String SCRIPT_EXTENSION_LINUX
          The script extension for Linux/Unix.
(package private) static java.lang.String SCRIPT_EXTENSION_WINDOWS
          The script extension for Windows.
(package private) static java.lang.String SCRIPT_KILL_PS
          Prefix for the application kill_ps script.
(package private) static java.lang.String SCRIPT_NAME_ADMIN_DB_KILL
          The name of the admin database kill script.
(package private) static java.lang.String SCRIPT_NAME_ADMIN_DB_START
          The name of the admin database start script.
(package private) static java.lang.String SCRIPT_NAME_HARVEST_DB_KILL
          The name of the admin database kill script.
(package private) static java.lang.String SCRIPT_NAME_HARVEST_DB_START
          The name of the admin database start script.
(package private) static java.lang.String SCRIPT_NAME_INSTALL_ALL
          The name of the install script.
(package private) static java.lang.String SCRIPT_NAME_KILL_ALL
          The name of the killall script.
(package private) static java.lang.String SCRIPT_NAME_LOCAL_KILL
          Prefix for the application kill script.
(package private) static java.lang.String SCRIPT_NAME_LOCAL_START
          Prefix for the application start script.
(package private) static java.lang.String SCRIPT_NAME_RESTART
          The name of the restart all application script.
(package private) static java.lang.String SCRIPT_NAME_START_ALL
          The name of the startall script.
(package private) static java.lang.String SCRIPT_NAME_WAIT
          The name of the wait script for windows.
(package private) static java.lang.String SECURITY_COMMON_TEMP_DIR_TAG
          The name of the common temp dir tag in the security policy file.
(package private) static java.lang.String SECURITY_FILE_DIR_TAG
          The attachment for the file dir in the security policy file.
(package private) static java.lang.String SECURITY_JMX_PRINCIPAL_NAME_TAG
          The name of the jmx principal name tag in the security file.
(package private) static java.lang.String SECURITY_POLICY_FILE_NAME
          The name of the security policy file.
(package private) static java.lang.String SEMICOLON
          Semicolon: ';'.
(package private) static java.lang.String SEPARATOR
          | - Separator.
(package private) static java.lang.String[] SETTINGS_APPLICATION_INSTANCE_ID_LEAF
          The path to the application instance id leaf from settings.
(package private) static java.lang.String[] SETTINGS_ARCHIVE_ARC_BASEDIR_LEAF
          The path to the arcrepository base dir leaf from settings.
(package private) static java.lang.String[] SETTINGS_ARCHIVE_BP_BASEDIR_LEAF
          The path to the bitpreservation base dir leaf from settings.
(package private) static java.lang.String[] SETTINGS_ARCHIVE_DATABASE_PORT
          The path to the archive database port leaf from settings.
(package private) static java.lang.String[] SETTINGS_BITARCHIVE_BASEFILEDIR_LEAF
          The path to the fileDir branch from settings.
(package private) static java.lang.String[] SETTINGS_COMMON_JMX_ACCESSFILE
          The path to the jmx accessFile leaf from settings.
(package private) static java.lang.String[] SETTINGS_COMMON_JMX_PASSWORDFILE
          The path to the jmx passwordFile leaf from settings.
(package private) static java.lang.String[] SETTINGS_ENVIRONMENT_NAME_LEAF
          The path to the environment name from the settings branch.
(package private) static java.lang.String[] SETTINGS_HARVEST_DATABASE_PORT
          The path to the harvest database port leaf from settings.
(package private) static java.lang.String[] SETTINGS_HARVEST_HERITRIX_JMX_PORT
          The path to the heritrix jmxPort from the settings branch.
(package private) static java.lang.String[] SETTINGS_HARVEST_SERVERDIR_LEAF
          The path to the serverDir leaf from settings.
(package private) static java.lang.String[] SETTINGS_HERITRIX_JMX_PASSWORD_LEAF
          The path to the jmxPassword under heritrix from settings.
(package private) static java.lang.String[] SETTINGS_HERITRIX_JMX_USERNAME_LEAF
          The path to the jmxUsername under heritrix from settings.
(package private) static java.lang.String[] SETTINGS_MONITOR_JMX_NAME_LEAF
          The path from monitor to the jmxUsername leaf.
(package private) static java.lang.String[] SETTINGS_MONITOR_JMX_PASSWORD_LEAF
          The path from monitor to the jmxPassword leaf.
(package private) static java.lang.String[] SETTINGS_NOTIFICATION_RECEIVER_PATH
          The complete path to the receiver leaf from beyond settings.
(package private) static java.lang.String SETTINGS_PREFIX
          Settings prefix.
(package private) static java.lang.String[] SETTINGS_TEMPDIR_LEAF
          The path to the tempDir leaf from settings.
(package private) static java.lang.String[] SETTINGS_VIEWERPROXY_BASEDIR_LEAF
          The path to the viewer proxy base dir leaf from settings.
(package private) static java.lang.String SLASH
          Slash, Linux/Unix directory path separator.
(package private) static java.lang.String SPACE
          The space character as a string.
(package private) static java.lang.String SQUARE_BRACKET_BEGIN
          [ - To start a square bracket.
(package private) static java.lang.String SQUARE_BRACKET_END
          ] - To end a square bracket.
(package private) static java.lang.String STAR
          - Star.
(package private) static int TEST_ARGUMENT_ENVIRONMENT_NAME_INDEX
          The index of the environment name part of the test argument.
(package private) static int TEST_ARGUMENT_HTTP_INDEX
          The index of the http part of the test argument.
(package private) static int TEST_ARGUMENT_MAIL_INDEX
          The index of the mail part of the test argument.
(package private) static int TEST_ARGUMENT_OFFSET_INDEX
          The index of the offset part of the test argument.
static int TEST_ARGUMENTS_REQUIRED
          The exact number of arguments required for test.
(package private) static java.lang.String TEST_CONFIG_FILE_REPLACE_ENDING
          The name of the new modified configuration file for tests.
(package private) static int TEST_OFFSET_ARCHIVE_DB_URL_PORT
          The offset for the digit to replace during test of the port in the archive database url.
(package private) static int TEST_OFFSET_HARVEST_DB_URL_PORT
          The offset for the digit to replace during test of the port in the harvest database url.
(package private) static int TEST_OFFSET_HERITRIX_GUI_PORT
          The offset for the digit to replace during test in the heritrix gui port.
(package private) static int TEST_OFFSET_HERITRIX_JMX_PORT
          The offset for the digit to replace during test in the heritrix jmx port.
static int TEST_OFFSET_INTEGER_MAXIMUM_VALUE
          The maximum integer value in a character.
(package private) static int TEST_OFFSET_MONITOR_JMX_PORT
          The offset for the digit to replace during test in the monitor jmx port.
(package private) static int TEST_OFFSET_MONITOR_RMI_PORT
          The offset for the digit to replace during test in the monitor rmi port.
(package private) static int TIME_SECOND_IN_MILLISECONDS
          The number of milliseconds on a second.
(package private) static java.lang.String UNDERSCORE
          The underscore '_' character as a string.
static java.lang.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.
(package private) static java.lang.String WINDOWS_DIR_CREATE_PREFIX
          Windows directory creation script prefix.
static java.lang.String YES_LONG
          The long yes argument.
static java.lang.String YES_SHORT
          The short yes argument.
 
Method Summary
static java.lang.String changeToXMLBeginScope(java.lang.String scope)
          Create the beginning of a scope in XML (e.g.
static java.lang.String changeToXMLEndScope(java.lang.String scope)
          Create the ending of a scope in XML (e.g.
static boolean validEnvironmentName(java.lang.String name)
          Checks whether a string is valid for environment name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

static final java.lang.String EMPTY
The empty string, "".

See Also:
Constant Field Values

NEWLINE

static final java.lang.String NEWLINE
The newline character as a string.

See Also:
Constant Field Values

QUOTE_MARK

static final java.lang.String QUOTE_MARK
Quote mark.

See Also:
Constant Field Values

APOSTROPHE

static final java.lang.String APOSTROPHE
Apostrophe.

See Also:
Constant Field Values

SPACE

static final java.lang.String SPACE
The space character as a string.

See Also:
Constant Field Values

AT

static final java.lang.String AT
The at '@' character as a string.

See Also:
Constant Field Values

UNDERSCORE

static final java.lang.String UNDERSCORE
The underscore '_' character as a string.

See Also:
Constant Field Values

LESS_THAN

static final java.lang.String LESS_THAN
Less than (prefix for XML).

See Also:
Constant Field Values

GREATER_THAN

static final java.lang.String GREATER_THAN
Greater than (suffix for XML).

See Also:
Constant Field Values

SLASH

static final java.lang.String SLASH
Slash, Linux/Unix directory path separator.

See Also:
Constant Field Values

DOT

static final java.lang.String DOT
Dot: '.'.

See Also:
Constant Field Values

DASH

static final java.lang.String DASH
Dash: '-'.

See Also:
Constant Field Values

BACKSLASH

static final java.lang.String BACKSLASH
BackSlash: '\\'.

See Also:
Constant Field Values

COLON

static final java.lang.String COLON
Colon: ':'.

See Also:
Constant Field Values

SEMICOLON

static final java.lang.String SEMICOLON
Semicolon: ';'.

See Also:
Constant Field Values

BRACKET_BEGIN

static final java.lang.String BRACKET_BEGIN
( - To start a standard bracket.

See Also:
Constant Field Values

BRACKET_END

static final java.lang.String BRACKET_END
) - To end a standard bracket.

See Also:
Constant Field Values

SQUARE_BRACKET_BEGIN

static final java.lang.String SQUARE_BRACKET_BEGIN
[ - To start a square bracket.

See Also:
Constant Field Values

SQUARE_BRACKET_END

static final java.lang.String SQUARE_BRACKET_END
] - To end a square bracket.

See Also:
Constant Field Values

DOLLAR_SIGN

static final java.lang.String DOLLAR_SIGN
$ - Dollar sign.

See Also:
Constant Field Values

SEPARATOR

static final java.lang.String SEPARATOR
| - Separator.

See Also:
Constant Field Values

STAR

static final java.lang.String STAR
- Star.

See Also:
Constant Field Values

DEPLOY_CLASS_PATH

static final java.lang.String DEPLOY_CLASS_PATH
The path to the class path branches.

See Also:
Constant Field Values

DEPLOY_JAVA_OPTIONS

static final java.lang.String DEPLOY_JAVA_OPTIONS
The path to the java option branches.

See Also:
Constant Field Values

DEPLOY_INSTALL_DIR

static final java.lang.String DEPLOY_INSTALL_DIR
The path to the optional installation directory.

See Also:
Constant Field Values

DEPLOY_MACHINE_USER_NAME

static final java.lang.String DEPLOY_MACHINE_USER_NAME
The path to the machine user name.

See Also:
Constant Field Values

DEPLOY_HARVEST_DATABASE_DIR

static final java.lang.String DEPLOY_HARVEST_DATABASE_DIR
The path to the directory for the database.

See Also:
Constant Field Values

DEPLOY_ARCHIVE_DATABASE_DIR

static final java.lang.String DEPLOY_ARCHIVE_DATABASE_DIR
The path to the directory for the archive database.

See Also:
Constant Field Values

DEPLOY_PHYSICAL_LOCATION

static final java.lang.String DEPLOY_PHYSICAL_LOCATION
The path to physical locations in from the global scope.

See Also:
Constant Field Values

DEPLOY_MACHINE

static final java.lang.String DEPLOY_MACHINE
The path to machines from a physical location.

See Also:
Constant Field Values

DEPLOY_APPLICATION_NAME

static final java.lang.String DEPLOY_APPLICATION_NAME
The path to applications from a machine.

See Also:
Constant Field Values

APPLICATION_NAME_ATTRIBUTE

static final java.lang.String APPLICATION_NAME_ATTRIBUTE
The path to name in a application instance.

See Also:
Constant Field Values

PHYSICAL_LOCATION_NAME_ATTRIBUTE

static final java.lang.String PHYSICAL_LOCATION_NAME_ATTRIBUTE
The path to name in a physical location instance.

See Also:
Constant Field Values

MACHINE_NAME_ATTRIBUTE

static final java.lang.String MACHINE_NAME_ATTRIBUTE
The path to name in a machine instance.

See Also:
Constant Field Values

MACHINE_OPERATING_SYSTEM_ATTRIBUTE

static final java.lang.String MACHINE_OPERATING_SYSTEM_ATTRIBUTE
The path to the operating system variable.

See Also:
Constant Field Values

OPERATING_SYSTEM_WINDOWS_ATTRIBUTE

static final java.lang.String OPERATING_SYSTEM_WINDOWS_ATTRIBUTE
The operating system attribute for windows.

See Also:
Constant Field Values

OPERATING_SYSTEM_LINUX_ATTRIBUTE

static final java.lang.String OPERATING_SYSTEM_LINUX_ATTRIBUTE
The operating system attribute for linux/unix.

See Also:
Constant Field Values

SECURITY_FILE_DIR_TAG

static final java.lang.String SECURITY_FILE_DIR_TAG
The attachment for the file dir in the security policy file.

See Also:
Constant Field Values

SECURITY_JMX_PRINCIPAL_NAME_TAG

static final java.lang.String SECURITY_JMX_PRINCIPAL_NAME_TAG
The name of the jmx principal name tag in the security file.

See Also:
Constant Field Values

SECURITY_COMMON_TEMP_DIR_TAG

static final java.lang.String SECURITY_COMMON_TEMP_DIR_TAG
The name of the common temp dir tag in the security policy file.

See Also:
Constant Field Values

LOG_PROPERTY_APPLICATION_ID_TAG

static final java.lang.String LOG_PROPERTY_APPLICATION_ID_TAG
The name of the application id in the log.prop file.

See Also:
Constant Field Values

COMPLETE_SETTINGS_BRANCH

static final java.lang.String COMPLETE_SETTINGS_BRANCH
Path to the Settings branch.


COMPLETE_ENVIRONMENT_NAME_LEAF

static final java.lang.String[] COMPLETE_ENVIRONMENT_NAME_LEAF
The total path to the environment name from an entity branch.


SETTINGS_ENVIRONMENT_NAME_LEAF

static final java.lang.String[] SETTINGS_ENVIRONMENT_NAME_LEAF
The path to the environment name from the settings branch.


DATABASE_URL_SETTING_LEAF_PATH

static final java.lang.String[] DATABASE_URL_SETTING_LEAF_PATH
The path to the database directory from the settings branch.


COMPLETE_HTTP_PORT_LEAF

static final java.lang.String[] COMPLETE_HTTP_PORT_LEAF
The complete path to the port leaf from beyond settings.


SETTINGS_NOTIFICATION_RECEIVER_PATH

static final java.lang.String[] SETTINGS_NOTIFICATION_RECEIVER_PATH
The complete path to the receiver leaf from beyond settings.


COMPLETE_JMX_PORT_PATH

static final java.lang.String[] COMPLETE_JMX_PORT_PATH
The path to the jmxPort leaf from beyond settings.


COMPLETE_JMX_RMIPORT_PATH

static final java.lang.String[] COMPLETE_JMX_RMIPORT_PATH
The path to the rmiPort leaf from beyond settings.


COMPLETE_HARVEST_HERITRIX_GUI_PORT_PATH

static final java.lang.String[] COMPLETE_HARVEST_HERITRIX_GUI_PORT_PATH
The path to the heritrix guiPort from beyond settings.


COMPLETE_HARVEST_HERITRIX_JMX_PORT

static final java.lang.String[] COMPLETE_HARVEST_HERITRIX_JMX_PORT
The path to the heritrix jmxPort from beyond settings.


COMPLETE_ARCHIVE_DATABASE_PORT

static final java.lang.String[] COMPLETE_ARCHIVE_DATABASE_PORT
The path to the archive database port leaf from beyond settings.


SETTINGS_ARCHIVE_DATABASE_PORT

static final java.lang.String[] SETTINGS_ARCHIVE_DATABASE_PORT
The path to the archive database port leaf from settings.


COMPLETE_HARVEST_DATABASE_PORT

static final java.lang.String[] COMPLETE_HARVEST_DATABASE_PORT
The path to the harvest database port leaf from beyond settings.


SETTINGS_HARVEST_DATABASE_PORT

static final java.lang.String[] SETTINGS_HARVEST_DATABASE_PORT
The path to the harvest database port leaf from settings.


SETTINGS_HARVEST_HERITRIX_JMX_PORT

static final java.lang.String[] SETTINGS_HARVEST_HERITRIX_JMX_PORT
The path to the heritrix jmxPort from the settings branch.


SETTINGS_TEMPDIR_LEAF

static final java.lang.String[] SETTINGS_TEMPDIR_LEAF
The path to the tempDir leaf from settings.


SETTINGS_BITARCHIVE_BASEFILEDIR_LEAF

static final java.lang.String[] SETTINGS_BITARCHIVE_BASEFILEDIR_LEAF
The path to the fileDir branch from settings.


SETTINGS_HARVEST_SERVERDIR_LEAF

static final java.lang.String[] SETTINGS_HARVEST_SERVERDIR_LEAF
The path to the serverDir leaf from settings.


SETTINGS_ARCHIVE_BP_BASEDIR_LEAF

static final java.lang.String[] SETTINGS_ARCHIVE_BP_BASEDIR_LEAF
The path to the bitpreservation base dir leaf from settings. Uses the constant from ArciveSettings, with the 'settings' removed.


SETTINGS_ARCHIVE_ARC_BASEDIR_LEAF

static final java.lang.String[] SETTINGS_ARCHIVE_ARC_BASEDIR_LEAF
The path to the arcrepository base dir leaf from settings. Uses the constant from ArciveSettings, with the 'settings' removed.


SETTINGS_VIEWERPROXY_BASEDIR_LEAF

static final java.lang.String[] SETTINGS_VIEWERPROXY_BASEDIR_LEAF
The path to the viewer proxy base dir leaf from settings.


SETTINGS_MONITOR_JMX_NAME_LEAF

static final java.lang.String[] SETTINGS_MONITOR_JMX_NAME_LEAF
The path from monitor to the jmxUsername leaf.


SETTINGS_MONITOR_JMX_PASSWORD_LEAF

static final java.lang.String[] SETTINGS_MONITOR_JMX_PASSWORD_LEAF
The path from monitor to the jmxPassword leaf.


SETTINGS_APPLICATION_INSTANCE_ID_LEAF

static final java.lang.String[] SETTINGS_APPLICATION_INSTANCE_ID_LEAF
The path to the application instance id leaf from settings.


COMPLETE_THIS_PHYSICAL_LOCATION_LEAF

static final java.lang.String[] COMPLETE_THIS_PHYSICAL_LOCATION_LEAF
The path to thisPhysicalLocation from settings.


COMPLETE_APPLICATION_NAME_LEAF

static final java.lang.String[] COMPLETE_APPLICATION_NAME_LEAF
The path to applicationName from beyond settings.


SETTINGS_HERITRIX_JMX_USERNAME_LEAF

static final java.lang.String[] SETTINGS_HERITRIX_JMX_USERNAME_LEAF
The path to the jmxUsername under heritrix from settings.


SETTINGS_HERITRIX_JMX_PASSWORD_LEAF

static final java.lang.String[] SETTINGS_HERITRIX_JMX_PASSWORD_LEAF
The path to the jmxPassword under heritrix from settings.


SETTINGS_COMMON_JMX_ACCESSFILE

static final java.lang.String[] SETTINGS_COMMON_JMX_ACCESSFILE
The path to the jmx accessFile leaf from settings.


SETTINGS_COMMON_JMX_PASSWORDFILE

static final java.lang.String[] SETTINGS_COMMON_JMX_PASSWORDFILE
The path to the jmx passwordFile leaf from settings.


WAIT_TIME_DURING_RESTART

public static final int WAIT_TIME_DURING_RESTART
The amount of seconds to wait for the restart script.

See Also:
Constant Field Values

TIME_SECOND_IN_MILLISECONDS

static final int TIME_SECOND_IN_MILLISECONDS
The number of milliseconds on a second. 1000.

See Also:
Constant Field Values

ARGUMENTS_REQUIRED

public static final int ARGUMENTS_REQUIRED
The minimum number of arguments required.

See Also:
Constant Field Values

TEST_ARGUMENTS_REQUIRED

public static final int TEST_ARGUMENTS_REQUIRED
The exact number of arguments required for test.

See Also:
Constant Field Values

TEST_OFFSET_INTEGER_MAXIMUM_VALUE

public static final int TEST_OFFSET_INTEGER_MAXIMUM_VALUE
The maximum integer value in a character.

See Also:
Constant Field Values

BASEFILEDIR_SUBDIRECTORIES

public static final java.lang.String[] BASEFILEDIR_SUBDIRECTORIES
Directories to install under baseFileDir.


TEST_OFFSET_MONITOR_JMX_PORT

static final int TEST_OFFSET_MONITOR_JMX_PORT
The offset for the digit to replace during test in the monitor jmx port.

See Also:
Constant Field Values

TEST_OFFSET_MONITOR_RMI_PORT

static final int TEST_OFFSET_MONITOR_RMI_PORT
The offset for the digit to replace during test in the monitor rmi port.

See Also:
Constant Field Values

TEST_OFFSET_HERITRIX_JMX_PORT

static final int TEST_OFFSET_HERITRIX_JMX_PORT
The offset for the digit to replace during test in the heritrix jmx port.

See Also:
Constant Field Values

TEST_OFFSET_HERITRIX_GUI_PORT

static final int TEST_OFFSET_HERITRIX_GUI_PORT
The offset for the digit to replace during test in the heritrix gui port.

See Also:
Constant Field Values

TEST_OFFSET_ARCHIVE_DB_URL_PORT

static final int TEST_OFFSET_ARCHIVE_DB_URL_PORT
The offset for the digit to replace during test of the port in the archive database url.

See Also:
Constant Field Values

TEST_OFFSET_HARVEST_DB_URL_PORT

static final int TEST_OFFSET_HARVEST_DB_URL_PORT
The offset for the digit to replace during test of the port in the harvest database url.

See Also:
Constant Field Values

TEST_ARGUMENT_OFFSET_INDEX

static final int TEST_ARGUMENT_OFFSET_INDEX
The index of the offset part of the test argument.

See Also:
Constant Field Values

TEST_ARGUMENT_HTTP_INDEX

static final int TEST_ARGUMENT_HTTP_INDEX
The index of the http part of the test argument.

See Also:
Constant Field Values

TEST_ARGUMENT_ENVIRONMENT_NAME_INDEX

static final int TEST_ARGUMENT_ENVIRONMENT_NAME_INDEX
The index of the environment name part of the test argument.

See Also:
Constant Field Values

TEST_ARGUMENT_MAIL_INDEX

static final int TEST_ARGUMENT_MAIL_INDEX
The index of the mail part of the test argument.

See Also:
Constant Field Values

JMX_PASSWORD_FILE_NAME

static final java.lang.String JMX_PASSWORD_FILE_NAME
The name of the JMX remote password file.

See Also:
Constant Field Values

JMX_ACCESS_FILE_NAME

static final java.lang.String JMX_ACCESS_FILE_NAME
The name of the JMX remote access file.

See Also:
Constant Field Values

JMX_PASSWORD_FILE_PATH_DEFAULT

static final java.lang.String JMX_PASSWORD_FILE_PATH_DEFAULT
The default path to the jmxremote.password file.

See Also:
Constant Field Values

JMX_ACCESS_FILE_PATH_DEFAULT

static final java.lang.String JMX_ACCESS_FILE_PATH_DEFAULT
The default path to the jmxremote.access file.

See Also:
Constant Field Values

SECURITY_POLICY_FILE_NAME

static final java.lang.String SECURITY_POLICY_FILE_NAME
The name of the security policy file.

See Also:
Constant Field Values

LOG_PROP_APPLICATION_PREFIX

static final java.lang.String LOG_PROP_APPLICATION_PREFIX
The prefix for the log property file for the application.

See Also:
Constant Field Values

LOG_PROP_APPLICATION_SUFFIX

static final java.lang.String LOG_PROP_APPLICATION_SUFFIX
The suffix for the log property file for the application.

See Also:
Constant Field Values

DATABASE_BASE_DIR

static final java.lang.String DATABASE_BASE_DIR
The directory for the database in the unpacked NetarchiveSuite. The default directory for the database file.

See Also:
Constant Field Values

DATABASE_BASE_FILE

static final java.lang.String DATABASE_BASE_FILE
The name of the database in the directory above. The default name for the database file.

See Also:
Constant Field Values

DATABASE_BASE_PATH

static final java.lang.String DATABASE_BASE_PATH
The path to the base database (the two above combined). This is the default location for the database.

See Also:
Constant Field Values

ARCHIVE_DATABASE_BASE_FILE

static final java.lang.String ARCHIVE_DATABASE_BASE_FILE
The name of the archive database in the database base dir above. This is the default name of the archive database.

See Also:
Constant Field Values

ARCHIVE_DATABASE_BASE_PATH

static final java.lang.String ARCHIVE_DATABASE_BASE_PATH
The path to the base archive database (the one above combined with the base database dir). This is the default location for the archive database.

See Also:
Constant Field Values

TEST_CONFIG_FILE_REPLACE_ENDING

static final java.lang.String TEST_CONFIG_FILE_REPLACE_ENDING
The name of the new modified configuration file for tests.

See Also:
Constant Field Values

SCRIPT_EXTENSION_LINUX

static final java.lang.String SCRIPT_EXTENSION_LINUX
The script extension for Linux/Unix.

See Also:
Constant Field Values

SCRIPT_EXTENSION_WINDOWS

static final java.lang.String SCRIPT_EXTENSION_WINDOWS
The script extension for Windows.

See Also:
Constant Field Values

SCRIPT_NAME_KILL_ALL

static final java.lang.String SCRIPT_NAME_KILL_ALL
The name of the killall script. 'killall'.

See Also:
Constant Field Values

SCRIPT_NAME_INSTALL_ALL

static final java.lang.String SCRIPT_NAME_INSTALL_ALL
The name of the install script. 'install'.

See Also:
Constant Field Values

SCRIPT_NAME_START_ALL

static final java.lang.String SCRIPT_NAME_START_ALL
The name of the startall script. 'startall'.

See Also:
Constant Field Values

SCRIPT_NAME_RESTART

static final java.lang.String SCRIPT_NAME_RESTART
The name of the restart all application script. 'restart'.

See Also:
Constant Field Values

SCRIPT_NAME_ADMIN_DB_START

static final java.lang.String SCRIPT_NAME_ADMIN_DB_START
The name of the admin database start script.

See Also:
Constant Field Values

SCRIPT_NAME_ADMIN_DB_KILL

static final java.lang.String SCRIPT_NAME_ADMIN_DB_KILL
The name of the admin database kill script.

See Also:
Constant Field Values

SCRIPT_NAME_HARVEST_DB_START

static final java.lang.String SCRIPT_NAME_HARVEST_DB_START
The name of the admin database start script.

See Also:
Constant Field Values

SCRIPT_NAME_HARVEST_DB_KILL

static final java.lang.String SCRIPT_NAME_HARVEST_DB_KILL
The name of the admin database kill script.

See Also:
Constant Field Values

SCRIPT_NAME_WAIT

static final java.lang.String SCRIPT_NAME_WAIT
The name of the wait script for windows. 'wait'.

See Also:
Constant Field Values

SCRIPT_NAME_LOCAL_KILL

static final java.lang.String SCRIPT_NAME_LOCAL_KILL
Prefix for the application kill script. 'kill_' .

See Also:
Constant Field Values

SCRIPT_NAME_LOCAL_START

static final java.lang.String SCRIPT_NAME_LOCAL_START
Prefix for the application start script. 'start_' .

See Also:
Constant Field Values

SCRIPT_KILL_PS

static final java.lang.String SCRIPT_KILL_PS
Prefix for the application kill_ps script. 'kill_ps_'

See Also:
Constant Field Values

PREFIX_SETTINGS

static final java.lang.String PREFIX_SETTINGS
The prefix of the name for application specific settings files.

See Also:
Constant Field Values

EXTENSION_XML_FILES

static final java.lang.String EXTENSION_XML_FILES
The extension on XML files.

See Also:
Constant Field Values

EXTENSION_ZIP_FILES

static final java.lang.String EXTENSION_ZIP_FILES
The extension on zip files.

See Also:
Constant Field Values

EXTENSION_POLICY_FILES

static final java.lang.String EXTENSION_POLICY_FILES
The extension on policy files.

See Also:
Constant Field Values

EXTENSION_LOG_PROPERTY_FILES

static final java.lang.String EXTENSION_LOG_PROPERTY_FILES
The extension on property files.

See Also:
Constant Field Values

EXTENSION_JAR_FILES

static final java.lang.String EXTENSION_JAR_FILES
The extension on jar files.

See Also:
Constant Field Values

EXTENSION_VBS_FILES

static final java.lang.String EXTENSION_VBS_FILES
The extension on vb-script files.

See Also:
Constant Field Values

EXTENSION_LOG_FILES

static final java.lang.String EXTENSION_LOG_FILES
The extension on log files.

See Also:
Constant Field Values

CONF_DIR_WINDOWS

static final java.lang.String CONF_DIR_WINDOWS
The config directory path from install directory.

See Also:
Constant Field Values

CONF_DIR_LINUX

static final java.lang.String CONF_DIR_LINUX
The config directory path from install directory.

See Also:
Constant Field Values

SETTINGS_PREFIX

static final java.lang.String SETTINGS_PREFIX
Settings prefix. settings_.

See Also:
Constant Field Values

LOG_PREFIX

static final java.lang.String LOG_PREFIX
Log property prefix. log_.

See Also:
Constant Field Values

WINDOWS_DIR_CREATE_PREFIX

static final java.lang.String WINDOWS_DIR_CREATE_PREFIX
Windows directory creation script prefix.

See Also:
Constant Field Values

BUILD_SETTING_FILES

static final java.lang.String[] BUILD_SETTING_FILES
Complete list of settings files to combine to complete settings file.


BUILD_COMPLETE_SETTINGS_FILE_PATH

public static final java.lang.String BUILD_COMPLETE_SETTINGS_FILE_PATH
The path to the complete settings file.

See Also:
Constant Field Values

FILE_TEMPORARY_RUN_WINDOWS_NAME

public static final java.lang.String FILE_TEMPORARY_RUN_WINDOWS_NAME
The name of the temporary run-file for windows.

See Also:
Constant Field Values

ARG_INIT_ARG

public static final java.lang.String ARG_INIT_ARG
For initiating a argument.

See Also:
Constant Field Values

ARG_CONFIG_FILE

public static final java.lang.String ARG_CONFIG_FILE
For giving the configuration file as argument.

See Also:
Constant Field Values

ARG_NETARCHIVE_SUITE_FILE

public static final java.lang.String ARG_NETARCHIVE_SUITE_FILE
For giving the NetarchiveSuite package file as argument.

See Also:
Constant Field Values

ARG_SECURITY_FILE

public static final java.lang.String ARG_SECURITY_FILE
For giving the security file as argument.

See Also:
Constant Field Values

ARG_LOG_PROPERTY_FILE

public static final java.lang.String ARG_LOG_PROPERTY_FILE
For giving the log property file as argument.

See Also:
Constant Field Values

ARG_OUTPUT_DIRECTORY

public static final java.lang.String ARG_OUTPUT_DIRECTORY
For giving the optional output directory as argument.

See Also:
Constant Field Values

ARG_DATABASE_FILE

public static final java.lang.String ARG_DATABASE_FILE
For giving the optional database file as argument.

See Also:
Constant Field Values

ARG_TEST

public static final java.lang.String ARG_TEST
For giving the optional test data.

See Also:
Constant Field Values

ARG_RESET

public static final java.lang.String ARG_RESET
For giving the optional reset directory argument.

See Also:
Constant Field Values

ARG_EVALUATE

public static final java.lang.String ARG_EVALUATE
For giving the optional evaluation argument.

See Also:
Constant Field Values

ARG_ARC_DB

public static final java.lang.String ARG_ARC_DB
For giving the optional archive database argument.

See Also:
Constant Field Values

ARG_JAR_FOLDER

public static final java.lang.String ARG_JAR_FOLDER
For installing external libraries through deploy.

See Also:
Constant Field Values

YES_LONG

public static final java.lang.String YES_LONG
The long yes argument.

See Also:
Constant Field Values

YES_SHORT

public static final java.lang.String YES_SHORT
The short yes argument.

See Also:
Constant Field Values

NO_LONG

public static final java.lang.String NO_LONG
The long no argument.

See Also:
Constant Field Values

NO_SHORT

public static final java.lang.String NO_SHORT
The short no argument.

See Also:
Constant Field Values

REGEX_DOT_CHARACTER

public static final java.lang.String REGEX_DOT_CHARACTER
Regular expression for finding the '.' character.

See Also:
Constant Field Values

REGEX_COMMA_CHARACTER

public static final java.lang.String REGEX_COMMA_CHARACTER
Regular expression for finding the ',' character.

See Also:
Constant Field Values

REGEX_SLASH_CHARACTER

public static final java.lang.String REGEX_SLASH_CHARACTER
Regular expression for finding the '/' character.

See Also:
Constant Field Values

REGEX_BACKSLASH_CHARACTER

public static final java.lang.String REGEX_BACKSLASH_CHARACTER
Regular expression for finding the '/' character.

See Also:
Constant Field Values

INIT_ARGUMENTS_LIST

public static final java.lang.String INIT_ARGUMENTS_LIST
Argument.

See Also:
Constant Field Values

VALID_REGEX_ENVIRONMENT_NAME

public static final java.lang.String VALID_REGEX_ENVIRONMENT_NAME
The regular expression for validating the environment name.

See Also:
Constant Field Values

EXTERNAL_JAR_DIRECTORY

public static final java.lang.String EXTERNAL_JAR_DIRECTORY
The folder for the external jar-files to be copied into.

See Also:
Constant Field Values

MSG_ERROR_PARSE_ARGUMENTS

public static final java.lang.String MSG_ERROR_PARSE_ARGUMENTS
The error message for error in parsing the arguments.

See Also:
Constant Field Values

MSG_ERROR_TOO_MANY_ARGUMENTS

public static final java.lang.String MSG_ERROR_TOO_MANY_ARGUMENTS
The error message when too many arguments are given.

See Also:
Constant Field Values

MSG_ERROR_NOT_ENOUGH_ARGUMENTS

public static final java.lang.String MSG_ERROR_NOT_ENOUGH_ARGUMENTS
The error message when not enough arguments are given.

See Also:
Constant Field Values

MSG_ERROR_NO_CONFIG_FILE_ARG

public static final java.lang.String MSG_ERROR_NO_CONFIG_FILE_ARG
The error message when no deploy-config file is given.

See Also:
Constant Field Values

MSG_ERROR_NO_NETARCHIVESUITE_FILE_ARG

public static final java.lang.String MSG_ERROR_NO_NETARCHIVESUITE_FILE_ARG
The error message when no NetarchiveSuite file is given.

See Also:
Constant Field Values

MSG_ERROR_NO_SECURITY_FILE_ARG

public static final java.lang.String MSG_ERROR_NO_SECURITY_FILE_ARG
The error message when no security file is given.

See Also:
Constant Field Values

MSG_ERROR_NO_LOG_PROPERTY_FILE_ARG

public static final java.lang.String MSG_ERROR_NO_LOG_PROPERTY_FILE_ARG
The error message when no log property file is given.

See Also:
Constant Field Values

MSG_ERROR_NO_CONFIG_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_CONFIG_FILE_FOUND
The error message when config file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_NETARCHIVESUITE_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_NETARCHIVESUITE_FILE_FOUND
The error message when NetarchiveSuite file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_SECURITY_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_SECURITY_FILE_FOUND
The error message when security file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_LOG_PROPERTY_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_LOG_PROPERTY_FILE_FOUND
The error message when log property file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_DATABASE_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_DATABASE_FILE_FOUND
The error message when database file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_BPDB_FILE_FOUND

public static final java.lang.String MSG_ERROR_NO_BPDB_FILE_FOUND
The error message when archive database file does not exist.

See Also:
Constant Field Values

MSG_ERROR_NO_JAR_FOLDER

public static final java.lang.String MSG_ERROR_NO_JAR_FOLDER
The error message when the folder with the external jar-library-files does not exist.

See Also:
Constant Field Values

MSG_ERROR_CONFIG_EXTENSION

public static final java.lang.String MSG_ERROR_CONFIG_EXTENSION
The error message for wrong deploy-config file extension.

See Also:
Constant Field Values

MSG_ERROR_NETARCHIVESUITE_EXTENSION

public static final java.lang.String MSG_ERROR_NETARCHIVESUITE_EXTENSION
The error message for wrong NetarchiveSuite file extension.

See Also:
Constant Field Values

MSG_ERROR_SECURITY_EXTENSION

public static final java.lang.String MSG_ERROR_SECURITY_EXTENSION
The error message for wrong security file extension.

See Also:
Constant Field Values

MSG_ERROR_LOG_PROPERTY_EXTENSION

public static final java.lang.String MSG_ERROR_LOG_PROPERTY_EXTENSION
The error message for wrong log property file extension.

See Also:
Constant Field Values

MSG_ERROR_DATABASE_EXTENSION

public static final java.lang.String MSG_ERROR_DATABASE_EXTENSION
The error message for wrong database extension.

See Also:
Constant Field Values

MSG_ERROR_BPDB_EXTENSION

public static final java.lang.String MSG_ERROR_BPDB_EXTENSION
The error message for wrong archive database extension.

See Also:
Constant Field Values

MSG_ERROR_TEST_ARGUMENTS

public static final java.lang.String MSG_ERROR_TEST_ARGUMENTS
The error message when test wrong number of test arguments.

See Also:
Constant Field Values

MSG_ERROR_TEST_OFFSET

public static final java.lang.String MSG_ERROR_TEST_OFFSET
The error message when offset value are too different from httpport.

See Also:
Constant Field Values

MSG_ERROR_RESET_ARGUMENT

public static final java.lang.String MSG_ERROR_RESET_ARGUMENT
The error message when reset directory has wrong argument.

See Also:
Constant Field Values

MSG_ERROR_PHYSICAL_LOCATION_NO_NAME

public static final java.lang.String MSG_ERROR_PHYSICAL_LOCATION_NO_NAME
The error message when a physical location has no name attribute.

See Also:
Constant Field Values

MSG_ERROR_ZIP_CANNONICAL_PATH

public static final java.lang.String MSG_ERROR_ZIP_CANNONICAL_PATH
The error message when IOException during cannocial path of zip file.

See Also:
Constant Field Values

MSG_ERROR_INVALID_TEST_ENVIRONMENT_NAME

public static final java.lang.String MSG_ERROR_INVALID_TEST_ENVIRONMENT_NAME
The error message when the environment name for the test instance is invalid.

See Also:
Constant Field Values

MSG_ERROR_INVALID_ENVIRONMENT_NAME

public static final java.lang.String MSG_ERROR_INVALID_ENVIRONMENT_NAME
The error message when the environment name is invalid.

See Also:
Constant Field Values

MSG_ERROR_WAIT_FILE

public static final java.lang.String MSG_ERROR_WAIT_FILE
The error message when the wait script file cannot be written.

See Also:
Constant Field Values

MSG_ERROR_RESTART_FILE

public static final java.lang.String MSG_ERROR_RESTART_FILE
The error message when the restart script cannot be written.

See Also:
Constant Field Values

MSG_ERROR_DB_START_FILE

public static final java.lang.String MSG_ERROR_DB_START_FILE
The error message when the db-start script cannot be written.

See Also:
Constant Field Values

MSG_ERROR_DB_KILL_FILE

public static final java.lang.String MSG_ERROR_DB_KILL_FILE
The error message when the db-kill script cannot be written.

See Also:
Constant Field Values

MSG_WARN_TOO_MANY_JMXREMOTE_FILE_PATHS

public static final java.lang.String MSG_WARN_TOO_MANY_JMXREMOTE_FILE_PATHS
The warning when more than one jmxremote.access or jmxremote.password file path is defined.

See Also:
Constant Field Values

MSG_WARN_ZIPFILE_ALREADY_EXISTS

public static final java.lang.String MSG_WARN_ZIPFILE_ALREADY_EXISTS
The warning when the NetarchiveSuite file cannot be copied, since another file with same name exists.

See Also:
Constant Field Values
Method Detail

changeToXMLBeginScope

public static java.lang.String changeToXMLBeginScope(java.lang.String scope)
                                              throws ArgumentNotValid
Create the beginning of a scope in XML (e.g. html = \< html \>).

Parameters:
scope - The name of the XML-scope to have the start created.
Returns:
The beginning of the XML-scope.
Throws:
ArgumentNotValid - If the scope is null or empty.

changeToXMLEndScope

public static java.lang.String changeToXMLEndScope(java.lang.String scope)
                                            throws ArgumentNotValid
Create the ending of a scope in XML (e.g. html = \< \html \>).

Parameters:
scope - The name of the XML-scope to have the end created.
Returns:
The ending of the XML-scope.
Throws:
ArgumentNotValid - If the scope is null or empty.

validEnvironmentName

public static boolean validEnvironmentName(java.lang.String name)
                                    throws ArgumentNotValid
Checks whether a string is valid for environment name. The string is checked against a regular expression.

Parameters:
name - The environment name to validate.
Returns:
Whether the environment name is valid.
Throws:
ArgumentNotValid - If the name is null or empty.