public interface JobExecutionSelector
Modifier and Type | Method and Description |
---|---|
javax.batch.runtime.context.JobContext |
getJobContext()
Gets the job context for this selector.
|
javax.batch.runtime.context.StepContext |
getStepContext()
Gets the step context.
|
boolean |
select(javax.batch.runtime.JobExecution jobExecution,
Collection<Long> allJobExecutionIds)
Determines if a job execution matches this selector's requirement.
|
void |
setJobContext(javax.batch.runtime.context.JobContext jobContext)
Sets the job context for this selector.
|
void |
setStepContext(javax.batch.runtime.context.StepContext stepContext)
Sets the step context for this selector.
|
boolean select(javax.batch.runtime.JobExecution jobExecution, Collection<Long> allJobExecutionIds)
jobExecution
- the job execution to check for matchallJobExecutionIds
- all job execution idsjobExecution
matches this selector's requirement; false otherwisejavax.batch.runtime.context.JobContext getJobContext()
void setJobContext(javax.batch.runtime.context.JobContext jobContext)
jobContext
- the job context for this selectorjavax.batch.runtime.context.StepContext getStepContext()
void setStepContext(javax.batch.runtime.context.StepContext stepContext)
stepContext
- the step contextCopyright © 2020 JBoss by Red Hat. All rights reserved.