io.vtom.vertx.pipeline.component.timer.AbstractTimer Maven / Gradle / Ivy
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;
}
}