Class DebugSeffTraversalListener

  • All Implemented Interfaces:
    ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>

    public class DebugSeffTraversalListener
    extends Object
    implements ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>
    This listener prints a debug message whenever an AbstractAction is about to be traversed or when an action has been traversed completely.

    Use the install method to activate this listener.

    Notice: This listener does only apply to actions contained in a RD-SEFF.

    • Constructor Detail

      • DebugSeffTraversalListener

        public DebugSeffTraversalListener()
    • Method Detail

      • before

        public void before​(org.palladiosimulator.pcm.seff.AbstractAction action,
                           Request who)
        Called by the BehaviourInterpreter when the specified action is about to be traversed by the given entity.
        Specified by:
        before in interface ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>
        Parameters:
        action - the action that is traversed soon
        who - the entity that traverses the action
      • after

        public void after​(org.palladiosimulator.pcm.seff.AbstractAction action,
                          Request who)
        Called by the BehaviourInterpreter when the specified action has been traversed completely by the given entity.
        Specified by:
        after in interface ITraversalListener<org.palladiosimulator.pcm.seff.AbstractAction,​Request>
        Parameters:
        action - the action that has been traversed
        who - the entity that has traversed the action