]
Tom Baeyens updated JBPM-2576:
------------------------------
Fix Version/s: jBPM 4.3
(was: jBPM 4.x)
Extending HistorySession - add public getters in HistoryEvents
--------------------------------------------------------------
Key: JBPM-2576
URL:
https://jira.jboss.org/jira/browse/JBPM-2576
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Torsten R
Assignee: Tom Baeyens
Fix For: jBPM 4.3
To deliver status and event information live to another system another HistorySession
could be used. To be able to plug a new HistorySession into jBPM the event classes should
have getter methods to give access to the event specific data.
If possible, I can take care of these changes.... Testing should be simple for me, as I
need these methods :-)
Event: ActivityEnd, DecisionEnd
Public getter for: transitionName
Event: TaskActivityStart, TaskAssign, TaskCreated, TaskDelete, TaskUpdated
Public getter for: task
Event: TaskAssign
Public getter for: assignee
Event: TaskComplete
Public getter for: outcome
Event: TaskDelete
Public getter for: reason
Event: VariableCreate, VariableUpdate
Public getter for: variable
In addition the Binding for HistorySessionChain is missing:
public class HistorySessionChainBinding extends WireDescriptorBinding {
private static final String HISTORY_SESSION_CHAIN_TAG =
"history-session-chain";
public HistorySessionChainBinding() {
super(HISTORY_SESSION_CHAIN_TAG);
}
public Object parse(Element element, Parse parse, Parser parser) {
ObjectDescriptor objectDescriptor = new ObjectDescriptor(HistorySessionChain.class);
ListBinding listBinding = new ListBinding();
ListDescriptor listDescriptor = (ListDescriptor) listBinding.parse(element, parse,
parser);
objectDescriptor.addInjection("delegates", listDescriptor);
return objectDescriptor;
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: