Interface WriterSupport


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

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

    • createWriter

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