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

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

Introduction

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

The text is from its open source code.

Constructor

Method

voidaddFailureException(Throwable t)
Add the provided throwable to the failure exception list.
voidaddStepExecutions(List stepExecutions)
Add some step executions.
StepExecutioncreateStepExecution(String stepName)
Register a step execution with the current job execution.
ListgetAllFailureExceptions()
Return all failure causing exceptions for this JobExecution, including step executions.
DategetCreateTime()
DategetEndTime()
ExecutionContextgetExecutionContext()
Returns the ExecutionContext for this execution.
ExitStatusgetExitStatus()
ListgetFailureExceptions()
LonggetId()
StringgetJobConfigurationName()
LonggetJobId()
Convenience getter for for the id of the enclosing job.
JobInstancegetJobInstance()
JobParametersgetJobParameters()
DategetLastUpdated()
Get the date representing the last time this JobExecution was updated in the JobRepository.
DategetStartTime()
BatchStatusgetStatus()
CollectiongetStepExecutions()
Accessor for the step executions.
IntegergetVersion()
voidincrementVersion()
Increment the version number
booleanisRunning()
Test if this JobExecution indicates that it is running.
booleanisStopping()
Test if this JobExecution indicates that it has been signalled to stop.
voidsetCreateTime(Date createTime)
voidsetEndTime(Date endTime)
voidsetExecutionContext(ExecutionContext executionContext)
Sets the ExecutionContext for this execution
voidsetExitStatus(ExitStatus exitStatus)
voidsetId(Long id)
voidsetJobInstance(JobInstance jobInstance)
voidsetLastUpdated(Date lastUpdated)
Set the last time this JobExecution was updated.
voidsetStartTime(Date startTime)
voidsetStatus(BatchStatus status)
Set the value of the status field.
voidsetVersion(Integer version)
Public setter for the version needed only by repository methods.
voidstop()
Signal the JobExecution to stop.
StringtoString()
voidupgradeStatus(BatchStatus status)
Upgrade the status field if the provided value is greater than the existing one.