
annotations.io.fabric8.openshift.api.model.DoneableProjectList Maven / Gradle / Ivy
package io.fabric8.openshift.api.model;
import io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableProjectList extends ProjectListFluentImpl implements Doneable{
private final ProjectListBuilder builder;
private final Function function;
public DoneableProjectList(Function function){
super();this.builder=new ProjectListBuilder(this);this.function=function;
}
public DoneableProjectList(ProjectList item,Function function){
super(item);this.builder=new ProjectListBuilder(this, item);this.function=function;
}
public DoneableProjectList(ProjectList item){
super(item);this.builder=new ProjectListBuilder(this, item);this.function=new Function() {
public ProjectList apply(ProjectList item) {
return item;
}
}
;
}
public ProjectList done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy