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