Package org.apache.fineract.cob.common
Class CustomJobParameterResolver
java.lang.Object
org.apache.fineract.cob.common.CustomJobParameterResolver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomJobParameterById(org.springframework.batch.core.StepExecution stepExecution, String key) getCustomJobParameterSet(org.springframework.batch.core.StepExecution stepExecution) Get parameter set from custom job parameter tablevoidresolve(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext, String customJobParameterKey, String parameterNameInExecutionContext)
-
Field Details
-
gson
protected com.google.gson.Gson gson
-
-
Constructor Details
-
CustomJobParameterResolver
public CustomJobParameterResolver()
-
-
Method Details
-
resolve
-
getCustomJobParameterSet
public Optional<Set<JobParameterDTO>> getCustomJobParameterSet(org.springframework.batch.core.StepExecution stepExecution) Get parameter set from custom job parameter table- Parameters:
stepExecution-- Returns:
-
getCustomJobParameterById
-