annotations.io.alauda.kubernetes.api.model.DoneablePipelineSourceSvn Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneablePipelineSourceSvn extends PipelineSourceSvnFluentImpl implements Doneable{
private final PipelineSourceSvnBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneablePipelineSourceSvn(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new PipelineSourceSvnBuilder(this);this.function=function;
}
public DoneablePipelineSourceSvn(PipelineSourceSvn item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new PipelineSourceSvnBuilder(this, item);this.function=function;
}
public DoneablePipelineSourceSvn(PipelineSourceSvn item){
super(item);this.builder=new PipelineSourceSvnBuilder(this, item);this.function=new Function() {
public PipelineSourceSvn apply(PipelineSourceSvn item) {
return item;
}
}
;
}
public PipelineSourceSvn done(){
return function.apply(builder.build());
}
}