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