站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

IConnection (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.core
Interface IConnection

All Known Implementing Classes:
Connection

public interface IConnection

Represents a connection between two nodes in a RuleFlow.

Author:
Kris Verlaenen

Field Summary
static int TYPE_ABORT
           
static int TYPE_NORMAL
          The connection type
 
Method Summary
 INode getFrom()
          Returns the from node of the connection.
 INode getTo()
          Returns the to node of the connection
 int getType()
          Returns the connection type
 void terminate()
          Destroys the connection.
 

Field Detail

TYPE_NORMAL

static final int TYPE_NORMAL
The connection type

See Also:
Constant Field Values

TYPE_ABORT

static final int TYPE_ABORT
See Also:
Constant Field Values
Method Detail

getFrom

INode getFrom()
Returns the from node of the connection.

Returns:
the from node of the connection.

getTo

INode getTo()
Returns the to node of the connection

Returns:
the to node of the connection

getType

int getType()
Returns the connection type

Returns:
the connection type

terminate

void terminate()
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.



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.