Interface NetworkNode

    • 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()
      • getAssociationsSize

        int getAssociationsSize()
        Returns how many times this nodes has been associated. Note that due to subnetworks this node could be associated to the same rule multiple times.
      • getAssociatedRuleSize

        int getAssociatedRuleSize()
        Returns the number of rules that are associated with this node, regardless of how many times the node is associated with a single rule.
      • getAssociationsSize

        int getAssociationsSize​(org.kie.api.definition.rule.Rule rule)
      • getAssociatedRules

        org.kie.api.definition.rule.Rule[] getAssociatedRules()
      • isAssociatedWith

        boolean isAssociatedWith​(org.kie.api.definition.rule.Rule rule)