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()ObjectgetDeclarationValue(String variableName)List<? extends org.kie.api.runtime.rule.FactHandle>getFactHandles()ObjectgetObject(Declaration declaration)List<Object>getObjects()PropagationContextgetPropagationContext()org.kie.api.definition.rule.RulegetRule()booleanisActive()voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getRule
public org.kie.api.definition.rule.Rule getRule()
- Specified by:
getRulein interfaceorg.kie.api.runtime.rule.Match
-
getFactHandles
public List<? extends org.kie.api.runtime.rule.FactHandle> getFactHandles()
- Specified by:
getFactHandlesin interfaceorg.kie.api.runtime.rule.Match
-
getPropagationContext
public PropagationContext getPropagationContext()
-
getObjects
public List<Object> getObjects()
- Specified by:
getObjectsin interfaceorg.kie.api.runtime.rule.Match
-
getDeclarationValue
public Object getDeclarationValue(String variableName)
- Specified by:
getDeclarationValuein interfaceorg.kie.api.runtime.rule.Match
-
getDeclarations
public Collection<Declaration> getDeclarations()
-
getObject
public Object getObject(Declaration declaration)
-
getDeclarationIds
public List<String> getDeclarationIds()
- Specified by:
getDeclarationIdsin interfaceorg.kie.api.runtime.rule.Match
-
isActive
public boolean isActive()
-
-