Class Constants
- java.lang.Object
-
- dk.netarkivet.archive.webinterface.Constants
-
public class Constants extends Object
Constants for the bitarchive webinterface.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADD_COMMAND
Parameter for adding missing files.static String
BATCHJOB_PARAMETER
The context parameter 'batchjob'.static String
BITARCHIVE_NAME_PARAM
Parameter name for the bitarchive to perform operation on.static String
CHECKSUM_OPTION
Option for the UPDATE_TYPE_PARAM parameter for the action of running a checksum batch job.static String
CHECKSUM_PARAM
Parameter used by the BitpreserveFileState.processChecksumRequest called from Bitpreservation-filestatus-checksum.jsp.static String
CREDENTIALS_PARAM
Parameter name for credentials for removing a file with wrong checksum.static String
ERROR_FILE_EXTENSION
The extension for the error files.static String
FILENAME_PARAM
Parameter name for the file to perform checksum operations on.static String
FILESTATUS_CHECKSUM_PAGE
BitPreservation page that checks files in archive for wrong checksum.static String
FILESTATUS_MISSING_PAGE
BitPreservation page that checks if any files are missing in one of the bitarchives.static String
FILESTATUS_PAGE
BitPreservation main Java server page that contains status information about the bitarchives.static String
FILESTATUS_UPDATE_PAGE
BitPreservation page that initiates update of the filestatus information.static String
FILETYPE_PARAMETER
The context parameter 'filetype'.static String
FIND_MISSING_FILES_OPTION
Option for the UPDATE_TYPE_PARAM parameter for the action of running a batch job for missing files.static String
FIX_ADMIN_CHECKSUM_PARAM
Parameter name for request to fix checksum in admin data.static String
GET_INFO_COMMAND
Parameter for getting info for missing files.static int
HTML_INPUT_SIZE
The size of the <input> HTML code.static String
JOB_ID_PARAMETER
The context parameter 'jobId'.static int
MAX_TOGGLE_AMOUNT
Maximum number of files to toggle on one go.static String
NAME_TIMSTAMP_SEPARATOR
The separator between the name and the timestamp for result files of batchjobs.static String
OUTPUT_FILE_EXTENSION
The extension for the output files.static String
REGEX_ALL
The regular expression for all files.static String
REGEX_CONTENT
The regular expression for content files.static String
REGEX_METADATA
The regular expression for metadata files.static String
REPLICA_PARAMETER
The context parameter 'replica'.static String
STRING_FILENAME_SEPARATOR
String to separate filename from checksum.static String
UPDATE_TYPE_PARAM
Parameter name to select the type of update required.static String
URL_BATCHJOB
The url for the batchjob page.static String
URL_BATCHJOB_EXECUTE
The url for the execution of the batchjobs.static String
URL_RETRIEVE_RESULT_FILES
The url for retrieval of batchjob result files.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
BITARCHIVE_NAME_PARAM
public static final String BITARCHIVE_NAME_PARAM
Parameter name for the bitarchive to perform operation on.- See Also:
- Constant Field Values
-
FIND_MISSING_FILES_OPTION
public static final String FIND_MISSING_FILES_OPTION
Option for the UPDATE_TYPE_PARAM parameter for the action of running a batch job for missing files.- See Also:
- Constant Field Values
-
CHECKSUM_OPTION
public static final String CHECKSUM_OPTION
Option for the UPDATE_TYPE_PARAM parameter for the action of running a checksum batch job.- See Also:
- Constant Field Values
-
CHECKSUM_PARAM
public static final String CHECKSUM_PARAM
Parameter used by the BitpreserveFileState.processChecksumRequest called from Bitpreservation-filestatus-checksum.jsp.- See Also:
- Constant Field Values
-
FILENAME_PARAM
public static final String FILENAME_PARAM
Parameter name for the file to perform checksum operations on.- See Also:
- Constant Field Values
-
FIX_ADMIN_CHECKSUM_PARAM
public static final String FIX_ADMIN_CHECKSUM_PARAM
Parameter name for request to fix checksum in admin data.- See Also:
- Constant Field Values
-
CREDENTIALS_PARAM
public static final String CREDENTIALS_PARAM
Parameter name for credentials for removing a file with wrong checksum.- See Also:
- Constant Field Values
-
UPDATE_TYPE_PARAM
public static final String UPDATE_TYPE_PARAM
Parameter name to select the type of update required.- See Also:
- Constant Field Values
-
FILESTATUS_PAGE
public static final String FILESTATUS_PAGE
BitPreservation main Java server page that contains status information about the bitarchives.- See Also:
- Constant Field Values
-
FILESTATUS_MISSING_PAGE
public static final String FILESTATUS_MISSING_PAGE
BitPreservation page that checks if any files are missing in one of the bitarchives.- See Also:
- Constant Field Values
-
FILESTATUS_CHECKSUM_PAGE
public static final String FILESTATUS_CHECKSUM_PAGE
BitPreservation page that checks files in archive for wrong checksum.- See Also:
- Constant Field Values
-
FILESTATUS_UPDATE_PAGE
public static final String FILESTATUS_UPDATE_PAGE
BitPreservation page that initiates update of the filestatus information.- See Also:
- Constant Field Values
-
MAX_TOGGLE_AMOUNT
public static final int MAX_TOGGLE_AMOUNT
Maximum number of files to toggle on one go.- See Also:
- Constant Field Values
-
ADD_COMMAND
public static final String ADD_COMMAND
Parameter for adding missing files.- See Also:
- Constant Field Values
-
GET_INFO_COMMAND
public static final String GET_INFO_COMMAND
Parameter for getting info for missing files.- See Also:
- Constant Field Values
-
STRING_FILENAME_SEPARATOR
public static final String STRING_FILENAME_SEPARATOR
String to separate filename from checksum.- See Also:
- Constant Field Values
-
OUTPUT_FILE_EXTENSION
public static final String OUTPUT_FILE_EXTENSION
The extension for the output files.- See Also:
- Constant Field Values
-
ERROR_FILE_EXTENSION
public static final String ERROR_FILE_EXTENSION
The extension for the error files.- See Also:
- Constant Field Values
-
NAME_TIMSTAMP_SEPARATOR
public static final String NAME_TIMSTAMP_SEPARATOR
The separator between the name and the timestamp for result files of batchjobs.- See Also:
- Constant Field Values
-
URL_BATCHJOB
public static final String URL_BATCHJOB
The url for the batchjob page.- See Also:
- Constant Field Values
-
URL_RETRIEVE_RESULT_FILES
public static final String URL_RETRIEVE_RESULT_FILES
The url for retrieval of batchjob result files.- See Also:
- Constant Field Values
-
URL_BATCHJOB_EXECUTE
public static final String URL_BATCHJOB_EXECUTE
The url for the execution of the batchjobs.- See Also:
- Constant Field Values
-
FILETYPE_PARAMETER
public static final String FILETYPE_PARAMETER
The context parameter 'filetype'.- See Also:
- Constant Field Values
-
JOB_ID_PARAMETER
public static final String JOB_ID_PARAMETER
The context parameter 'jobId'.- See Also:
- Constant Field Values
-
BATCHJOB_PARAMETER
public static final String BATCHJOB_PARAMETER
The context parameter 'batchjob'.- See Also:
- Constant Field Values
-
REPLICA_PARAMETER
public static final String REPLICA_PARAMETER
The context parameter 'replica'.- See Also:
- Constant Field Values
-
REGEX_ALL
public static final String REGEX_ALL
The regular expression for all files.- See Also:
- Constant Field Values
-
REGEX_METADATA
public static final String REGEX_METADATA
The regular expression for metadata files.- See Also:
- Constant Field Values
-
REGEX_CONTENT
public static final String REGEX_CONTENT
The regular expression for content files. This ensures that there is 2 dots in the filename, which is only the case for the content-files (due to the harvester machine name). Alternatively the following has been suggested: .*(?- See Also:
- Constant Field Values
-
HTML_INPUT_SIZE
public static final int HTML_INPUT_SIZE
The size of the <input> HTML code.- See Also:
- Constant Field Values
-
-