Package org.drools.base.common
Interface NetworkNode
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BaseTerminalNode
Interface used to expose generic information on Rete nodes outside of he package. It is used
for exposing information events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssociatedTerminal(BaseTerminalNode terminalNode) Rule[]intintgetId()Returns the unique id that represents the node in the Rete networkReturns the partition ID to which this node belongs togetSinks()intgetType()booleanhasAssociatedTerminal(BaseTerminalNode terminalNode) booleanisAssociatedWith(Rule rule) default booleanvoidremoveAssociatedTerminal(BaseTerminalNode terminalNode)
-
Method Details
-
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
int getType() -
getAssociatedRules
Rule[] getAssociatedRules() -
isAssociatedWith
-
addAssociatedTerminal
-
removeAssociatedTerminal
-
getAssociatedTerminalsSize
int getAssociatedTerminalsSize() -
hasAssociatedTerminal
-
getSinks
NetworkNode[] getSinks() -
isRightInputIsRiaNode
default boolean isRightInputIsRiaNode()
-