当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
Join (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.ruleflow.core.impl
Class Join
java.lang.Object
org.drools.ruleflow.core.impl.Node
org.drools.ruleflow.core.impl.Join
- All Implemented Interfaces:
- Serializable, IJoin, INode
public class Join
- extends Node
- implements IJoin
Default implementation of a join.
- Author:
- Kris Verlaenen
- See Also:
- Serialized Form
Constructor Summary |
Join()
|
Methods inherited from class org.drools.ruleflow.core.impl.Node |
addIncomingConnection, addOutgoingConnection, getId, getIncomingConnections, getName, getOutgoingConnections, removeIncomingConnection, removeOutgoingConnection, setId, setName, validateAddIncomingConnection, validateRemoveIncomingConnection, validateRemoveOutgoingConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Join
public Join()
setType
public void setType(int type)
- Description copied from interface:
IJoin
- Sets the type of the join.
- Specified by:
setType
in interface IJoin
- Parameters:
type
- The type of the join
getType
public int getType()
- Description copied from interface:
IJoin
- Returns the type of the join.
- Specified by:
getType
in interface IJoin
- Returns:
- the type of the join.
getTo
public IConnection getTo()
- Description copied from interface:
IJoin
- Convenience method for returning the outgoing connection of the join
- Specified by:
getTo
in interface IJoin
- Returns:
- the outgoing connection of the join
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.