public abstract class WorkingMemoryLogger extends Object implements WorkingMemoryEventListener, AgendaEventListener, org.kie.api.event.process.ProcessEventListener, RuleBaseEventListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPhreak |
Constructor and Description |
---|
WorkingMemoryLogger() |
WorkingMemoryLogger(org.kie.internal.event.KnowledgeRuntimeEventManager session) |
WorkingMemoryLogger(WorkingMemory workingMemory)
Creates a new working memory logger for the given working memory.
|
Modifier and Type | Method and Description |
---|---|
void |
activationCancelled(ActivationCancelledEvent event,
WorkingMemory workingMemory) |
void |
activationCreated(ActivationCreatedEvent event,
WorkingMemory workingMemory) |
void |
addFilter(ILogEventFilter filter)
Adds the given filter to the list of filters for this event log.
|
void |
afterActivationFired(AfterActivationFiredEvent event,
WorkingMemory workingMemory) |
void |
afterFunctionRemoved(AfterFunctionRemovedEvent event)
Method called after a function is removed from the rule base
|
void |
afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event) |
void |
afterNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event) |
void |
afterPackageAdded(AfterPackageAddedEvent event)
Method called after a new package is added to the rule base
|
void |
afterPackageRemoved(AfterPackageRemovedEvent event)
Method called after a package is removed from the rule base
|
void |
afterProcessAdded(AfterProcessAddedEvent event)
Method called after a new process is added to the rule base
|
void |
afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event) |
void |
afterProcessRemoved(AfterProcessRemovedEvent event)
Method called after a process is removed from the rule base
|
void |
afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event) |
void |
afterRuleAdded(AfterRuleAddedEvent event)
Method called after a new rule is added to the rule base
|
void |
afterRuleBaseLocked(AfterRuleBaseLockedEvent event)
Method called after a rule base is locked
|
void |
afterRuleBaseUnlocked(AfterRuleBaseUnlockedEvent event)
Method called after a rule base is unlocked
|
void |
afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory) |
void |
afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory) |
void |
afterRuleRemoved(AfterRuleRemovedEvent event)
Method called after a rule is removed from the rule base
|
void |
afterVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event) |
void |
agendaGroupPopped(AgendaGroupPoppedEvent event,
WorkingMemory workingMemory) |
void |
agendaGroupPushed(AgendaGroupPushedEvent event,
WorkingMemory workingMemory) |
void |
beforeActivationFired(BeforeActivationFiredEvent event,
WorkingMemory workingMemory) |
void |
beforeFunctionRemoved(BeforeFunctionRemovedEvent event)
Method called before a function is removed from the rule base
|
void |
beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event) |
void |
beforeNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event) |
void |
beforePackageAdded(BeforePackageAddedEvent event)
Method called before a new package is added to the rule base
|
void |
beforePackageRemoved(BeforePackageRemovedEvent event)
Method called before a package is removed from the rule base
|
void |
beforeProcessAdded(BeforeProcessAddedEvent event)
Method called before a new process is added to the rule base
|
void |
beforeProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event) |
void |
beforeProcessRemoved(BeforeProcessRemovedEvent event)
Method called before a process is removed from the rule base
|
void |
beforeProcessStarted(org.kie.api.event.process.ProcessStartedEvent event) |
void |
beforeRuleAdded(BeforeRuleAddedEvent event)
Method called before a new rule is added to the rule base
|
void |
beforeRuleBaseLocked(BeforeRuleBaseLockedEvent event)
Method called before a rule base is locked
|
void |
beforeRuleBaseUnlocked(BeforeRuleBaseUnlockedEvent event)
Method called before a rule base is unlocked
|
void |
beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory) |
void |
beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory) |
void |
beforeRuleRemoved(BeforeRuleRemovedEvent event)
Method called before a rule is removed from the rule base
|
void |
beforeVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event) |
void |
clearFilters()
Clears all filters of this event log.
|
abstract void |
logEventCreated(LogEvent logEvent)
This method is invoked every time a new log event is created.
|
void |
objectInserted(ObjectInsertedEvent event) |
void |
objectRetracted(ObjectRetractedEvent event) |
void |
objectUpdated(ObjectUpdatedEvent event) |
void |
readExternal(ObjectInput in) |
void |
removeFilter(ILogEventFilter filter)
Removes the given filter from the list of filters for this event log.
|
void |
writeExternal(ObjectOutput out) |
public WorkingMemoryLogger()
public WorkingMemoryLogger(WorkingMemory workingMemory)
workingMemory
- public WorkingMemoryLogger(org.kie.internal.event.KnowledgeRuntimeEventManager session)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public abstract void logEventCreated(LogEvent logEvent)
logEvent
- public void addFilter(ILogEventFilter filter)
filter
- The filter that should be added.public void removeFilter(ILogEventFilter filter)
filter
- The filter that should be removed.public void clearFilters()
public void objectInserted(ObjectInsertedEvent event)
objectInserted
in interface WorkingMemoryEventListener
RuleRuntimeEventListener
public void objectUpdated(ObjectUpdatedEvent event)
objectUpdated
in interface WorkingMemoryEventListener
RuleRuntimeEventListener
public void objectRetracted(ObjectRetractedEvent event)
objectRetracted
in interface WorkingMemoryEventListener
RuleRuntimeEventListener
public void activationCreated(ActivationCreatedEvent event, WorkingMemory workingMemory)
activationCreated
in interface AgendaEventListener
AgendaEventListener
public void activationCancelled(ActivationCancelledEvent event, WorkingMemory workingMemory)
activationCancelled
in interface AgendaEventListener
AgendaEventListener
public void beforeActivationFired(BeforeActivationFiredEvent event, WorkingMemory workingMemory)
beforeActivationFired
in interface AgendaEventListener
AgendaEventListener
public void afterActivationFired(AfterActivationFiredEvent event, WorkingMemory workingMemory)
afterActivationFired
in interface AgendaEventListener
AgendaEventListener
public void agendaGroupPopped(AgendaGroupPoppedEvent event, WorkingMemory workingMemory)
agendaGroupPopped
in interface AgendaEventListener
public void agendaGroupPushed(AgendaGroupPushedEvent event, WorkingMemory workingMemory)
agendaGroupPushed
in interface AgendaEventListener
public void beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event, WorkingMemory workingMemory)
beforeRuleFlowGroupActivated
in interface AgendaEventListener
public void afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event, WorkingMemory workingMemory)
afterRuleFlowGroupActivated
in interface AgendaEventListener
public void beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event, WorkingMemory workingMemory)
beforeRuleFlowGroupDeactivated
in interface AgendaEventListener
public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event, WorkingMemory workingMemory)
afterRuleFlowGroupDeactivated
in interface AgendaEventListener
public void beforeProcessStarted(org.kie.api.event.process.ProcessStartedEvent event)
beforeProcessStarted
in interface org.kie.api.event.process.ProcessEventListener
public void afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event)
afterProcessStarted
in interface org.kie.api.event.process.ProcessEventListener
public void beforeProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event)
beforeProcessCompleted
in interface org.kie.api.event.process.ProcessEventListener
public void afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event)
afterProcessCompleted
in interface org.kie.api.event.process.ProcessEventListener
public void beforeNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event)
beforeNodeTriggered
in interface org.kie.api.event.process.ProcessEventListener
public void afterNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event)
afterNodeTriggered
in interface org.kie.api.event.process.ProcessEventListener
public void beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
beforeNodeLeft
in interface org.kie.api.event.process.ProcessEventListener
public void afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
afterNodeLeft
in interface org.kie.api.event.process.ProcessEventListener
public void beforeVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event)
beforeVariableChanged
in interface org.kie.api.event.process.ProcessEventListener
public void afterVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event)
afterVariableChanged
in interface org.kie.api.event.process.ProcessEventListener
public void afterPackageAdded(AfterPackageAddedEvent event)
RuleBaseEventListener
afterPackageAdded
in interface RuleBaseEventListener
public void afterPackageRemoved(AfterPackageRemovedEvent event)
RuleBaseEventListener
afterPackageRemoved
in interface RuleBaseEventListener
public void afterRuleAdded(AfterRuleAddedEvent event)
RuleBaseEventListener
afterRuleAdded
in interface RuleBaseEventListener
public void afterRuleRemoved(AfterRuleRemovedEvent event)
RuleBaseEventListener
afterRuleRemoved
in interface RuleBaseEventListener
public void beforePackageAdded(BeforePackageAddedEvent event)
RuleBaseEventListener
beforePackageAdded
in interface RuleBaseEventListener
public void beforePackageRemoved(BeforePackageRemovedEvent event)
RuleBaseEventListener
beforePackageRemoved
in interface RuleBaseEventListener
public void beforeRuleAdded(BeforeRuleAddedEvent event)
RuleBaseEventListener
beforeRuleAdded
in interface RuleBaseEventListener
public void beforeRuleRemoved(BeforeRuleRemovedEvent event)
RuleBaseEventListener
beforeRuleRemoved
in interface RuleBaseEventListener
public void afterFunctionRemoved(AfterFunctionRemovedEvent event)
RuleBaseEventListener
afterFunctionRemoved
in interface RuleBaseEventListener
public void afterRuleBaseLocked(AfterRuleBaseLockedEvent event)
RuleBaseEventListener
afterRuleBaseLocked
in interface RuleBaseEventListener
public void afterRuleBaseUnlocked(AfterRuleBaseUnlockedEvent event)
RuleBaseEventListener
afterRuleBaseUnlocked
in interface RuleBaseEventListener
public void beforeFunctionRemoved(BeforeFunctionRemovedEvent event)
RuleBaseEventListener
beforeFunctionRemoved
in interface RuleBaseEventListener
public void beforeRuleBaseLocked(BeforeRuleBaseLockedEvent event)
RuleBaseEventListener
beforeRuleBaseLocked
in interface RuleBaseEventListener
public void beforeRuleBaseUnlocked(BeforeRuleBaseUnlockedEvent event)
RuleBaseEventListener
beforeRuleBaseUnlocked
in interface RuleBaseEventListener
public void beforeProcessAdded(BeforeProcessAddedEvent event)
RuleBaseEventListener
beforeProcessAdded
in interface RuleBaseEventListener
public void afterProcessAdded(AfterProcessAddedEvent event)
RuleBaseEventListener
afterProcessAdded
in interface RuleBaseEventListener
public void beforeProcessRemoved(BeforeProcessRemovedEvent event)
RuleBaseEventListener
beforeProcessRemoved
in interface RuleBaseEventListener
public void afterProcessRemoved(AfterProcessRemovedEvent event)
RuleBaseEventListener
afterProcessRemoved
in interface RuleBaseEventListener
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.