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

io.vtom.vertx.pipeline.component.timer.AbstractTimer Maven / Gradle / Ivy

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

import io.vertx.core.Handler;
import io.vtom.vertx.pipeline.lifecycle.skip.Skip;

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

public abstract class AbstractTimer implements Timer {

  private List> stepskips;

  @Override
  public T skip(Handler stepskip) {
    if (this.stepskips == null)
      this.stepskips = new ArrayList<>();
    this.stepskips.add(stepskip);
    return (T) this;
  }

  protected List> stepskips() {
    return this.stepskips;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy