Uses of Enum Class
org.springframework.batch.core.BatchStatus
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Flow related constructs including Flow interface, executors, and related exceptions
-
Uses of BatchStatus in org.springframework.batch.core
Modifier and TypeMethodDescriptionJobExecution.getStatus()
JobInterruptedException.getStatus()
The desired status of the surrounding execution after the interruption.StepExecution.getStatus()
Returns the current status of this step.static BatchStatus
Find aBatchStatus
that matches the beginning of the given value.static BatchStatus
BatchStatus.max
(BatchStatus status1, BatchStatus status2) Convenience method to return the higher value status of the statuses passed to the method.BatchStatus.upgradeTo
(BatchStatus other) Method used to move status values through their logical progression, and override less severe failures with more severe ones.static BatchStatus
Returns the enum constant of this class with the specified name.static BatchStatus[]
BatchStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
BatchStatus.isGreaterThan
(BatchStatus other) boolean
BatchStatus.isLessThan
(BatchStatus other) boolean
BatchStatus.isLessThanOrEqualTo
(BatchStatus other) static BatchStatus
BatchStatus.max
(BatchStatus status1, BatchStatus status2) Convenience method to return the higher value status of the statuses passed to the method.void
JobExecution.setStatus
(BatchStatus status) Set the value of thestatus
field.void
StepExecution.setStatus
(BatchStatus status) Sets the current status of this step.void
JobExecution.upgradeStatus
(BatchStatus status) Upgrade thestatus
field if the provided value is greater than the existing one.void
StepExecution.upgradeStatus
(BatchStatus status) Upgrade the status field if the provided value is greater than the existing one.BatchStatus.upgradeTo
(BatchStatus other) Method used to move status values through their logical progression, and override less severe failures with more severe ones.ModifierConstructorDescriptionJobInterruptedException
(String msg, BatchStatus status) Constructor that sets the message for the exception. -
Uses of BatchStatus in org.springframework.batch.core.job.flow
Modifier and TypeMethodDescriptionprotected BatchStatus
JobFlowExecutor.findBatchStatus
(FlowExecutionStatus status)