Package kieker.analysis.generic.source
Class DirectoryProducer
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractProducerStage<java.nio.file.Path>
kieker.analysis.generic.source.DirectoryProducer
public class DirectoryProducer
extends teetime.framework.AbstractProducerStage<java.nio.file.Path>
Send out all directories specified as paths or files.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DirectoryProducer(java.nio.file.Path... paths)Create a directory producer using paths as input.DirectoryProducer(java.util.List<java.nio.file.Path> paths) -
Method Summary
Modifier and Type Method Description protected voidexecute()Methods inherited from class teetime.framework.AbstractProducerStage
getOutputPort, getTerminationStrategyMethods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
DirectoryProducer
public DirectoryProducer(java.nio.file.Path... paths)Create a directory producer using paths as input.- Parameters:
paths- paths to be converted to files and checked whether they are directories
-
DirectoryProducer
public DirectoryProducer(java.util.List<java.nio.file.Path> paths)
-
-
Method Details
-
execute
protected void execute() throws java.lang.Exception- Specified by:
executein classteetime.framework.AbstractStage- Throws:
java.lang.Exception
-