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

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


org.drools.ruleflow.core.impl
Class EndNode

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

public class EndNode
extends Node
implements IEndNode

Default implementation of an end 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
EndNode()
           
 
Method Summary
 IConnection getFrom()
          Convenience method for returning the incoming IConnection.
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.
protected  void validateRemoveOutgoingConnection(IConnection connection)
          This method validates whether the given connection can be removed
 
Methods inherited from class org.drools.ruleflow.core.impl.Node
addIncomingConnection, addOutgoingConnection, getId, getIncomingConnections, getName, getOutgoingConnections, removeIncomingConnection, removeOutgoingConnection, setId, setName, validateRemoveIncomingConnection
 
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

EndNode

public EndNode()
Method Detail

getFrom

public IConnection getFrom()
Description copied from interface: IEndNode
Convenience method for returning the incoming IConnection.

Specified by:
getFrom in interface IEndNode
Returns:
the incoming IConnection

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

validateRemoveOutgoingConnection

protected void validateRemoveOutgoingConnection(IConnection connection)
Description copied from class: Node
This method validates whether the given connection can be removed

Overrides:
validateRemoveOutgoingConnection in class Node
Parameters:
connection - the outgoing connection


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