Interface CollectorSupport


@DeveloperApi public interface CollectorSupport
Factory object responsible for creating Collector operators. A collector operator will be requested for each output file of workflow tasks when task command execution is successfully completed. Therefore, factory might implement singleton collector object or create a new collector object each time when requested depending on the implementation, e.g. thread safety.
  • Method Summary

    Modifier and Type
    Method
    Description
    createCollector(PluginContext pluginContext, OperatorContext operatorContext)
    Returns a collector operator with specific plugin context and operator context that is created and initialized by SeqsLab workflow engine.
  • Method Details

    • createCollector

      Collector createCollector(PluginContext pluginContext, OperatorContext operatorContext)
      Returns a collector operator with specific plugin context and operator context that is created and initialized by SeqsLab workflow engine.
      Parameters:
      pluginContext - Plugin context returned from plugin initialization
      operatorContext - Operator context containing configuration parameters and task outputs
      Returns:
      A collector object