org.drools.audit.event
Class RuleFlowLogEvent

java.lang.Object
  extended by org.drools.audit.event.LogEvent
      extended by org.drools.audit.event.RuleFlowLogEvent

public class RuleFlowLogEvent
extends LogEvent

A ruleflow event logged by the WorkingMemoryLogger. It is a snapshot of the event as it was thrown by the working memory. It contains the process name and id.

Author:
Kris Verlaenen

Field Summary
 
Fields inherited from class org.drools.audit.event.LogEvent
ACTIVATION_CANCELLED, ACTIVATION_CREATED, AFTER_ACTIVATION_FIRE, AFTER_PACKAGE_ADDED, AFTER_PACKAGE_REMOVED, AFTER_RULE_ADDED, AFTER_RULE_REMOVED, BEFORE_ACTIVATION_FIRE, BEFORE_PACKAGE_ADDED, BEFORE_PACKAGE_REMOVED, BEFORE_RULE_ADDED, BEFORE_RULE_REMOVED, INSERTED, RETRACTED, RULEFLOW_COMPLETED, RULEFLOW_CREATED, RULEFLOW_GROUP_ACTIVATED, RULEFLOW_GROUP_DEACTIVATED, UPDATED
 
Constructor Summary
RuleFlowLogEvent(int type, java.lang.String processId, java.lang.String processName)
          Create a new ruleflow log event.
 
Method Summary
 java.lang.String getProcessId()
           
 java.lang.String getProcessName()
           
 java.lang.String toString()
           
 
Methods inherited from class org.drools.audit.event.LogEvent
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleFlowLogEvent

public RuleFlowLogEvent(int type,
                        java.lang.String processId,
                        java.lang.String processName)
Create a new ruleflow log event.

Parameters:
type - The type of event. This can only be RULEFLOW_CREATED or RULEFLOW_COMPLETED.
processId - The id of the process
processName - The name of the process
Method Detail

getProcessId

public java.lang.String getProcessId()

getProcessName

public java.lang.String getProcessName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object