Package org.drools.core.common
Interface NetworkNode
-
- All Known Subinterfaces:
LeftTupleNode,LeftTupleSink,LeftTupleSinkNode,ObjectSink,ObjectSinkNode,PathEndNode,RightTupleSink,Sink,TerminalNode
- All Known Implementing Classes:
AbstractTerminalNode,AccumulateNode,AlphaNode,AlphaTerminalNode,AsyncReceiveNode,AsyncSendNode,BaseNode,BetaNode,ConditionalBranchNode,EntryPointNode,EvalConditionNode,ExistsNode,FromNode,JoinNode,LeftInputAdapterNode,LeftInputAdapterNode.RightTupleSinkAdapter,LeftTupleSource,NotNode,ObjectSource,ObjectTypeNode,QueryElementNode,QueryTerminalNode,ReactiveFromNode,Rete,ReteObjectTypeNode,RightInputAdapterNode,RuleTerminalNode,TimerNode,WindowNode
public interface NetworkNodeInterface used to expose generic information on Rete nodes outside of he package. It is used for exposing information events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAssociatedTerminal(TerminalNode terminalNode)org.kie.api.definition.rule.Rule[]getAssociatedRules()intgetAssociatedTerminalsSize()intgetId()Returns the unique id that represents the node in the Rete networkRuleBasePartitionIdgetPartitionId()Returns the partition ID to which this node belongs toNetworkNode[]getSinks()shortgetType()booleanhasAssociatedTerminal(NetworkNode terminalNode)booleanisAssociatedWith(org.kie.api.definition.rule.Rule rule)voidremoveAssociatedTerminal(TerminalNode terminalNode)
-
-
-
Method Detail
-
getId
int getId()
Returns the unique id that represents the node in the Rete network
-
getPartitionId
RuleBasePartitionId getPartitionId()
Returns the partition ID to which this node belongs to
-
getType
short getType()
-
getAssociatedRules
org.kie.api.definition.rule.Rule[] getAssociatedRules()
-
isAssociatedWith
boolean isAssociatedWith(org.kie.api.definition.rule.Rule rule)
-
addAssociatedTerminal
void addAssociatedTerminal(TerminalNode terminalNode)
-
removeAssociatedTerminal
void removeAssociatedTerminal(TerminalNode terminalNode)
-
getAssociatedTerminalsSize
int getAssociatedTerminalsSize()
-
hasAssociatedTerminal
boolean hasAssociatedTerminal(NetworkNode terminalNode)
-
getSinks
NetworkNode[] getSinks()
-
-