Enum BatchState

    • Enum Constant Detail

      • Pending

        public static final BatchState Pending
        Batch is ready to be processed
      • Held

        public static final BatchState Held
        Collection is HELD. The hold must be released before the batch can proceed.
      • Processing

        public static final BatchState Processing
        Payload is analyzed. If the payload is a manifest, it will be downloaded. Jobs are created in the job queue.
      • Reporting

        public static final BatchState Reporting
        All jobs have COMPLETED or FAILED, a summary e-mail is sent to the depositor.
      • Failed

        public static final BatchState Failed
        At least one job FAILED
      • UpdateReporting

        public static final BatchState UpdateReporting
        Determine if any previously FAILED jobs are not complete. If so, notify the depositor by email.
      • Completed

        public static final BatchState Completed
        All jobs COMPLETED
    • Method Detail

      • values

        public static BatchState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BatchState c : BatchState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BatchState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null