|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of StepExecution in org.springframework.batch.core |
---|
Methods in org.springframework.batch.core that return StepExecution | |
---|---|
StepExecution |
JobExecution.createStepExecution(String stepName)
Register a step execution with the current job execution. |
Methods in org.springframework.batch.core that return types with arguments of type StepExecution | |
---|---|
Collection<StepExecution> |
JobExecution.getStepExecutions()
Accessor for the step executions. |
Methods in org.springframework.batch.core with parameters of type StepExecution | |
---|---|
ExitStatus |
StepExecutionListener.afterStep(StepExecution stepExecution)
Give a listener a chance to modify the exit status from a step. |
void |
StepExecutionListener.beforeStep(StepExecution stepExecution)
Initialize the state of the listener with the StepExecution from
the current scope. |
void |
Step.execute(StepExecution stepExecution)
Process the step and assign progress and status meta information to the StepExecution provided. |
Method parameters in org.springframework.batch.core with type arguments of type StepExecution | |
---|---|
void |
JobExecution.addStepExecutions(List<StepExecution> stepExecutions)
Add some step executions. |
Constructors in org.springframework.batch.core with parameters of type StepExecution | |
---|---|
StepContribution(StepExecution execution)
|
Uses of StepExecution in org.springframework.batch.core.explore |
---|
Methods in org.springframework.batch.core.explore that return StepExecution | |
---|---|
StepExecution |
JobExplorer.getStepExecution(Long jobExecutionId,
Long stepExecutionId)
Retrieve a StepExecution by its id and parent
JobExecution id. |
Uses of StepExecution in org.springframework.batch.core.explore.support |
---|
Methods in org.springframework.batch.core.explore.support that return StepExecution | |
---|---|
StepExecution |
SimpleJobExplorer.getStepExecution(Long jobExecutionId,
Long executionId)
|
Uses of StepExecution in org.springframework.batch.core.job |
---|
Methods in org.springframework.batch.core.job that return StepExecution | |
---|---|
StepExecution |
StepHandler.handleStep(Step step,
JobExecution jobExecution)
Handle a step and return the execution for it. |
StepExecution |
SimpleStepHandler.handleStep(Step step,
JobExecution execution)
|
protected StepExecution |
AbstractJob.handleStep(Step step,
JobExecution execution)
Convenience method for subclasses to delegate the handling of a specific step in the context of the current JobExecution . |
Uses of StepExecution in org.springframework.batch.core.job.flow |
---|
Methods in org.springframework.batch.core.job.flow that return StepExecution | |
---|---|
StepExecution |
JobFlowExecutor.getStepExecution()
|
StepExecution |
FlowExecutor.getStepExecution()
|
Methods in org.springframework.batch.core.job.flow with parameters of type StepExecution | |
---|---|
FlowExecutionStatus |
JobExecutionDecider.decide(JobExecution jobExecution,
StepExecution stepExecution)
Strategy for branching an execution based on the state of an ongoing JobExecution . |
protected void |
FlowStep.doExecute(StepExecution stepExecution)
Delegate to the flow provided for the execution of the step. |
Uses of StepExecution in org.springframework.batch.core.listener |
---|
Methods in org.springframework.batch.core.listener with parameters of type StepExecution | |
---|---|
ExitStatus |
StepListenerSupport.afterStep(StepExecution stepExecution)
|
ExitStatus |
StepExecutionListenerSupport.afterStep(StepExecution stepExecution)
|
ExitStatus |
MulticasterBatchListener.afterStep(StepExecution stepExecution)
|
ExitStatus |
ExecutionContextPromotionListener.afterStep(StepExecution stepExecution)
|
ExitStatus |
CompositeStepExecutionListener.afterStep(StepExecution stepExecution)
Call the registered listeners in reverse order, respecting and prioritising those that implement Ordered . |
void |
StepListenerSupport.beforeStep(StepExecution stepExecution)
|
void |
StepExecutionListenerSupport.beforeStep(StepExecution stepExecution)
|
void |
MulticasterBatchListener.beforeStep(StepExecution stepExecution)
|
void |
JobParameterExecutionContextCopyListener.beforeStep(StepExecution stepExecution)
Copy attributes from the JobParameters to the Step
ExecutionContext , if not already present. |
void |
CompositeStepExecutionListener.beforeStep(StepExecution stepExecution)
Call the registered listeners in order, respecting and prioritising those that implement Ordered . |
Uses of StepExecution in org.springframework.batch.core.partition |
---|
Methods in org.springframework.batch.core.partition that return types with arguments of type StepExecution | |
---|---|
Collection<StepExecution> |
PartitionHandler.handle(StepExecutionSplitter stepSplitter,
StepExecution stepExecution)
Main entry point for PartitionHandler interface. |
Set<StepExecution> |
StepExecutionSplitter.split(StepExecution stepExecution,
int gridSize)
Partition the provided StepExecution into a set of parallel
executable instances with the same parent JobExecution . |
Methods in org.springframework.batch.core.partition with parameters of type StepExecution | |
---|---|
Collection<StepExecution> |
PartitionHandler.handle(StepExecutionSplitter stepSplitter,
StepExecution stepExecution)
Main entry point for PartitionHandler interface. |
Set<StepExecution> |
StepExecutionSplitter.split(StepExecution stepExecution,
int gridSize)
Partition the provided StepExecution into a set of parallel
executable instances with the same parent JobExecution . |
Uses of StepExecution in org.springframework.batch.core.partition.support |
---|
Methods in org.springframework.batch.core.partition.support that return types with arguments of type StepExecution | |
---|---|
Collection<StepExecution> |
TaskExecutorPartitionHandler.handle(StepExecutionSplitter stepExecutionSplitter,
StepExecution masterStepExecution)
|
Set<StepExecution> |
SimpleStepExecutionSplitter.split(StepExecution stepExecution,
int gridSize)
|
Methods in org.springframework.batch.core.partition.support with parameters of type StepExecution | |
---|---|
void |
StepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Take the inputs and aggregate, putting the aggregates into the result. |
void |
RemoteStepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Aggregates the input executions into the result StepExecution
delegating to the delegate aggregator once the input has been refreshed
from the JobExplorer . |
void |
DefaultStepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Aggregates the input executions into the result StepExecution . |
protected void |
PartitionStep.doExecute(StepExecution stepExecution)
Delegate execution to the PartitionHandler provided. |
Collection<StepExecution> |
TaskExecutorPartitionHandler.handle(StepExecutionSplitter stepExecutionSplitter,
StepExecution masterStepExecution)
|
Set<StepExecution> |
SimpleStepExecutionSplitter.split(StepExecution stepExecution,
int gridSize)
|
Method parameters in org.springframework.batch.core.partition.support with type arguments of type StepExecution | |
---|---|
void |
StepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Take the inputs and aggregate, putting the aggregates into the result. |
void |
RemoteStepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Aggregates the input executions into the result StepExecution
delegating to the delegate aggregator once the input has been refreshed
from the JobExplorer . |
void |
DefaultStepExecutionAggregator.aggregate(StepExecution result,
Collection<StepExecution> executions)
Aggregates the input executions into the result StepExecution . |
Uses of StepExecution in org.springframework.batch.core.repository |
---|
Methods in org.springframework.batch.core.repository that return StepExecution | |
---|---|
StepExecution |
JobRepository.getLastStepExecution(JobInstance jobInstance,
String stepName)
|
Methods in org.springframework.batch.core.repository with parameters of type StepExecution | |
---|---|
void |
JobRepository.add(StepExecution stepExecution)
Save the StepExecution and its ExecutionContext . |
void |
JobRepository.update(StepExecution stepExecution)
Update the StepExecution (but not its ExecutionContext ). |
void |
JobRepository.updateExecutionContext(StepExecution stepExecution)
Persist the updated ExecutionContext s of the given
StepExecution . |
Uses of StepExecution in org.springframework.batch.core.repository.dao |
---|
Methods in org.springframework.batch.core.repository.dao that return StepExecution | |
---|---|
StepExecution |
StepExecutionDao.getStepExecution(JobExecution jobExecution,
Long stepExecutionId)
Retrieve a StepExecution from its id. |
StepExecution |
MapStepExecutionDao.getStepExecution(JobExecution jobExecution,
Long stepExecutionId)
|
StepExecution |
JdbcStepExecutionDao.getStepExecution(JobExecution jobExecution,
Long stepExecutionId)
|
Methods in org.springframework.batch.core.repository.dao with parameters of type StepExecution | |
---|---|
ExecutionContext |
MapExecutionContextDao.getExecutionContext(StepExecution stepExecution)
|
ExecutionContext |
JdbcExecutionContextDao.getExecutionContext(StepExecution stepExecution)
|
ExecutionContext |
ExecutionContextDao.getExecutionContext(StepExecution stepExecution)
|
void |
MapExecutionContextDao.saveExecutionContext(StepExecution stepExecution)
|
void |
JdbcExecutionContextDao.saveExecutionContext(StepExecution stepExecution)
|
void |
ExecutionContextDao.saveExecutionContext(StepExecution stepExecution)
Persist the execution context associated with the given stepExecution, persistent entry for the context should not exist yet. |
void |
StepExecutionDao.saveStepExecution(StepExecution stepExecution)
Save the given StepExecution. |
void |
MapStepExecutionDao.saveStepExecution(StepExecution stepExecution)
|
void |
JdbcStepExecutionDao.saveStepExecution(StepExecution stepExecution)
Save a StepExecution. |
void |
MapExecutionContextDao.updateExecutionContext(StepExecution stepExecution)
|
void |
JdbcExecutionContextDao.updateExecutionContext(StepExecution stepExecution)
|
void |
ExecutionContextDao.updateExecutionContext(StepExecution stepExecution)
Persist the updates of execution context associated with the given stepExecution. |
void |
StepExecutionDao.updateStepExecution(StepExecution stepExecution)
Update the given StepExecution Preconditions: Id must not be null. |
void |
MapStepExecutionDao.updateStepExecution(StepExecution stepExecution)
|
void |
JdbcStepExecutionDao.updateStepExecution(StepExecution stepExecution)
|
Uses of StepExecution in org.springframework.batch.core.repository.support |
---|
Methods in org.springframework.batch.core.repository.support that return StepExecution | |
---|---|
StepExecution |
SimpleJobRepository.getLastStepExecution(JobInstance jobInstance,
String stepName)
|
Methods in org.springframework.batch.core.repository.support with parameters of type StepExecution | |
---|---|
void |
SimpleJobRepository.add(StepExecution stepExecution)
|
void |
SimpleJobRepository.update(StepExecution stepExecution)
|
void |
SimpleJobRepository.updateExecutionContext(StepExecution stepExecution)
|
Uses of StepExecution in org.springframework.batch.core.resource |
---|
Methods in org.springframework.batch.core.resource with parameters of type StepExecution | |
---|---|
void |
StepExecutionSimpleCompletionPolicy.beforeStep(StepExecution stepExecution)
Set up a SimpleCompletionPolicy with a commit interval taken from
the JobParameters . |
Uses of StepExecution in org.springframework.batch.core.scope.context |
---|
Methods in org.springframework.batch.core.scope.context that return StepExecution | |
---|---|
StepExecution |
StepContext.getStepExecution()
The current StepExecution that is active in this context. |
Methods in org.springframework.batch.core.scope.context with parameters of type StepExecution | |
---|---|
void |
StepScopeManager.execute(Step step,
StepExecution stepExecution)
|
static StepContext |
StepSynchronizationManager.register(StepExecution stepExecution)
Register a context with the current thread - always put a matching StepSynchronizationManager.close() call in a finally block to ensure that the correct
context is available in the enclosing block. |
Constructors in org.springframework.batch.core.scope.context with parameters of type StepExecution | |
---|---|
StepContext(StepExecution stepExecution)
Create a new instance of StepContext for this
StepExecution . |
|
StepContextRepeatCallback(StepExecution stepExecution)
|
Uses of StepExecution in org.springframework.batch.core.step |
---|
Methods in org.springframework.batch.core.step with parameters of type StepExecution | |
---|---|
ExitStatus |
NoWorkFoundStepExecutionListener.afterStep(StepExecution stepExecution)
|
void |
ThreadStepInterruptionPolicy.checkInterrupted(StepExecution stepExecution)
Returns if the current job lifecycle has been interrupted by checking if the current thread is interrupted. |
void |
StepInterruptionPolicy.checkInterrupted(StepExecution stepExecution)
Has the job been interrupted? |
protected abstract void |
AbstractStep.doExecute(StepExecution stepExecution)
Extension point for subclasses to execute business logic. |
void |
AbstractStep.execute(StepExecution stepExecution)
Template method for step execution logic - calls abstract methods for resource initialization ( AbstractStep.open(ExecutionContext) ), execution
logic (AbstractStep.doExecute(StepExecution) ) and resource closing (
AbstractStep.close(ExecutionContext) ). |
Uses of StepExecution in org.springframework.batch.core.step.job |
---|
Methods in org.springframework.batch.core.step.job with parameters of type StepExecution | |
---|---|
protected void |
JobStep.doExecute(StepExecution stepExecution)
Execute the job provided by delegating to the JobLauncher to
prevent duplicate executions. |
JobParameters |
JobParametersExtractor.getJobParameters(Job job,
StepExecution stepExecution)
Extract job parameters from the step execution, for example from the execution context or other properties. |
JobParameters |
DefaultJobParametersExtractor.getJobParameters(Job job,
StepExecution stepExecution)
|
Uses of StepExecution in org.springframework.batch.core.step.tasklet |
---|
Methods in org.springframework.batch.core.step.tasklet with parameters of type StepExecution | |
---|---|
void |
SystemCommandTasklet.beforeStep(StepExecution stepExecution)
Get a reference to StepExecution for interrupt checks during
system command execution. |
protected void |
TaskletStep.doExecute(StepExecution stepExecution)
Process the step and update its context so that progress can be monitored by the caller. |
Uses of StepExecution in org.springframework.batch.test |
---|
Methods in org.springframework.batch.test that return StepExecution | |
---|---|
static StepExecution |
MetaDataInstanceFactory.createStepExecution()
Create a StepExecution with default parameters. |
static StepExecution |
MetaDataInstanceFactory.createStepExecution(ExecutionContext executionContext)
Create a StepExecution and all its parent entities with default
values, but using the ExecutionContext provided. |
static StepExecution |
MetaDataInstanceFactory.createStepExecution(JobExecution jobExecution,
String stepName,
Long executionId)
Create a StepExecution with the parameters provided. |
static StepExecution |
MetaDataInstanceFactory.createStepExecution(JobParameters jobParameters)
Create a StepExecution and all its parent entities with default
values, but using the JobParameters provided. |
static StepExecution |
MetaDataInstanceFactory.createStepExecution(JobParameters jobParameters,
ExecutionContext executionContext)
Create a StepExecution and all its parent entities with default
values, but using the ExecutionContext and JobParameters
provided. |
static StepExecution |
MetaDataInstanceFactory.createStepExecution(String stepName,
Long executionId)
Create a StepExecution with the parameters provided. |
protected StepExecution |
StepScopeTestExecutionListener.getStepExecution(TestContext testContext)
Discover a StepExecution as a field in the test case or create
one if none is available. |
Methods in org.springframework.batch.test with parameters of type StepExecution | ||
---|---|---|
static
|
StepScopeTestUtils.doInStepScope(StepExecution stepExecution,
Callable<T> callable)
|
|
static
|
ExecutionContextTestUtils.getValueFromStep(StepExecution stepExecution,
String key)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |