Java org.springframework.batch.core.scope.context StepContext fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

StepContext(StepExecution stepExecution)
Create a new instance of StepContext for this StepExecution .

Method

ObjectgetAttribute(String name)
StringgetId()
StringgetJobName()
Convenient accessor for current job name identifier.
StepExecutiongetStepExecution()
The current StepExecution that is active in this context.
MapgetStepExecutionContext()
StringgetStepName()
Convenient accessor for current step name identifier.
voidregisterDestructionCallback(String name, Runnable callback)
Allow clients to register callbacks for clean up on close.
ObjectremoveAttribute(String name)
Override base class behaviour to ensure destruction callbacks are unregistered as well as the default behaviour.
voidsetAttribute(String name, Object value)