io.vtom.vertx.pipeline.step.Step Maven / Gradle / Ivy
package io.vtom.vertx.pipeline.step;
public class Step {
private VtmStepContext context;
Step(VtmStepContext context) {
this.context = context;
}
public Step(StepStack stepstack) {
this(new VtmStepContext<>(stepstack));
}
public static Step with(StepStack stepstack) {
return new Step<>(stepstack);
}
protected VtmStepContext context() {
return this.context;
}
public Step id(String id) {
this.context.id(id);
return this;
}
public Step ord(int ord) {
this.context.ord(ord);
return this;
}
public Step after(int after) {
this.context.after(after);
return this;
}
}