Enum JobExecutionFlag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<JobExecutionFlag>

    @Deprecated
    public enum JobExecutionFlag
    extends java.lang.Enum<JobExecutionFlag>
    Deprecated.
    The Enum JobExecutionFlag
    See Also:
    PARTITION_JOB
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALLOW_WAITING
      Deprecated.
      Allow the job to wait until preconditions match.
      DOCUMENT_MUST_BE_CLOSED
      Deprecated.
      Close documents before job start? Default: true.
      DOCUMENT_MUST_EXIST
      Deprecated.
      Must document exist before job start? Default: false.
      DOCUMENT_OPEN_BEFORE
      Deprecated.
      Open documents before job start? Default: true.
      DOCUMENT_RECREATE_BEFORE
      Deprecated.
      Recreate documents before job start? Default: false.
      DOCUMENT_RESTORE_ON_FAILURE
      Deprecated.
      Whether to restore the previous document state, if job fails.
      PARTITION_JOB
      Deprecated.
      Whether to partition a job run for several publications in several jobs for each one.
      RETRY_TIMES
      Deprecated.
      Retry job execution on failure? Default: up to two times.
      WAIT_MAX_TIME
      Deprecated.
      How long to wait in milliseconds, until preconditions match.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object getDefaultValue()
      Deprecated.
      Gets the default value which is set into Constructor.
      static JobExecutionFlag valueOf​(java.lang.String name)
      Deprecated.
      Returns the enum constant of this type with the specified name.
      static JobExecutionFlag[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DOCUMENT_MUST_EXIST

        public static final JobExecutionFlag DOCUMENT_MUST_EXIST
        Deprecated.

        Must document exist before job start? Default: false.

        Supported by

      • DOCUMENT_RECREATE_BEFORE

        public static final JobExecutionFlag DOCUMENT_RECREATE_BEFORE
        Deprecated.

        Recreate documents before job start? Default: false.

        Supported by

      • DOCUMENT_MUST_BE_CLOSED

        public static final JobExecutionFlag DOCUMENT_MUST_BE_CLOSED
        Deprecated.

        Close documents before job start? Default: true.

        Supported by

      • DOCUMENT_OPEN_BEFORE

        public static final JobExecutionFlag DOCUMENT_OPEN_BEFORE
        Deprecated.

        Open documents before job start? Default: true.

        Supported by

      • DOCUMENT_RESTORE_ON_FAILURE

        public static final JobExecutionFlag DOCUMENT_RESTORE_ON_FAILURE
        Deprecated.

        Whether to restore the previous document state, if job fails. Default: true.

        Supported by

      • PARTITION_JOB

        public static final JobExecutionFlag PARTITION_JOB
        Deprecated.

        Whether to partition a job run for several publications in several jobs for each one. Default: false.

        Supported by

    • Method Detail

      • values

        public static JobExecutionFlag[] values()
        Deprecated.
        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 (JobExecutionFlag c : JobExecutionFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JobExecutionFlag valueOf​(java.lang.String name)
        Deprecated.
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDefaultValue

        public java.lang.Object getDefaultValue()
        Deprecated.
        Gets the default value which is set into Constructor.
        Returns:
        the default value