@Component public class RestoreJobBuilder extends AbstractJobBuilder implements BatchJobBuilder<Restoration>
| Constructor and Description |
|---|
RestoreJobBuilder(RestoreJobExecutionListener jobListener,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
org.springframework.core.task.TaskExecutor taskExecutor,
RestoreManager restoreManager,
SnapshotContentItemRepo snapshotContentItemRepo,
StoreClientHelper storeClientHelper) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.core.JobParameters |
buildIdentifyingJobParameters(Restoration restoration) |
org.springframework.batch.core.Job |
buildJob(Restoration restoration,
SnapshotJobManagerConfig jobManagerConfig)
Creates a job for the specified entity;
|
org.springframework.batch.core.JobParameters |
buildJobParameters(Restoration entity) |
String |
getJobName() |
setThrottleLimitForContentTransfers@Autowired public RestoreJobBuilder(RestoreJobExecutionListener jobListener, org.springframework.batch.core.repository.JobRepository jobRepository, org.springframework.transaction.PlatformTransactionManager transactionManager, @Qualifier(value="itemTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor, RestoreManager restoreManager, SnapshotContentItemRepo snapshotContentItemRepo, StoreClientHelper storeClientHelper)
public org.springframework.batch.core.Job buildJob(Restoration restoration, SnapshotJobManagerConfig jobManagerConfig) throws SnapshotException
BatchJobBuilderbuildJob in interface BatchJobBuilder<Restoration>SnapshotExceptionpublic org.springframework.batch.core.JobParameters buildIdentifyingJobParameters(Restoration restoration)
buildIdentifyingJobParameters in interface BatchJobBuilder<Restoration>public org.springframework.batch.core.JobParameters buildJobParameters(Restoration entity)
buildJobParameters in interface BatchJobBuilder<Restoration>public String getJobName()
getJobName in interface BatchJobBuilder<Restoration>Copyright © 2014–2016 DuraSpace. All rights reserved.