Class ObjectInsertedEventImpl

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.kie.api.event.KieRuntimeEvent, org.kie.api.event.rule.ObjectInsertedEvent, org.kie.api.event.rule.RuleRuntimeEvent

    public class ObjectInsertedEventImpl
    extends RuleRuntimeEventImpl
    implements org.kie.api.event.rule.ObjectInsertedEvent
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectInsertedEventImpl

        public ObjectInsertedEventImpl​(org.kie.api.runtime.KieRuntime kruntime,
                                       PropagationContext propagationContext,
                                       org.kie.api.runtime.rule.FactHandle handle,
                                       java.lang.Object object)
      • ObjectInsertedEventImpl

        public ObjectInsertedEventImpl()
        Do not use this constructor. It should be used just by deserialization.
    • Method Detail

      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class RuleRuntimeEventImpl
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class RuleRuntimeEventImpl
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getFactHandle

        public org.kie.api.runtime.rule.FactHandle getFactHandle()
        Specified by:
        getFactHandle in interface org.kie.api.event.rule.ObjectInsertedEvent
      • getObject

        public java.lang.Object getObject()
        Specified by:
        getObject in interface org.kie.api.event.rule.ObjectInsertedEvent