Interface Tuple

    • Method Detail

      • toObjects

        default java.lang.Object[] toObjects()
        Specified by:
        toObjects in interface org.drools.base.reteoo.BaseTuple
      • setFactHandle

        void setFactHandle​(org.kie.api.runtime.rule.FactHandle handle)
      • getSubTuple

        Tuple getSubTuple​(int elements)
        Returns the ReteTuple that contains the "elements" first elements in this tuple.

        Use carefully as no cloning is made during this process.

        This method is used by TupleStartEqualsConstraint when joining a subnetwork tuple into the main network tuple;

        Parameters:
        elements - the number of elements to return, starting from the begining of the tuple
        Returns:
        a ReteTuple containing the "elements" first elements of this tuple or null if "elements" is greater than size;
      • getContextObject

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

        void setContextObject​(java.lang.Object object)
      • getStagedType

        short getStagedType()
      • setStagedType

        void setStagedType​(short stagedType)
      • isDeleted

        default boolean isDeleted()
      • getStagedPrevious

        Tuple getStagedPrevious()
      • setStagedPrevious

        void setStagedPrevious​(Tuple stagePrevious)
      • getStagedNext

        <T extends Tuple> T getStagedNext()
      • setStagedNext

        void setStagedNext​(Tuple stageNext)
      • clear

        void clear()
      • clearStaged

        void clearStaged()
      • reAdd

        void reAdd()
      • unlinkFromRightParent

        void unlinkFromRightParent()
      • unlinkFromLeftParent

        void unlinkFromLeftParent()
      • setPropagationContext

        void setPropagationContext​(PropagationContext propagationContext)
      • getPrevious

        Tuple getPrevious()
      • setPrevious

        void setPrevious​(Tuple previous)
      • getTupleSink

        <S extends Sink> S getTupleSink()
      • setMemory

        void setMemory​(TupleList memory)
      • increaseActivationCountForEvents

        void increaseActivationCountForEvents()
      • decreaseActivationCountForEvents

        void decreaseActivationCountForEvents()
      • getRootTuple

        Tuple getRootTuple()
      • skipEmptyHandles

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

        void setFirstChild​(LeftTuple firstChild)
      • setLastChild

        void setLastChild​(LeftTuple firstChild)
      • getHandlePrevious

        <T extends Tuple> T getHandlePrevious()
      • getParent

        Tuple getParent()
        Specified by:
        getParent in interface org.drools.base.reteoo.BaseTuple
      • setHandlePrevious

        void setHandlePrevious​(Tuple leftParentLeft)
      • getHandleNext

        <T extends Tuple> T getHandleNext()
      • setHandleNext

        void setHandleNext​(Tuple leftParentright)
      • getTupleSource

        <N extends org.drools.base.common.NetworkNode> N getTupleSource()
      • isExpired

        boolean isExpired()
      • findMostRecentPropagationContext

        default PropagationContext findMostRecentPropagationContext()