I have implemented a JavaDelegate and have found that the DelegateExecution interface just doesnt give me enough information from what I know is available through the implementation.
In particular I would like:
public String getProcessDefinitionId()
public String getParent()