Class ModelSink

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<ModelRepository>
kieker.analysis.architecture.ModelSink

public class ModelSink
extends teetime.framework.AbstractConsumerStage<ModelRepository>
Write an in memory model into an output directory.
Since:
1.1
Author:
Reiner Jung
  • Field Summary

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    ModelSink​(java.nio.file.Path outputPath)
    Create a model sink.
    ModelSink​(java.nio.file.Path outputPath, boolean useRepositoryName)
    Create a model sink.
  • Method Summary

    Modifier and Type Method Description
    protected void execute​(ModelRepository element)  

    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
  • Constructor Details

    • ModelSink

      public ModelSink​(java.nio.file.Path outputPath)
      Create a model sink. In the output directory does not exist, it tries to create it.
      Parameters:
      outputPath - path to the directory where the model is stored in
    • ModelSink

      public ModelSink​(java.nio.file.Path outputPath, boolean useRepositoryName)
      Create a model sink. In the output directory does not exist, it tries to create it.
      Parameters:
      outputPath - path to the directory where the model is stored in
      useRepositoryName - inf true the outputPath is extended by the repository name
  • Method Details

    • execute

      protected void execute​(ModelRepository element) throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<ModelRepository>
      Throws:
      java.lang.Exception