All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.common.implementations.pipelines.configuration.SimplePipelineConfiguration Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.implementations.pipelines.configuration;

import java.util.ArrayList;
import java.util.List;

public class SimplePipelineConfiguration implements PipelineConfiguration {

  private List processors = new ArrayList<>();
  private List sources = new ArrayList<>();
  private List resources = new ArrayList<>();

  public SimplePipelineConfiguration() {}

  public SimplePipelineConfiguration(
      List sources,
      List processors,
      List resources) {
    this.processors.addAll(processors);
    this.sources.addAll(sources);
  }

  public List getProcessors() {
    return processors;
  }

  public void setProcessors(List processors) {
    this.processors = processors;
  }

  public List getSources() {
    return sources;
  }

  public void setSources(List sources) {
    this.sources = sources;
  }

  public List getResources() {
    return resources;
  }

  public void setResources(List resources) {
    this.resources = resources;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy