Interface NetworkNode

All Superinterfaces:
Serializable
All Known Subinterfaces:
BaseTerminalNode

public interface NetworkNode extends Serializable
Interface used to expose generic information on Rete nodes outside of he package. It is used for exposing information events.
  • 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

      boolean isAssociatedWith(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()