Package org.drools.core.event.rule.impl
Class SerializableActivation
- java.lang.Object
-
- org.drools.core.event.rule.impl.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 Summary
Constructors Constructor Description SerializableActivation()
SerializableActivation(org.kie.api.runtime.rule.Match activation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getDeclarationIds()
java.lang.Object
getDeclarationValue(java.lang.String variableName)
java.util.List<? extends org.kie.api.runtime.rule.FactHandle>
getFactHandles()
java.util.List<java.lang.Object>
getObjects()
PropagationContext
getPropagationContext()
org.kie.api.definition.rule.Rule
getRule()
int
getSalience()
boolean
isActive()
void
readExternal(java.io.ObjectInput in)
void
writeExternal(java.io.ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.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 interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
getRule
public org.kie.api.definition.rule.Rule getRule()
- Specified by:
getRule
in interfaceorg.kie.api.runtime.rule.Match
-
getFactHandles
public java.util.List<? extends org.kie.api.runtime.rule.FactHandle> getFactHandles()
- Specified by:
getFactHandles
in interfaceorg.kie.api.runtime.rule.Match
-
getPropagationContext
public PropagationContext getPropagationContext()
-
getObjects
public java.util.List<java.lang.Object> getObjects()
- Specified by:
getObjects
in interfaceorg.kie.api.runtime.rule.Match
-
getDeclarationValue
public java.lang.Object getDeclarationValue(java.lang.String variableName)
- Specified by:
getDeclarationValue
in interfaceorg.kie.api.runtime.rule.Match
-
getDeclarationIds
public java.util.List<java.lang.String> getDeclarationIds()
- Specified by:
getDeclarationIds
in interfaceorg.kie.api.runtime.rule.Match
-
isActive
public boolean isActive()
-
getSalience
public int getSalience()
- Specified by:
getSalience
in interfaceorg.kie.api.runtime.rule.Match
-
-