io.dekorate.halkyon.model.DoneableCapabilityStatus Maven / Gradle / Ivy
package io.dekorate.halkyon.model;
import io.dekorate.deps.kubernetes.api.builder.Function;
import io.dekorate.deps.kubernetes.api.model.Doneable;
public class DoneableCapabilityStatus extends CapabilityStatusFluentImpl implements Doneable {
private final CapabilityStatusBuilder builder;
private final Function function;
public DoneableCapabilityStatus(Function function) {
super();this.builder=new CapabilityStatusBuilder(this);this.function=function;
}
public DoneableCapabilityStatus(CapabilityStatus item,Function function) {
super(item);this.builder=new CapabilityStatusBuilder(this, item);this.function=function;
}
public DoneableCapabilityStatus(CapabilityStatus item) {
super(item);this.builder=new CapabilityStatusBuilder(this, item);this.function=new Function() {
public CapabilityStatus apply(CapabilityStatus item) {
return item;
}
}
;
}
public CapabilityStatus done() {
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy