Class CustomJobParameterResolver

java.lang.Object
org.apache.fineract.cob.common.CustomJobParameterResolver

@Component public class CustomJobParameterResolver extends Object
  • Field Details

    • gson

      protected com.google.gson.Gson gson
  • Constructor Details

    • CustomJobParameterResolver

      public CustomJobParameterResolver()
  • Method Details

    • resolve

      public void resolve(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext, String customJobParameterKey, String parameterNameInExecutionContext)
    • getCustomJobParameterSet

      public Optional<Set<JobParameterDTO>> getCustomJobParameterSet(org.springframework.batch.core.StepExecution stepExecution)
      Get parameter set from custom job parameter table
      Parameters:
      stepExecution -
      Returns:
    • getCustomJobParameterById

      public Optional<String> getCustomJobParameterById(org.springframework.batch.core.StepExecution stepExecution, String key)