Package kieker.analysis.architecture
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
-
Constructor Summary
-
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
-
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 inuseRepositoryName
- inf true the outputPath is extended by the repository name
-
-
Method Details
-
execute
- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<ModelRepository>
- Throws:
java.lang.Exception
-