annotations.me.snowdrop.applicationcrd.api.model.DoneableObjectStatus 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 DoneableObjectStatus extends ObjectStatusFluentImpl implements Doneable{
private final ObjectStatusBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableObjectStatus(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ObjectStatusBuilder(this);this.function=function;
}
public DoneableObjectStatus(ObjectStatus item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ObjectStatusBuilder(this, item);this.function=function;
}
public DoneableObjectStatus(ObjectStatus item){
super(item);this.builder=new ObjectStatusBuilder(this, item);this.function=new Function() {
public ObjectStatus apply(ObjectStatus item) {
return item;
}
}
;
}
public ObjectStatus done(){
return function.apply(builder.build());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy