|
||||||||||
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.MilestoneNodeImpl
public class MilestoneNodeImpl
Default implementation of a milestone node.
Field Summary |
---|
Fields inherited from class org.drools.ruleflow.core.impl.NodeImpl |
---|
EMPTY_NODE_ARRAY |
Constructor Summary | |
---|---|
MilestoneNodeImpl()
|
Method Summary | |
---|---|
java.lang.String |
getConstraint()
Returns the constraint of the MilestoneNode. |
Connection |
getFrom()
Returns the incoming connection of the MilestoneNode. |
Connection |
getTo()
Returns the outgoing connection of the MilestoneNode. |
void |
setConstraint(java.lang.String constraint)
Sets the constraint of the MilestoneNode. |
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 MilestoneNodeImpl()
Method Detail |
---|
public void setConstraint(java.lang.String constraint)
MilestoneNode
setConstraint
in interface MilestoneNode
constraint
- The constraint of the MilestoneNodepublic java.lang.String getConstraint()
MilestoneNode
getConstraint
in interface MilestoneNode
public Connection getFrom()
MilestoneNode
getFrom
in interface MilestoneNode
public Connection getTo()
MilestoneNode
getTo
in interface MilestoneNode
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 |