Interface ConfigGeneratingJob

  • All Superinterfaces:
    SchedulableJob

    public interface ConfigGeneratingJob
    extends SchedulableJob
    This interface can be implemented to dynamically add configuration via JobParameter values. The implemented method is invoked during validation and at runtime, and is merged with all other configured parameters and supplied in the JobConfig supplied to the executing job.

    These values are not saved and are re-generated for each job execution.

    • Method Detail

      • getExtraJobParameters

        java.util.List<JobParameter> getExtraJobParameters​(JobConfig config)
                                                    throws ParameterException
        Returns the list of additional job parameters to merge with saved parameters.
        Parameters:
        config - the base saved configuration
        Returns:
        non-null list of job parameters to merge with the saved parameters.
        Throws:
        ParameterException - thrown for errors generating the job parameters