Enum JobExecutionFlag
- java.lang.Object
-
- java.lang.Enum<JobExecutionFlag>
-
- com.priint.pubserver.comet.renderer.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_WAITINGDeprecated.Allow the job to wait until preconditions match.DOCUMENT_MUST_BE_CLOSEDDeprecated.Close documents before job start? Default: true.DOCUMENT_MUST_EXISTDeprecated.Must document exist before job start? Default: false.DOCUMENT_OPEN_BEFOREDeprecated.Open documents before job start? Default: true.DOCUMENT_RECREATE_BEFOREDeprecated.Recreate documents before job start? Default: false.DOCUMENT_RESTORE_ON_FAILUREDeprecated.Whether to restore the previous document state, if job fails.PARTITION_JOBDeprecated.Whether to partition a job run for several publications in several jobs for each one.RETRY_TIMESDeprecated.Retry job execution on failure? Default: up to two times.WAIT_MAX_TIMEDeprecated.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.ObjectgetDefaultValue()Deprecated.Gets the default value which is set into Constructor.static JobExecutionFlagvalueOf(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.
-
-
-
Enum Constant Detail
-
ALLOW_WAITING
public static final JobExecutionFlag ALLOW_WAITING
Deprecated.Allow the job to wait until preconditions match. Default: true
Supported by
-
DOCUMENT_MUST_EXIST
public static final JobExecutionFlag DOCUMENT_MUST_EXIST
Deprecated.
-
DOCUMENT_RECREATE_BEFORE
public static final JobExecutionFlag DOCUMENT_RECREATE_BEFORE
Deprecated.
-
DOCUMENT_MUST_BE_CLOSED
public static final JobExecutionFlag DOCUMENT_MUST_BE_CLOSED
Deprecated.
-
DOCUMENT_OPEN_BEFORE
public static final JobExecutionFlag DOCUMENT_OPEN_BEFORE
Deprecated.
-
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
-
RETRY_TIMES
public static final JobExecutionFlag RETRY_TIMES
Deprecated.
-
WAIT_MAX_TIME
public static final JobExecutionFlag WAIT_MAX_TIME
Deprecated.How long to wait in milliseconds, until preconditions match. Default: 30000.
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 namejava.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
-
-