Package com.carfey.ops.job
Interface ConfigGeneratingJob
-
- All Superinterfaces:
SchedulableJob
public interface ConfigGeneratingJob extends SchedulableJob
This interface can be implemented to dynamically add configuration viaJobParametervalues. The implemented method is invoked during validation and at runtime, and is merged with all other configured parameters and supplied in theJobConfigsupplied to the executing job.These values are not saved and are re-generated for each job execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConfigGeneratingJob.GeneratedParameterNot meant for public use-
Nested classes/interfaces inherited from interface com.carfey.ops.job.SchedulableJob
SchedulableJob.AsyncJob, SchedulableJob.Initializable, SchedulableJob.InitializableChainAnnotation, SchedulableJob.InitializableChainConditionAnnotation, SchedulableJob.RepeatableInitializableAnnotation, SchedulableJob.Schedulable, SchedulableJob.ScheduledRun
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JobParameter>getExtraJobParameters(JobConfig config)Returns the list of additional job parameters to merge with saved parameters.-
Methods inherited from interface com.carfey.ops.job.SchedulableJob
execute
-
-
-
-
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
-
-