Bug 4777 - SPEC - Ability to retrieve JobExecution straight from the JobContext
SPEC - Ability to retrieve JobExecution straight from the JobContext
Status: RESOLVED MOVED
Product: jbatch
Classification: Unclassified
Component: source
1
All All
: P5 enhancement
: ---
Assigned To: cvignola
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-11 21:28 UTC by mminella
Modified: 2013-03-16 21:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.