Package kieker.analysis.code
Class CallerCalleeFixPathStage
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<E,E>
teetime.stage.basic.AbstractFilter<CallerCalleeEntry>
kieker.analysis.code.CallerCalleeFixPathStage
- All Implemented Interfaces:
teetime.stage.basic.ITransformation<CallerCalleeEntry,CallerCalleeEntry>
public class CallerCalleeFixPathStage extends teetime.stage.basic.AbstractFilter<CallerCalleeEntry>
This stage receives an
CallerCalleeEntry
object and checks whether the file path for
caller and callee operation are specified. In case they are missing, the stage sets them based on
its operation to file lookup table. In case the operation is not listed, it collects all
operations which do not have a file name.
- outputPort sends out
CallerCalleeEntry
objects with all 4 values set. - missingOperationOutputPort sends out each newly found operation which does not have a associated file path.
- Since:
- 1.1
- Author:
- Reiner Jung
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CallerCalleeFixPathStage(java.util.List<java.nio.file.Path> functionMapPaths, java.lang.String splitSymbol)
-
Method Summary
Modifier and Type Method Description protected void
execute(CallerCalleeEntry element)
teetime.framework.OutputPort<java.lang.String>
getMissingOperationOutputPort()
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
-
CallerCalleeFixPathStage
public CallerCalleeFixPathStage(java.util.List<java.nio.file.Path> functionMapPaths, java.lang.String splitSymbol) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
execute
- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<CallerCalleeEntry>
- Throws:
java.lang.Exception
-
getMissingOperationOutputPort
public teetime.framework.OutputPort<java.lang.String> getMissingOperationOutputPort()
-