Example usage for Java org.springframework.batch.core StepExecution fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | addFailureException(Throwable throwable) |
void | apply(StepContribution contribution) On successful execution just before a chunk commit, this method should be called. |
boolean | equals(Object obj) |
int | getCommitCount() Returns the current number of commits for this execution |
Date | getEndTime() Returns the time that this execution ended |
ExecutionContext | getExecutionContext() Returns the ExecutionContext for this execution |
ExitStatus | getExitStatus() |
List | getFailureExceptions() |
int | getFilterCount() Returns the current number of items filtered out of this execution |
Long | getId() |
JobExecution | getJobExecution() Accessor for the execution context information of the enclosing job. |
Long | getJobExecutionId() Accessor for the job execution id. |
JobParameters | getJobParameters() Convenience method to get the current job parameters. |
Date | getLastUpdated() |
int | getProcessSkipCount() |
int | getReadCount() Returns the current number of items read for this execution |
int | getReadSkipCount() |
int | getRollbackCount() Returns the current number of rollbacks for this execution |
int | getSkipCount() |
Date | getStartTime() Gets the time this execution started |
BatchStatus | getStatus() Returns the current status of this step |
String | getStepName() |
String | getSummary() |
Integer | getVersion() |
int | getWriteCount() Returns the current number of items written for this execution |
int | getWriteSkipCount() |
void | incrementVersion() Increment the version number |
boolean | isTerminateOnly() |
void | setCommitCount(int commitCount) Sets the current number of commits for this execution |
void | setEndTime(Date endTime) Sets the time that this execution ended |
void | setExecutionContext(ExecutionContext executionContext) Sets the ExecutionContext for this execution |
void | setExitStatus(ExitStatus exitStatus) |
void | setFilterCount(int filterCount) Public setter for the number of items filtered out of this execution. |
void | setId(Long id) |
void | setLastUpdated(Date lastUpdated) Set the time when the StepExecution was last updated before persisting |
void | setProcessSkipCount(int processSkipCount) Set the number of records skipped during processing. |
void | setReadCount(int readCount) Sets the current number of read items for this execution |
void | setReadSkipCount(int readSkipCount) Set the number of records skipped on read |
void | setRollbackCount(int rollbackCount) Setter for number of rollbacks for this execution |
void | setStartTime(Date startTime) Sets the time this execution started |
void | setStatus(BatchStatus status) Sets the current status of this step |
void | setTerminateOnly() Set a flag that will signal to an execution environment that this execution (and its surrounding job) wishes to exit. |
void | setVersion(Integer version) Public setter for the version needed only by repository methods. |
void | setWriteCount(int writeCount) Sets the current number of written items for this execution |
void | setWriteSkipCount(int writeSkipCount) Set the number of records skipped on write |
String | toString() |
void | upgradeStatus(BatchStatus status) Upgrade the status field if the provided value is greater than the existing one. |