Class JobStarter
java.lang.Object
org.apache.fineract.infrastructure.jobs.service.JobStarter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJobParameter(ScheduledJobDetail scheduledJobDetail) provideCustomJobParameters(String jobName, Set<JobParameterDTO> jobParameterDTOSet) org.springframework.batch.core.JobExecutionrun(org.springframework.batch.core.Job job, ScheduledJobDetail scheduledJobDetail, Set<JobParameterDTO> jobParameterDTOSet, String tenantIdentifier)
-
Field Details
-
FAILED_STATUSES
-
-
Constructor Details
-
JobStarter
public JobStarter()
-
-
Method Details
-
run
public org.springframework.batch.core.JobExecution run(org.springframework.batch.core.Job job, ScheduledJobDetail scheduledJobDetail, Set<JobParameterDTO> jobParameterDTOSet, String tenantIdentifier) throws org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException, org.springframework.batch.core.repository.JobExecutionAlreadyRunningException, org.springframework.batch.core.JobParametersInvalidException, org.springframework.batch.core.repository.JobRestartException, org.quartz.JobExecutionException - Throws:
org.springframework.batch.core.repository.JobInstanceAlreadyCompleteExceptionorg.springframework.batch.core.repository.JobExecutionAlreadyRunningExceptionorg.springframework.batch.core.JobParametersInvalidExceptionorg.springframework.batch.core.repository.JobRestartExceptionorg.quartz.JobExecutionException
-
getJobParameter
protected Map<String,org.springframework.batch.core.JobParameter<?>> getJobParameter(ScheduledJobDetail scheduledJobDetail) -
provideCustomJobParameters
protected Map<String,org.springframework.batch.core.JobParameter<?>> provideCustomJobParameters(String jobName, Set<JobParameterDTO> jobParameterDTOSet)
-