Class SerializableActivation

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.kie.api.runtime.rule.Match

    public class SerializableActivation
    extends java.lang.Object
    implements org.kie.api.runtime.rule.Match, java.io.Externalizable
    See Also:
    Serialized Form
    • Constructor Detail

      • SerializableActivation

        public SerializableActivation()
      • SerializableActivation

        public SerializableActivation​(org.kie.api.runtime.rule.Match activation)
    • Method Detail

      • readExternal

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

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

        public org.kie.api.definition.rule.Rule getRule()
        Specified by:
        getRule in interface org.kie.api.runtime.rule.Match
      • getFactHandles

        public java.util.List<? extends org.kie.api.runtime.rule.FactHandle> getFactHandles()
        Specified by:
        getFactHandles in interface org.kie.api.runtime.rule.Match
      • getObjects

        public java.util.List<java.lang.Object> getObjects()
        Specified by:
        getObjects in interface org.kie.api.runtime.rule.Match
      • getDeclarationValue

        public java.lang.Object getDeclarationValue​(java.lang.String variableName)
        Specified by:
        getDeclarationValue in interface org.kie.api.runtime.rule.Match
      • getDeclarationIds

        public java.util.List<java.lang.String> getDeclarationIds()
        Specified by:
        getDeclarationIds in interface org.kie.api.runtime.rule.Match
      • isActive

        public boolean isActive()
      • getSalience

        public int getSalience()
        Specified by:
        getSalience in interface org.kie.api.runtime.rule.Match