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

Matthias Hanisch (JIRA) jira-events at lists.jboss.org
Fri Nov 23 08:00:19 EST 2007


Add policy methods like canStart() and canStop() to NodeElement interface
-------------------------------------------------------------------------

                 Key: GPD-190
                 URL: http://jira.jboss.com/jira/browse/GPD-190
             Project: JBoss jBPM GPD
          Issue Type: Feature Request
         Environment: Does not matter
            Reporter: Matthias Hanisch
         Assigned To: Koen Aers


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: 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