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

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


org.drools.ruleflow.core.impl
Class StartNode

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

public class StartNode
extends Node
implements IStartNode

Default implementation of a start 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
StartNode()
           
 
Method Summary
 IConnection getTo()
          Convenience method for returning the outgoing 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 validateRemoveIncomingConnection(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, 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

StartNode

public StartNode()
Method Detail

getTo

public IConnection getTo()
Description copied from interface: IStartNode
Convenience method for returning the outgoing IConnection.

Specified by:
getTo in interface IStartNode
Returns:
the outgoing IConnection

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

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

validateRemoveIncomingConnection

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

Overrides:
validateRemoveIncomingConnection in class Node
Parameters:
connection - the incoming connection


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