|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.ruleflow.core.impl.NodeImpl
org.drools.ruleflow.core.impl.ActionNodeImpl
public class ActionNodeImpl
Default implementation of an action node.
Field Summary |
---|
Fields inherited from class org.drools.ruleflow.core.impl.NodeImpl |
---|
EMPTY_NODE_ARRAY |
Constructor Summary | |
---|---|
ActionNodeImpl()
|
Method Summary | |
---|---|
java.lang.Object |
getAction()
Returns the action of the ActionNode. |
Connection |
getFrom()
Returns the incoming connection of the ActionNode. |
Connection |
getTo()
Returns the outgoing connection of the ActionNode. |
void |
setAction(java.lang.Object action)
Sets the action of the ActionNode. |
protected void |
validateAddIncomingConnection(Connection connection)
This method validates whether the given connection can be added. |
protected void |
validateAddOutgoingConnection(Connection connection)
This method validates whether the given connection can be added. |
Methods inherited from class org.drools.ruleflow.core.impl.NodeImpl |
---|
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.Node |
---|
getId, getIncomingConnections, getName, getOutgoingConnections, setId, setName |
Constructor Detail |
---|
public ActionNodeImpl()
Method Detail |
---|
public java.lang.Object getAction()
ActionNode
getAction
in interface ActionNode
public void setAction(java.lang.Object action)
ActionNode
setAction
in interface ActionNode
public Connection getFrom()
ActionNode
getFrom
in interface ActionNode
public Connection getTo()
ActionNode
getTo
in interface ActionNode
protected void validateAddIncomingConnection(Connection connection)
NodeImpl
validateAddIncomingConnection
in class NodeImpl
connection
- the incoming connection to be addedprotected void validateAddOutgoingConnection(Connection connection)
NodeImpl
validateAddOutgoingConnection
in class NodeImpl
connection
- the outgoin connection to be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |