restx.specs.When Maven / Gradle / Ivy
package restx.specs;
/**
* @author xavierhanin
*/
public abstract class When {
private final T then;
protected When(T then) {
this.then = then;
}
public T getThen() {
return then;
}
public abstract void toString(StringBuilder sb);
public abstract When withThen(T then);
}