Closed sverhoeven closed 5 years ago
Current plan:
Replace submitBatchJob(JobDescription description)
with scheduler.submitJob(AbstractJobDescription description)
.
Make the original JobDescription is a subclass of AbstractJobDescription.
Add JobScriptPath class which is a subclass of AbstractJobDescription to submit script with path as location. Add JobScript class which is a subclass of AbstractJobDescription to submit the script content. JobScriptPath and JobScript classes will be specific to the adaptor and should be clearly marked as being an escape hatch.
New plan: Use description.setSchedulerArguments() as an escape hatch. Remove API to submit a job script.
JobOptions property has been removed. So has the job script as a consequence.
For now the only escape hatch is to use the SchedulerArguments methods. If there is a need for script submission a new issue can be created.
When #628 and #627 are solved then this will be the only value allowed in the JobOption map.