Class AbstractTuple

    • Field Detail

      • stagedNext

        protected Tuple stagedNext
      • stagedPrevious

        protected Tuple stagedPrevious
      • sink

        protected Sink sink
      • handlePrevious

        protected Tuple handlePrevious
      • handleNext

        protected Tuple handleNext
    • Constructor Detail

      • AbstractTuple

        public AbstractTuple()
    • Method Detail

      • getObject

        public java.lang.Object getObject​(org.drools.base.rule.Declaration declaration)
        Specified by:
        getObject in interface org.drools.base.reteoo.BaseTuple
      • getContextObject

        public java.lang.Object getContextObject()
        Specified by:
        getContextObject in interface org.drools.base.reteoo.BaseTuple
        Specified by:
        getContextObject in interface Tuple
      • setContextObject

        public final void setContextObject​(java.lang.Object contextObject)
        Specified by:
        setContextObject in interface Tuple
      • getStagedType

        public short getStagedType()
        Specified by:
        getStagedType in interface Tuple
      • setStagedType

        public void setStagedType​(short stagedType)
        Specified by:
        setStagedType in interface Tuple
      • clearStaged

        public void clearStaged()
        Specified by:
        clearStaged in interface Tuple
      • getFactHandle

        public InternalFactHandle getFactHandle()
        Specified by:
        getFactHandle in interface org.drools.base.reteoo.BaseTuple
      • getOriginalFactHandle

        public InternalFactHandle getOriginalFactHandle()
        This method is used by the consequence invoker (generated via asm by the ConsequenceGenerator) to always pass to the consequence the original fact handle even in case when it has been cloned and linked by a WindowNode
        Specified by:
        getOriginalFactHandle in interface Tuple
      • setFactHandle

        public void setFactHandle​(org.kie.api.runtime.rule.FactHandle handle)
        Specified by:
        setFactHandle in interface Tuple
      • setPrevious

        public void setPrevious​(Tuple previous)
        Specified by:
        setPrevious in interface Tuple
      • clear

        public void clear()
        Specified by:
        clear in interface Tuple
      • get

        public org.kie.api.runtime.rule.FactHandle get​(org.drools.base.rule.Declaration declaration)
        Specified by:
        get in interface org.drools.base.reteoo.BaseTuple
      • getTuple

        public Tuple getTuple​(int index)
        Specified by:
        getTuple in interface org.drools.base.reteoo.BaseTuple
      • skipEmptyHandles

        public Tuple skipEmptyHandles()
        Specified by:
        skipEmptyHandles in interface org.drools.base.reteoo.BaseTuple
        Specified by:
        skipEmptyHandles in interface Tuple
      • isExpired

        public boolean isExpired()
        Specified by:
        isExpired in interface Tuple
      • setExpired

        public void setExpired()