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

io.vtom.vertx.pipeline.Pipeline Maven / Gradle / Ivy

There is a newer version: 1.1-beta
Show newest version
package io.vtom.vertx.pipeline;

import io.vertx.core.Vertx;
import io.vtom.vertx.pipeline.lifecycle.PipeLifecycle;
import io.vtom.vertx.pipeline.step.StepIN;
import io.vtom.vertx.pipeline.step.StepOUT;

import java.util.List;

public interface Pipeline {

  static Pipeline pipeline(Vertx vertx) {
    return new PipelineImpl(vertx);
  }

  static Pipeline join(List steps) {
    Pipeline pipeline = null;
    for (PipeStep step : steps) {
      pipeline = step.join();
    }
    return pipeline;
  }

  PipeLifecycle lifecycle();

   Pipeline next(PipeRunnable piperunnable);

  PipePromise enqueue();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy