|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.ruleflow.core.impl.Connection
public class Connection
Default implementation of a connection.
| Field Summary |
|---|
| Fields inherited from interface org.drools.ruleflow.core.IConnection |
|---|
TYPE_ABORT, TYPE_NORMAL |
| Constructor Summary | |
|---|---|
Connection(INode from,
INode to,
int type)
Creates a new connection, given a from node, a to node and a type. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
INode |
getFrom()
Returns the from node of the connection. |
INode |
getTo()
Returns the to node of the connection |
int |
getType()
Returns the connection type |
int |
hashCode()
|
void |
terminate()
Destroys the connection. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Connection(INode from, INode to, int type)
from - The from nodeto - The to nodetype - The connection type| Method Detail |
|---|
public void terminate()
IConnectionto and from nodes.
Onces a connection is destroyed, all methods throw
an IllegalStateException.
terminate in interface IConnectionpublic INode getFrom()
IConnection
getFrom in interface IConnectionpublic INode getTo()
IConnection
getTo in interface IConnectionpublic int getType()
IConnection
getType in interface IConnectionpublic boolean equals(Object object)
public int hashCode()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||