|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJoin
Represents a join node in a RuleFlow. A join is a special kind of node with multiple incoming connections and one outgoing connection. The type of join decides when the outgoing connections will be triggered (based on which incoming connections have been triggered).
Field Summary | |
---|---|
static int |
TYPE_AND
The outgoing connection of a join of this type is triggered when all its incoming connections have been triggered. |
static int |
TYPE_UNDEFINED
|
static int |
TYPE_XOR
The outgoing connection of a join of this type is triggered when one of its incoming connections has been triggered. |
Method Summary | |
---|---|
IConnection |
getTo()
Convenience method for returning the outgoing connection of the join |
int |
getType()
Returns the type of the join. |
void |
setType(int type)
Sets the type of the join. |
Methods inherited from interface org.drools.ruleflow.core.INode |
---|
getId, getIncomingConnections, getName, getOutgoingConnections, setId, setName |
Field Detail |
---|
static final int TYPE_UNDEFINED
static final int TYPE_AND
static final int TYPE_XOR
Method Detail |
---|
void setType(int type)
type
- The type of the join
IllegalArgumentException
- if type is nullint getType()
IConnection getTo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |