annotations.me.snowdrop.applicationcrd.api.model.DoneableApplication Maven / Gradle / Ivy
package me.snowdrop.applicationcrd.api.model;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableApplication extends ApplicationFluentImpl implements Doneable{
private final ApplicationBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableApplication(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ApplicationBuilder(this);this.function=function;
}
public DoneableApplication(Application item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ApplicationBuilder(this, item);this.function=function;
}
public DoneableApplication(Application item){
super(item);this.builder=new ApplicationBuilder(this, item);this.function=new Function() {
public Application apply(Application item) {
return item;
}
}
;
}
public Application done(){
return function.apply(builder.build());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy