Commit ccd6a4ea authored by R.W.Majeed's avatar R.W.Majeed

cascadable transformation

parent 92c011d6
......@@ -22,6 +22,14 @@ public class PullTransformer extends AbstractTransformer implements Supplier<Obs
this.source = source;
}
/**
* Execute this transformation after another transformation
* @param previousTransformation previous transformation
* @return composite transformer which executes this transformation after the specified previous transformation
*/
public PullTransformer andThen(Transformation previousTransformation){
return new PullTransformer(this, previousTransformation);
}
@Override
public Observation get() {
Observation ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment