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

    Fields inherited from class teetime.framework.AbstractProducerStage

    outputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • 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 void execute()  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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:
      execute in class teetime.framework.AbstractStage
      Throws:
      java.lang.Exception