[jboss-jira] [JBoss JIRA] Resolved: (GPD-190) Add policy methods like canStart() and canStop() to NodeElement interface

Koen Aers (JIRA) jira-events at lists.jboss.org
Wed Jan 7 22:45:04 EST 2009


     [ https://jira.jboss.org/jira/browse/GPD-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers resolved GPD-190.
---------------------------

    Resolution: Out of Date


The 3.2 branch will not be continued except for bugs. 

> Add policy methods like canStart() and canStop() to NodeElement interface
> -------------------------------------------------------------------------
>
>                 Key: GPD-190
>                 URL: https://jira.jboss.org/jira/browse/GPD-190
>             Project: JBoss jBPM GPD
>          Issue Type: Feature Request
>         Environment: Does not matter
>            Reporter: Matthias Hanisch
>            Assignee: Koen Aers
>         Attachments: gpd-190.diff
>
>
> NodeGraphicalNodeEditPolicy.canStart() method consists of a sum of instanceof checks. Same for canStop().
> Especially if you want to create own special nodes, it would be easier if canStart(), canStop() would be implemented by NodeElement interface (there we have the idea of transactions, too).
> Another policy method which does not exist yet (I just have a use case for that) would be
> 	boolean needsNamedTransitions()
> to specify that a node wants all its leaving transactions to be named.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list