Class DebugUsageTraversalListener
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.workload.debug.DebugUsageTraversalListener
-
- All Implemented Interfaces:
ITraversalListener<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,User>
public class DebugUsageTraversalListener extends Object implements ITraversalListener<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,User>
This listener prints a debug message whenever anAbstractUserAction
is about to be traversed or when an action has been traversed completely. Callinstall()
to activate this listener.Notice: This listener does only apply to actions contained in a usage scenario.
-
-
Constructor Summary
Constructors Constructor Description DebugUsageTraversalListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after(org.palladiosimulator.pcm.usagemodel.AbstractUserAction action, User who)
r Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.void
before(org.palladiosimulator.pcm.usagemodel.AbstractUserAction action, User who)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.
-
-
-
Method Detail
-
before
public void before(org.palladiosimulator.pcm.usagemodel.AbstractUserAction action, User who)
Called by theBehaviourInterpreter
when the specified action is about to be traversed by the given entity.- Specified by:
before
in interfaceITraversalListener<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,User>
- Parameters:
action
- the action that is traversed soonwho
- the entity that traverses the action
-
after
public void after(org.palladiosimulator.pcm.usagemodel.AbstractUserAction action, User who)
r Called by theBehaviourInterpreter
when the specified action has been traversed completely by the given entity.- Specified by:
after
in interfaceITraversalListener<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,User>
- Parameters:
action
- the action that has been traversedwho
- the entity that has traversed the action
-
-