me.snowdrop.istio.mixer.adapter.zipkin.DoneableZipkinList Maven / Gradle / Ivy
package me.snowdrop.istio.mixer.adapter.zipkin;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableZipkinList extends ZipkinListFluentImpl implements Doneable{
private final ZipkinListBuilder builder;
private final Function function;
public DoneableZipkinList(Function function){
super();this.builder=new ZipkinListBuilder(this);this.function=function;
}
public DoneableZipkinList(ZipkinList item,Function function){
super(item);this.builder=new ZipkinListBuilder(this, item);this.function=function;
}
public DoneableZipkinList(ZipkinList item){
super(item);this.builder=new ZipkinListBuilder(this, item);this.function=new Function() {
public ZipkinList apply(ZipkinList item) {
return item;
}
}
;
}
public ZipkinList done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy