public class ActivationLogEvent extends LogEvent
ACTIVATION_CANCELLED, ACTIVATION_CREATED, AFTER_ACTIVATION_FIRE, AFTER_PACKAGE_ADDED, AFTER_PACKAGE_REMOVED, AFTER_RULE_ADDED, AFTER_RULE_REMOVED, AFTER_RULEFLOW_COMPLETED, AFTER_RULEFLOW_CREATED, AFTER_RULEFLOW_GROUP_ACTIVATED, AFTER_RULEFLOW_GROUP_DEACTIVATED, AFTER_RULEFLOW_NODE_EXITED, AFTER_RULEFLOW_NODE_TRIGGERED, AFTER_TASK_INSTANCE_COMPLETED, AFTER_TASK_INSTANCE_CREATED, AFTER_VARIABLE_INSTANCE_CHANGED, BEFORE_ACTIVATION_FIRE, BEFORE_PACKAGE_ADDED, BEFORE_PACKAGE_REMOVED, BEFORE_RULE_ADDED, BEFORE_RULE_REMOVED, BEFORE_RULEFLOW_COMPLETED, BEFORE_RULEFLOW_CREATED, BEFORE_RULEFLOW_GROUP_ACTIVATED, BEFORE_RULEFLOW_GROUP_DEACTIVATED, BEFORE_RULEFLOW_NODE_EXITED, BEFORE_RULEFLOW_NODE_TRIGGERED, BEFORE_TASK_INSTANCE_COMPLETED, BEFORE_TASK_INSTANCE_CREATED, BEFORE_VARIABLE_INSTANCE_CHANGED, INSERTED, RETRACTED, UPDATED
Constructor and Description |
---|
ActivationLogEvent() |
ActivationLogEvent(int type,
String activationId,
String rule,
String declarations,
String ruleFlowGroup,
String factHandleIds)
Create a new activation log event.
|
Modifier and Type | Method and Description |
---|---|
String |
getActivationId()
Returns a unique id for the activation.
|
String |
getDeclarations()
Returns a String representation of the declarations in the
activation.
|
String |
getFactHandleIds() |
String |
getRule()
Returns the name of the rule of the activation.
|
String |
getRuleFlowGroup() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ActivationLogEvent()
public ActivationLogEvent(int type, String activationId, String rule, String declarations, String ruleFlowGroup, String factHandleIds)
type
- The type of event. This can only be ACTIVATION_CREATED, ACTIVATION_CANCELLED,
BEFORE_ACTIVATION_FIRE or AFTER_ACTIVATION_FIRE.activationId
- The id of the activationrule
- The name of the rule of the activationdeclarations
- A String representation of the declarations in the
activation.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in class LogEvent
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in class LogEvent
IOException
public String getActivationId()
public String getRule()
public String getDeclarations()
public String getRuleFlowGroup()
public String getFactHandleIds()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.