Class RuleBuildContext

    • Method Detail

      • getRule

        public org.drools.core.definitions.rule.impl.RuleImpl getRule()
        Returns the current Rule being built
      • getRuleDescr

        public RuleDescr getRuleDescr()
        Returns the current RuleDescriptor
      • getDeclarationResolver

        public org.drools.core.spi.DeclarationScopeResolver getDeclarationResolver()
        Returns the available declarationResolver instance
      • setDeclarationResolver

        public void setDeclarationResolver​(org.drools.core.spi.DeclarationScopeResolver declarationResolver)
        Sets the available declarationResolver instance
      • getNextPatternId

        public int getNextPatternId()
      • needsStreamMode

        public boolean needsStreamMode()
      • setNeedStreamMode

        public void setNeedStreamMode()
      • setPrefixPattern

        public void setPrefixPattern​(org.drools.core.rule.Pattern prefixPattern)
      • getPrefixPattern

        public org.drools.core.rule.Pattern getPrefixPattern()
      • isInXpath

        public boolean isInXpath()
      • setInXpath

        public void setInXpath​(boolean inXpath)
      • initRule

        public void initRule()
      • getEntryPointId

        public Optional<org.drools.core.rule.EntryPointId> getEntryPointId​(String name)
      • getEntryPointId

        public Optional<org.drools.core.rule.EntryPointId> getEntryPointId​(org.kie.internal.ruleunit.RuleUnitDescription ruDescr,
                                                                           String name)
      • increaseXpathChuckNr

        public void increaseXpathChuckNr()
      • resetXpathChuckNr

        public void resetXpathChuckNr()
      • getXpathChuckNr

        public int getXpathChuckNr()
      • setXpathChuckNr

        public void setXpathChuckNr​(int chunkNbr)
      • setXpathOffsetadjustment

        public void setXpathOffsetadjustment​(int xpathOffsetadjustment)
      • getXpathOffsetadjustment

        public int getXpathOffsetadjustment()