Package org.drools.base.common
Interface NetworkNode
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
BaseTerminalNode
public interface NetworkNode extends java.io.SerializableInterface 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 Default Methods Modifier and Type Method Description voidaddAssociatedTerminal(BaseTerminalNode 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(BaseTerminalNode terminalNode)booleanisAssociatedWith(org.kie.api.definition.rule.Rule rule)default booleanisRightInputIsRiaNode()voidremoveAssociatedTerminal(BaseTerminalNode 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(BaseTerminalNode terminalNode)
-
removeAssociatedTerminal
void removeAssociatedTerminal(BaseTerminalNode terminalNode)
-
getAssociatedTerminalsSize
int getAssociatedTerminalsSize()
-
hasAssociatedTerminal
boolean hasAssociatedTerminal(BaseTerminalNode terminalNode)
-
getSinks
NetworkNode[] getSinks()
-
isRightInputIsRiaNode
default boolean isRightInputIsRiaNode()
-
-