public class LoggingEVMListener
extends java.lang.Object
implements org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
IEVMListener
implementation that provides basic, preliminary loggingConstructor and Description |
---|
LoggingEVMListener(org.apache.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
activationChanged(org.eclipse.viatra.transformation.evm.api.Activation<?> activation,
org.eclipse.viatra.transformation.evm.api.event.ActivationState oldState,
org.eclipse.viatra.transformation.evm.api.event.EventType event) |
void |
activationCreated(org.eclipse.viatra.transformation.evm.api.Activation<?> activation,
org.eclipse.viatra.transformation.evm.api.event.ActivationState inactiveState) |
void |
activationRemoved(org.eclipse.viatra.transformation.evm.api.Activation<?> activation,
org.eclipse.viatra.transformation.evm.api.event.ActivationState oldState) |
void |
addedRule(org.eclipse.viatra.transformation.evm.api.RuleSpecification<?> specification) |
void |
afterFiring(org.eclipse.viatra.transformation.evm.api.Activation<?> activation) |
void |
beforeFiring(org.eclipse.viatra.transformation.evm.api.Activation<?> activation) |
void |
disposeListener() |
void |
endTransaction(java.lang.String transactionID) |
void |
initializeListener() |
void |
removedRule(org.eclipse.viatra.transformation.evm.api.RuleSpecification<?> specification) |
void |
startTransaction(java.lang.String transactionID) |
public void initializeListener()
initializeListener
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void beforeFiring(org.eclipse.viatra.transformation.evm.api.Activation<?> activation)
beforeFiring
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void afterFiring(org.eclipse.viatra.transformation.evm.api.Activation<?> activation)
afterFiring
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void startTransaction(java.lang.String transactionID)
startTransaction
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void endTransaction(java.lang.String transactionID)
endTransaction
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void activationChanged(org.eclipse.viatra.transformation.evm.api.Activation<?> activation, org.eclipse.viatra.transformation.evm.api.event.ActivationState oldState, org.eclipse.viatra.transformation.evm.api.event.EventType event)
activationChanged
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void activationCreated(org.eclipse.viatra.transformation.evm.api.Activation<?> activation, org.eclipse.viatra.transformation.evm.api.event.ActivationState inactiveState)
activationCreated
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void activationRemoved(org.eclipse.viatra.transformation.evm.api.Activation<?> activation, org.eclipse.viatra.transformation.evm.api.event.ActivationState oldState)
activationRemoved
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void addedRule(org.eclipse.viatra.transformation.evm.api.RuleSpecification<?> specification)
addedRule
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void removedRule(org.eclipse.viatra.transformation.evm.api.RuleSpecification<?> specification)
removedRule
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener
public void disposeListener()
disposeListener
in interface org.eclipse.viatra.transformation.evm.api.adapter.IEVMListener