Class DirectoryProducer

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractProducerStage<Path>
kieker.analysis.generic.source.DirectoryProducer

public class DirectoryProducer extends teetime.framework.AbstractProducerStage<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
    Create a directory producer using paths as input.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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(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(List<Path> paths)
  • Method Details

    • execute

      protected void execute() throws Exception
      Specified by:
      execute in class teetime.framework.AbstractStage
      Throws:
      Exception