Class ExtractorHandler

java.lang.Object
tools.descartes.dlim.extractorHandler.ExtractorHandler

public final class ExtractorHandler extends Object
Handles all registered implementations of the Extractor extension point.
  • Field Details

  • Method Details

    • getHandlerSingleton

      public static ExtractorHandler getHandlerSingleton()
      Get the handler Singleton.
      Returns:
      Returns the singleton.
    • getExtractorLabels

      public String[] getExtractorLabels()
      Get the ordered List of Extractor labels.
      Returns:
      the extractor labels
    • executeExtension

      public void executeExtension(int extractorIndex, String arrivalRateFilePath, Sequence rootObject, double offset)
      Execute an extractor at the given index within the list of registered Extractors. The index corresponds to its label index within the ordered label list.
      Parameters:
      extractorIndex - Index of Extension point implementation in list of extractors
      arrivalRateFilePath - Path of the arrival rate trace.
      rootObject - the Sequence into which the trace is to be extracted.
      offset - the offset within the arrival rate trace at which to start reading it.