Class KiekerDirectoryScannerStage
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractProducerStage<java.io.File>
kieker.analysis.generic.source.file.KiekerDirectoryScannerStage
public class KiekerDirectoryScannerStage
extends teetime.framework.AbstractProducerStage<java.io.File>
Scan a set of directories recursively for Kieker logs.
This producer stage outputs File objects representing valid Kieker log directories.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KiekerDirectoryScannerStage(java.io.File directory)
Create a directory scanner for a single directory.KiekerDirectoryScannerStage(java.util.List<java.io.File> directories)
Create a directory scanner. -
Method Summary
Modifier and Type Method Description protected void
execute()
Execute the directory scanner.Methods inherited from class teetime.framework.AbstractProducerStage
getOutputPort, getTerminationStrategy
Methods 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
-
KiekerDirectoryScannerStage
public KiekerDirectoryScannerStage(java.util.List<java.io.File> directories)Create a directory scanner.- Parameters:
directories
- array of directories to scan
-
KiekerDirectoryScannerStage
public KiekerDirectoryScannerStage(java.io.File directory)Create a directory scanner for a single directory.- Parameters:
directory
- the single directory
-
-
Method Details
-
execute
protected void execute()Execute the directory scanner.- Specified by:
execute
in classteetime.framework.AbstractStage
-