Bugzilla – Bug 4561
Parameters apply to a JobExecution
Last modified: 2013-01-23 18:57:45 UTC
In section 7.8.10 on page 99, a method JobOperator#getParameters(JobInstance instance) is defined. However, per the spec, job parameters are associated with a JobExecution, not an instance. How does this work?
This bug is just a different perspective on the same issue raised in http://java.net/bugzilla/show_bug.cgi?id=4562
A little history:
The public draft defined restart parameters and therefore parameters were per execution.
There was some uproar over restart parameters, so it was removed in the proposed final draft. The parameters should have moved from JobExecution to JobInstance as part of that update, but did not. That was an oversight.
Let's allow resolution of Bug 4562 to determine whether or not the spec defines restart parameters and expect that resolution to also address the placement of getJobParameters() on JobExecution vs JobInstance.
*** This bug has been marked as a duplicate of bug 4562 ***