public class BatchWorkflowManager extends Object
| Constructor and Description |
|---|
BatchWorkflowManager(org.springframework.batch.core.explore.JobExplorer jobExplorer,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.Job job) |
| Modifier and Type | Method and Description |
|---|---|
static BatchWorkflowManager |
createTestInstance() |
org.springframework.batch.core.JobExecution |
launchWorkflowJob(String workflowDesc) |
void |
processWorkflow(String workflow) |
public BatchWorkflowManager(org.springframework.batch.core.explore.JobExplorer jobExplorer,
org.springframework.batch.core.repository.JobRepository jobRepository,
org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.Job job)
public void processWorkflow(String workflow)
public org.springframework.batch.core.JobExecution launchWorkflowJob(String workflowDesc) throws org.springframework.batch.core.repository.JobExecutionAlreadyRunningException, org.springframework.batch.core.repository.JobRestartException, org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException, org.springframework.batch.core.JobParametersInvalidException
org.springframework.batch.core.repository.JobExecutionAlreadyRunningExceptionorg.springframework.batch.core.repository.JobRestartExceptionorg.springframework.batch.core.repository.JobInstanceAlreadyCompleteExceptionorg.springframework.batch.core.JobParametersInvalidExceptionpublic static BatchWorkflowManager createTestInstance()
Copyright © 2015. All rights reserved.