Class ExtractorHandler
java.lang.Object
tools.descartes.dlim.extractorHandler.ExtractorHandler
Handles all registered implementations of the Extractor extension point.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeExtension
(int extractorIndex, String arrivalRateFilePath, Sequence rootObject, double offset) Execute an extractor at the given index within the list of registered Extractors.String[]
Get the ordered List of Extractor labels.static ExtractorHandler
Get the handler Singleton.
-
Field Details
-
IEXTRACTOR_ID
ID of the Extractor Extension Point.- See Also:
-
-
Method Details
-
getHandlerSingleton
Get the handler Singleton.- Returns:
- Returns the singleton.
-
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 extractorsarrivalRateFilePath
- 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.
-