public final class DefaultJobExecutionSelector extends Object implements JobExecutionSelector
Constructor and Description |
---|
DefaultJobExecutionSelector(Boolean excludeRunningJobExecutions) |
Modifier and Type | Method and Description |
---|---|
javax.batch.runtime.context.JobContext |
getJobContext() |
javax.batch.runtime.context.StepContext |
getStepContext() |
boolean |
select(javax.batch.runtime.JobExecution jobExecution,
Collection<Long> allJobExecutionIds) |
void |
setJobContext(javax.batch.runtime.context.JobContext jobContext) |
void |
setStepContext(javax.batch.runtime.context.StepContext stepContext) |
public DefaultJobExecutionSelector(Boolean excludeRunningJobExecutions)
public boolean select(javax.batch.runtime.JobExecution jobExecution, Collection<Long> allJobExecutionIds)
select
in interface JobExecutionSelector
public javax.batch.runtime.context.JobContext getJobContext()
getJobContext
in interface JobExecutionSelector
public void setJobContext(javax.batch.runtime.context.JobContext jobContext)
setJobContext
in interface JobExecutionSelector
public javax.batch.runtime.context.StepContext getStepContext()
getStepContext
in interface JobExecutionSelector
public void setStepContext(javax.batch.runtime.context.StepContext stepContext)
setStepContext
in interface JobExecutionSelector
Copyright © 2017 JBoss by Red Hat. All rights reserved.