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

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


org.drools.ruleflow.core.impl
Class RuleSetNode

java.lang.Object
  extended by org.drools.ruleflow.core.impl.Node
      extended by org.drools.ruleflow.core.impl.RuleSetNode
All Implemented Interfaces:
Serializable, INode, IRuleSetNode

public class RuleSetNode
extends Node
implements IRuleSetNode

Default implementation of a RuleSet node.

Author:
Kris Verlaenen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.ruleflow.core.impl.Node
EMPTY_NODE_ARRAY
 
Constructor Summary
RuleSetNode()
           
 
Method Summary
 IConnection getFrom()
          Returns the incoming connection of the RuleSetNode.
 String getRuleFlowGroup()
          Returns the ruleflow-group of the RuleSetNode.
 IConnection getTo()
          Returns the outgoing connection of the RuleSetNode.
 void setRuleFlowGroup(String ruleFlowGroup)
          Sets the ruleflow-group of the RuleSetNode.
protected  void validateAddIncomingConnection(IConnection connection)
          This method validates whether the given connection can be added.
protected  void validateAddOutgoingConnection(IConnection connection)
          This method validates whether the given connection can be added.
 
Methods inherited from class org.drools.ruleflow.core.impl.Node
addIncomingConnection, addOutgoingConnection, getId, getIncomingConnections, getName, getOutgoingConnections, removeIncomingConnection, removeOutgoingConnection, setId, setName, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.ruleflow.core.INode
getId, getIncomingConnections, getName, getOutgoingConnections, setId, setName
 

Constructor Detail

RuleSetNode

public RuleSetNode()
Method Detail

setRuleFlowGroup

public void setRuleFlowGroup(String ruleFlowGroup)
Description copied from interface: IRuleSetNode
Sets the ruleflow-group of the RuleSetNode.

Specified by:
setRuleFlowGroup in interface IRuleSetNode
Parameters:
ruleFlowGroup - The ruleflow-group of the RuleSetNode

getRuleFlowGroup

public String getRuleFlowGroup()
Description copied from interface: IRuleSetNode
Returns the ruleflow-group of the RuleSetNode.

Specified by:
getRuleFlowGroup in interface IRuleSetNode
Returns:
the ruleflow-group of the RuleSetNode.

getFrom

public IConnection getFrom()
Description copied from interface: IRuleSetNode
Returns the incoming connection of the RuleSetNode.

Specified by:
getFrom in interface IRuleSetNode
Returns:
the incoming connection of the RuleSetNode.

getTo

public IConnection getTo()
Description copied from interface: IRuleSetNode
Returns the outgoing connection of the RuleSetNode.

Specified by:
getTo in interface IRuleSetNode
Returns:
the outgoing connection of the RuleSetNode.

validateAddIncomingConnection

protected void validateAddIncomingConnection(IConnection connection)
Description copied from class: Node
This method validates whether the given connection can be added. If the connection cannot be added, an IllegalArgumentException is thrown.

Overrides:
validateAddIncomingConnection in class Node
Parameters:
connection - the incoming connection to be added

validateAddOutgoingConnection

protected void validateAddOutgoingConnection(IConnection connection)
Description copied from class: Node
This method validates whether the given connection can be added. If the connection cannot be added, an IllegalArgumentException is thrown.

Overrides:
validateAddOutgoingConnection in class Node
Parameters:
connection - the outgoin connection to be added


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