Bug 4777

Summary: SPEC - Ability to retrieve JobExecution straight from the JobContext
Product: jbatch Reporter: mminella
Component: sourceAssignee: cvignola
Severity: enhancement CC: issues
Priority: P5    
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: All   

Description mminella 2013-03-11 21:28:37 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.
Comment 1 cvignola 2013-03-16 21:09:41 UTC
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.