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