Java org.springframework.batch.core StepExecution fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core StepExecution fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core StepExecution.

The text is from its open source code.

Constructor

StepExecution(String stepName, JobExecution jobExecution)
Constructor that substitutes in null for the execution id
StepExecution(String stepName, JobExecution jobExecution, Long id)
Constructor with mandatory properties.

Method

voidaddFailureException(Throwable throwable)
voidapply(StepContribution contribution)
On successful execution just before a chunk commit, this method should be called.
booleanequals(Object obj)
intgetCommitCount()
Returns the current number of commits for this execution
DategetEndTime()
Returns the time that this execution ended
ExecutionContextgetExecutionContext()
Returns the ExecutionContext for this execution
ExitStatusgetExitStatus()
ListgetFailureExceptions()
intgetFilterCount()
Returns the current number of items filtered out of this execution
LonggetId()
JobExecutiongetJobExecution()
Accessor for the execution context information of the enclosing job.
LonggetJobExecutionId()
Accessor for the job execution id.
JobParametersgetJobParameters()
Convenience method to get the current job parameters.
DategetLastUpdated()
intgetProcessSkipCount()
intgetReadCount()
Returns the current number of items read for this execution
intgetReadSkipCount()
intgetRollbackCount()
Returns the current number of rollbacks for this execution
intgetSkipCount()
DategetStartTime()
Gets the time this execution started
BatchStatusgetStatus()
Returns the current status of this step
StringgetStepName()
StringgetSummary()
IntegergetVersion()
intgetWriteCount()
Returns the current number of items written for this execution
intgetWriteSkipCount()
voidincrementVersion()
Increment the version number
booleanisTerminateOnly()
voidsetCommitCount(int commitCount)
Sets the current number of commits for this execution
voidsetEndTime(Date endTime)
Sets the time that this execution ended
voidsetExecutionContext(ExecutionContext executionContext)
Sets the ExecutionContext for this execution
voidsetExitStatus(ExitStatus exitStatus)
voidsetFilterCount(int filterCount)
Public setter for the number of items filtered out of this execution.
voidsetId(Long id)
voidsetLastUpdated(Date lastUpdated)
Set the time when the StepExecution was last updated before persisting
voidsetProcessSkipCount(int processSkipCount)
Set the number of records skipped during processing.
voidsetReadCount(int readCount)
Sets the current number of read items for this execution
voidsetReadSkipCount(int readSkipCount)
Set the number of records skipped on read
voidsetRollbackCount(int rollbackCount)
Setter for number of rollbacks for this execution
voidsetStartTime(Date startTime)
Sets the time this execution started
voidsetStatus(BatchStatus status)
Sets the current status of this step
voidsetTerminateOnly()
Set a flag that will signal to an execution environment that this execution (and its surrounding job) wishes to exit.
voidsetVersion(Integer version)
Public setter for the version needed only by repository methods.
voidsetWriteCount(int writeCount)
Sets the current number of written items for this execution
voidsetWriteSkipCount(int writeSkipCount)
Set the number of records skipped on write
StringtoString()
voidupgradeStatus(BatchStatus status)
Upgrade the status field if the provided value is greater than the existing one.