dk.netarkivet.archive.webinterface
Class Constants

java.lang.Object
  extended by dk.netarkivet.archive.webinterface.Constants

public class Constants
extends java.lang.Object

Constants for the bitarchive webinterface.


Field Summary
static java.lang.String ADD_COMMAND
          Parameter for adding missing files.
static java.lang.String BATCHJOB_PARAMETER
          The context parameter 'batchjob'.
static java.lang.String BITARCHIVE_NAME_PARAM
          Parameter name for the bitarchive to perform operation on.
static java.lang.String CHECKSUM_OPTION
          Option for the UPDATE_TYPE_PARAM parameter for the action of running a checksum batch job.
static java.lang.String CHECKSUM_PARAM
          Parameter used by the BitpreserveFileState.processChecksumRequest called from Bitpreservation-filestatus-checksum.jsp.
static java.lang.String CREDENTIALS_PARAM
          Parameter name for credentials for removing a file with wrong checksum.
static java.lang.String ERROR_FILE_EXTENSION
          The extension for the error files.
static java.lang.String FILENAME_PARAM
          Parameter name for the file to perform checksum operations on.
static java.lang.String FILESTATUS_CHECKSUM_PAGE
          BitPreservation page that checks files in archive for wrong checksum.
static java.lang.String FILESTATUS_MISSING_PAGE
          BitPreservation page that checks if any files are missing in one of the bitarchives.
static java.lang.String FILESTATUS_PAGE
          BitPreservation main Java server page that contains status information about the bitarchives.
static java.lang.String FILESTATUS_UPDATE_PAGE
          BitPreservation page that initiates update of the filestatus information.
static java.lang.String FILETYPE_PARAMETER
          The context parameter 'filetype'.
static java.lang.String FIND_MISSING_FILES_OPTION
          Option for the UPDATE_TYPE_PARAM parameter for the action of running a batch job for missing files.
static java.lang.String FIX_ADMIN_CHECKSUM_PARAM
          Parameter name for request to fix checksum in admin data.
static java.lang.String GET_INFO_COMMAND
          Parameter for getting info for missing files.
static int HTML_INPUT_SIZE
          The size of the <input> HTML code.
static java.lang.String JOB_ID_PARAMETER
          The context parameter 'jobId'.
static int MAX_TOGGLE_AMOUNT
          Maximum number of files to toggle on one go.
static java.lang.String NAME_TIMSTAMP_SEPARATOR
          The separator between the name and the timestamp for result files of batchjobs.
static java.lang.String OUTPUT_FILE_EXTENSION
          The extension for the output files.
static java.lang.String REGEX_ALL
          The regular expression for all files.
static java.lang.String REGEX_CONTENT
          The regular expression for content files.
static java.lang.String REGEX_METADATA
          The regular expression for metadata files.
static java.lang.String REPLICA_PARAMETER
          The context parameter 'replica'.
static java.lang.String STRING_FILENAME_SEPARATOR
          String to separate filename from checksum.
static java.lang.String UPDATE_TYPE_PARAM
          Parameter name to select the type of update required.
static java.lang.String URL_BATCHJOB
          The url for the batchjob page.
static java.lang.String URL_BATCHJOB_EXECUTE
          The url for the execution of the batchjobs.
static java.lang.String URL_RETRIEVE_RESULT_FILES
          The url for retrieval of batchjob result files.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BITARCHIVE_NAME_PARAM

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String UPDATE_TYPE_PARAM
Parameter name to select the type of update required.

See Also:
Constant Field Values

FILESTATUS_PAGE

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String ADD_COMMAND
Parameter for adding missing files.

See Also:
Constant Field Values

GET_INFO_COMMAND

public static final java.lang.String GET_INFO_COMMAND
Parameter for getting info for missing files.

See Also:
Constant Field Values

STRING_FILENAME_SEPARATOR

public static final java.lang.String STRING_FILENAME_SEPARATOR
String to separate filename from checksum.

See Also:
Constant Field Values

OUTPUT_FILE_EXTENSION

public static final java.lang.String OUTPUT_FILE_EXTENSION
The extension for the output files.

See Also:
Constant Field Values

ERROR_FILE_EXTENSION

public static final java.lang.String ERROR_FILE_EXTENSION
The extension for the error files.

See Also:
Constant Field Values

NAME_TIMSTAMP_SEPARATOR

public static final java.lang.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 java.lang.String URL_BATCHJOB
The url for the batchjob page.

See Also:
Constant Field Values

URL_RETRIEVE_RESULT_FILES

public static final java.lang.String URL_RETRIEVE_RESULT_FILES
The url for retrieval of batchjob result files.

See Also:
Constant Field Values

URL_BATCHJOB_EXECUTE

public static final java.lang.String URL_BATCHJOB_EXECUTE
The url for the execution of the batchjobs.

See Also:
Constant Field Values

FILETYPE_PARAMETER

public static final java.lang.String FILETYPE_PARAMETER
The context parameter 'filetype'.

See Also:
Constant Field Values

JOB_ID_PARAMETER

public static final java.lang.String JOB_ID_PARAMETER
The context parameter 'jobId'.

See Also:
Constant Field Values

BATCHJOB_PARAMETER

public static final java.lang.String BATCHJOB_PARAMETER
The context parameter 'batchjob'.

See Also:
Constant Field Values

REPLICA_PARAMETER

public static final java.lang.String REPLICA_PARAMETER
The context parameter 'replica'.

See Also:
Constant Field Values

REGEX_ALL

public static final java.lang.String REGEX_ALL
The regular expression for all files.

See Also:
Constant Field Values

REGEX_METADATA

public static final java.lang.String REGEX_METADATA
The regular expression for metadata files.

See Also:
Constant Field Values

REGEX_CONTENT

public static final java.lang.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
Constructor Detail

Constants

public Constants()