Example usage for Java org.springframework.batch.core.scope.context StepContext fields, constructors, methods, implement or subclass
The text is from its open source code.
StepContext(StepExecution stepExecution) Create a new instance of StepContext for this StepExecution . |
Object | getAttribute(String name) |
String | getId() |
String | getJobName() Convenient accessor for current job name identifier. |
StepExecution | getStepExecution() The current StepExecution that is active in this context. |
Map | getStepExecutionContext() |
String | getStepName() Convenient accessor for current step name identifier. |
void | registerDestructionCallback(String name, Runnable callback) Allow clients to register callbacks for clean up on close. |
Object | removeAttribute(String name) Override base class behaviour to ensure destruction callbacks are unregistered as well as the default behaviour. |
void | setAttribute(String name, Object value) |