Package org.drools.core.event.rule.impl
Class SerializableActivation
- java.lang.Object
-
- org.drools.core.event.rule.impl.SerializableActivation
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.runtime.rule.Match
public class SerializableActivation extends Object implements org.kie.api.runtime.rule.Match, 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 List<String>
getDeclarationIds()
Collection<Declaration>
getDeclarations()
Object
getDeclarationValue(String variableName)
List<? extends org.kie.api.runtime.rule.FactHandle>
getFactHandles()
Object
getObject(Declaration declaration)
List<Object>
getObjects()
PropagationContext
getPropagationContext()
org.kie.api.definition.rule.Rule
getRule()
boolean
isActive()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getRule
public org.kie.api.definition.rule.Rule getRule()
- Specified by:
getRule
in interfaceorg.kie.api.runtime.rule.Match
-
getFactHandles
public 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 List<Object> getObjects()
- Specified by:
getObjects
in interfaceorg.kie.api.runtime.rule.Match
-
getDeclarationValue
public Object getDeclarationValue(String variableName)
- Specified by:
getDeclarationValue
in interfaceorg.kie.api.runtime.rule.Match
-
getDeclarations
public Collection<Declaration> getDeclarations()
-
getObject
public Object getObject(Declaration declaration)
-
getDeclarationIds
public List<String> getDeclarationIds()
- Specified by:
getDeclarationIds
in interfaceorg.kie.api.runtime.rule.Match
-
isActive
public boolean isActive()
-
-