Package org.kie.api.runtime.rule
Interface FactHandle
-
- All Known Subinterfaces:
EventHandle
public interface FactHandleAn handle to a fact inserted into the working memory
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFactHandle.StateThe way how the fact to which this FactHandle was assigned has been inserted into the working memory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K> Kas(java.lang.Class<K> klass)longgetId()java.lang.ObjectgetObject()longgetRecency()booleanisEvent()booleanisNegated()booleanisValid()java.lang.StringtoExternalForm()
-
-
-
Method Detail
-
getObject
java.lang.Object getObject()
-
isNegated
boolean isNegated()
-
isEvent
boolean isEvent()
-
getId
long getId()
-
getRecency
long getRecency()
-
as
<K> K as(java.lang.Class<K> klass) throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
-
isValid
boolean isValid()
-
toExternalForm
java.lang.String toExternalForm()
-
-