Bugzilla – Bug 4777
SPEC - Ability to retrieve JobExecution straight from the JobContext
Last modified: 2013-03-16 21:09:41 UTC
It would be nice to have a bit of a hierarchy within the contexts to allow easier access (than having to go back to the JobOperator for everything). For example, it would be nice to be able to get the JobExecution from the JobContext and get the JobInstance from the JobExecution. A similar line of hierarchy would also be nice from the StepContext.
This is a reasonable suggestion, although I will point out there is little in the executions that is not available in the contexts. So the use case for easy access from context to execution is probably not that strong. It's late for this kind of enhancement, so I think we need to consider it for a future spec revision.