Uses of Enum Class
org.springframework.batch.core.BatchStatus
Packages that use 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
Methods in org.springframework.batch.core that return BatchStatusModifier 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 BatchStatusFind aBatchStatusthat matches the beginning of the given value.static BatchStatusBatchStatus.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 BatchStatusReturns 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.Methods in org.springframework.batch.core with parameters of type BatchStatusModifier and TypeMethodDescriptionbooleanBatchStatus.isGreaterThan(BatchStatus other) booleanBatchStatus.isLessThan(BatchStatus other) booleanBatchStatus.isLessThanOrEqualTo(BatchStatus other) static BatchStatusBatchStatus.max(BatchStatus status1, BatchStatus status2) Convenience method to return the higher value status of the statuses passed to the method.voidJobExecution.setStatus(BatchStatus status) Set the value of thestatusfield.voidStepExecution.setStatus(BatchStatus status) Sets the current status of this step.voidJobExecution.upgradeStatus(BatchStatus status) Upgrade thestatusfield if the provided value is greater than the existing one.voidStepExecution.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.Constructors in org.springframework.batch.core with parameters of type BatchStatusModifierConstructorDescriptionJobInterruptedException(String msg, BatchStatus status) Constructor that sets the message for the exception. -
Uses of BatchStatus in org.springframework.batch.core.job.flow
Methods in org.springframework.batch.core.job.flow that return BatchStatusModifier and TypeMethodDescriptionprotected BatchStatusJobFlowExecutor.findBatchStatus(FlowExecutionStatus status)