io.vtom.vertx.pipeline.component.fs.action.AbstractFsAction Maven / Gradle / Ivy
package io.vtom.vertx.pipeline.component.fs.action;
import io.vertx.core.Handler;
import io.vtom.vertx.pipeline.lifecycle.skip.Skip;
import java.util.ArrayList;
import java.util.List;
public abstract class AbstractFsAction implements Fs {
private String path;
private List> stepskips;
public AbstractFsAction(String path) {
this.path = path;
}
protected String path() {
return this.path;
}
@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;
}
}