| org.drools.ruleflow.core.Connection
All known Subclasses: org.drools.ruleflow.core.impl.ConnectionImpl,
Connection | public interface Connection (Code) | | Represents a connection between two nodes in a RuleFlow.
author: Kris Verlaenen |
TYPE_ABORT | int TYPE_ABORT(Code) | | |
TYPE_NORMAL | int TYPE_NORMAL(Code) | | The connection type
|
getFrom | Node getFrom()(Code) | | Returns the from node of the connection.
the from node of the connection. |
getTo | Node getTo()(Code) | | Returns the to node of the connection
the to node of the connection |
getType | int getType()(Code) | | Returns the connection type
the connection type |
terminate | void terminate()(Code) | | Destroys the connection. This method also removes the
connection on the to and from nodes.
Onces a connection is destroyed, all methods throw
an IllegalStateException .
|
|
|