Class UserSessionToBehaviorModelTransformation

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<UserSession,​IGraph<INode,​UserBehaviorEdge>>
kieker.analysis.behavior.UserSessionToBehaviorModelTransformation
All Implemented Interfaces:
teetime.stage.basic.ITransformation<UserSession,​IGraph<INode,​UserBehaviorEdge>>

public class UserSessionToBehaviorModelTransformation
extends teetime.stage.basic.AbstractTransformation<UserSession,​IGraph<INode,​UserBehaviorEdge>>
Converts User Sessions into BehaviorModels.
Since:
2.0.0
Author:
Lars Jürgensen
  • Field Summary

    Fields inherited from class teetime.stage.basic.AbstractTransformation

    outputPort

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    UserSessionToBehaviorModelTransformation()  
  • Method Summary

    Modifier and Type Method Description
    void addEdge​(EntryCallEvent event, com.google.common.graph.MutableNetwork<INode,​UserBehaviorEdge> model, INode source, INode target)
    Adds an edge to a model, if the edge does not exist already.
    com.google.common.graph.MutableNetwork<INode,​UserBehaviorEdge> eventsToModel​(java.util.List<EntryCallEvent> events)
    Converts a list of events into a behavior model.
    protected void execute​(UserSession session)  

    Methods inherited from class teetime.stage.basic.AbstractTransformation

    getOutputPort

    Methods inherited from class teetime.framework.AbstractConsumerStage

    createInputPort, execute, getInputPort

    Methods inherited from class teetime.framework.AbstractStage

    abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface teetime.stage.basic.ITransformation

    getInputPort
  • Constructor Details

  • Method Details

    • execute

      protected void execute​(UserSession session) throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<UserSession>
      Throws:
      java.lang.Exception
    • eventsToModel

      public com.google.common.graph.MutableNetwork<INode,​UserBehaviorEdge> eventsToModel​(java.util.List<EntryCallEvent> events)
      Converts a list of events into a behavior model.
      Parameters:
      events - The list of events
      Returns:
      The behavior model
    • addEdge

      public void addEdge​(EntryCallEvent event, com.google.common.graph.MutableNetwork<INode,​UserBehaviorEdge> model, INode source, INode target)
      Adds an edge to a model, if the edge does not exist already.
      Parameters:
      event -
      model -
      source -
      target -