Interface InternalFactHandle

    • Method Detail

      • getId

        long getId()
        Specified by:
        getId in interface org.kie.api.runtime.rule.FactHandle
      • getRecency

        long getRecency()
        Specified by:
        getRecency in interface org.kie.api.runtime.rule.FactHandle
      • getObject

        java.lang.Object getObject()
        Specified by:
        getObject in interface org.kie.api.runtime.rule.FactHandle
      • getObjectClassName

        java.lang.String getObjectClassName()
      • setObject

        void setObject​(java.lang.Object object)
      • setEqualityKey

        void setEqualityKey​(EqualityKey key)
      • setRecency

        void setRecency​(long recency)
      • invalidate

        void invalidate()
      • isValid

        boolean isValid()
        Specified by:
        isValid in interface org.kie.api.runtime.rule.FactHandle
      • getIdentityHashCode

        int getIdentityHashCode()
      • getObjectHashCode

        int getObjectHashCode()
      • isDisconnected

        boolean isDisconnected()
      • setDisconnected

        default void setDisconnected​(boolean disconnected)
      • isEvent

        boolean isEvent()
        Returns true if this FactHandle represents and Event or false if this FactHandle represents a regular Fact
        Specified by:
        isEvent in interface org.kie.api.runtime.rule.FactHandle
        Returns:
      • isTraitOrTraitable

        boolean isTraitOrTraitable()
      • isTraitable

        boolean isTraitable()
      • isTraiting

        boolean isTraiting()
      • getTraitType

        org.drools.base.factmodel.traits.TraitTypeEnum getTraitType()
      • getFirstRightTuple

        RightTuple getFirstRightTuple()
      • getFirstLeftTuple

        LeftTuple getFirstLeftTuple()
      • getEntryPointId

        org.drools.base.rule.EntryPointId getEntryPointId()
      • getEntryPointName

        default java.lang.String getEntryPointName()
      • toExternalForm

        java.lang.String toExternalForm()
        Specified by:
        toExternalForm in interface org.kie.api.runtime.rule.FactHandle
      • disconnect

        void disconnect()
      • addFirstLeftTuple

        void addFirstLeftTuple​(LeftTuple leftTuple)
      • addLastLeftTuple

        void addLastLeftTuple​(LeftTuple leftTuple)
      • removeLeftTuple

        void removeLeftTuple​(LeftTuple leftTuple)
      • clearLeftTuples

        void clearLeftTuples()
      • clearRightTuples

        void clearRightTuples()
      • addFirstRightTuple

        void addFirstRightTuple​(RightTuple rightTuple)
      • addLastRightTuple

        void addLastRightTuple​(RightTuple rightTuple)
      • removeRightTuple

        void removeRightTuple​(RightTuple rightTuple)
      • addTupleInPosition

        void addTupleInPosition​(Tuple tuple)
      • isNegated

        boolean isNegated()
        Specified by:
        isNegated in interface org.kie.api.runtime.rule.FactHandle
      • setNegated

        void setNegated​(boolean negated)
      • isExpired

        boolean isExpired()
      • isPendingRemoveFromStore

        boolean isPendingRemoveFromStore()
      • forEachRightTuple

        void forEachRightTuple​(java.util.function.Consumer<RightTuple> rightTupleConsumer)
      • forEachLeftTuple

        void forEachLeftTuple​(java.util.function.Consumer<AbstractLeftTuple> leftTupleConsumer)
      • findFirstRightTuple

        RightTuple findFirstRightTuple​(java.util.function.Predicate<RightTuple> rightTuplePredicate)
      • setFirstLeftTuple

        void setFirstLeftTuple​(LeftTuple firstLeftTuple)
      • hasMatches

        default boolean hasMatches()
      • dummyFactHandleOf

        static InternalFactHandle dummyFactHandleOf​(java.lang.Object object)