Class Constants


  • public class Constants
    extends Object
    Constants for the bitarchive webinterface.
    • 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
      • 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_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
      • 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
    • Constructor Detail

      • Constants

        public Constants()