[jboss-jira] [JBoss JIRA] Closed: (JBPM-504) improve sub process variable handling and make variable method names consistent
Tom Baeyens (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 08:51:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-504?page=all ]
Tom Baeyens closed JBPM-504.
----------------------------
Resolution: Done
the missing variable methods were added.
but the variable lookup propagation to super process instances is rejected.
> improve sub process variable handling and make variable method names consistent
> -------------------------------------------------------------------------------
>
> Key: JBPM-504
> URL: http://jira.jboss.com/jira/browse/JBPM-504
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Core Engine
> Reporter: Tom Baeyens
> Assigned To: Tom Baeyens
> Fix For: jBPM jPDL 3.2.1
>
>
> 1) improve sub process variables:
> maybe a sub process could specify in it's definition what variables are delegated to the super process. e.g.
> <process-definition...>
> <super-process-variables>
> <variable name="..." access="..." mapped-name="..." />
> <variable name="..." access="..." mapped-name="..." />
> <variable name="..." access="..." mapped-name="..." />
> ...
> </super-process-variables>
> ...
> that would make it easier to write reusable subprocesses. by default, the variable-lookups could propagate from sub-process to super-process.
> but for variable creation and variable setting, things are a bit more complicated : you cannot just propagate variable creation to a super process.
> 2) make variable method names more consistent:
> getVariable
> getVariables
> getVariableLocally
> hasVariable
> setVariable
> setVariables
> setVariableLocally
> createVariable should be replaced with setVariableLocally
> addVariables should be replaced with setVariables
> setVariables should be interpreted as a Collections.addAll(): no functionality should be provided for the replacement of the variables map as in a bean-style setter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list