@Component public class SnapshotJobBuilder extends Object implements BatchJobBuilder<Snapshot>
| Constructor and Description |
|---|
SnapshotJobBuilder(SnapshotJobExecutionListener jobListener,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
org.springframework.core.task.TaskExecutor taskExecutor,
SnapshotManager snapshotManager,
StoreClientHelper storeClientHelper) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.core.JobParameters |
buildIdentifyingJobParameters(Snapshot snapshot) |
org.springframework.batch.core.Job |
buildJob(Snapshot snapshot,
SnapshotJobManagerConfig config)
Creates a job for the specified entity;
|
org.springframework.batch.core.JobParameters |
buildJobParameters(Snapshot snapshot) |
String |
getJobName() |
@Autowired public SnapshotJobBuilder(SnapshotJobExecutionListener jobListener, org.springframework.batch.core.repository.JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager, @Qualifier(value="itemTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor, SnapshotManager snapshotManager, StoreClientHelper storeClientHelper)
public org.springframework.batch.core.Job buildJob(Snapshot snapshot, SnapshotJobManagerConfig config) throws SnapshotException
BatchJobBuilderbuildJob in interface BatchJobBuilder<Snapshot>SnapshotExceptionpublic org.springframework.batch.core.JobParameters buildIdentifyingJobParameters(Snapshot snapshot)
buildIdentifyingJobParameters in interface BatchJobBuilder<Snapshot>public org.springframework.batch.core.JobParameters buildJobParameters(Snapshot snapshot)
buildJobParameters in interface BatchJobBuilder<Snapshot>public String getJobName()
getJobName in interface BatchJobBuilder<Snapshot>Copyright © 2014–2015 DuraSpace. All rights reserved.