All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.me.snowdrop.servicecatalog.api.model.DoneableClusterServicePlan Maven / Gradle / Ivy

The newest version!
package me.snowdrop.servicecatalog.api.model;

import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;

public class DoneableClusterServicePlan extends ClusterServicePlanFluentImpl implements Doneable{

    private final ClusterServicePlanBuilder builder;
    private final io.fabric8.kubernetes.api.builder.Function function;

    public DoneableClusterServicePlan(io.fabric8.kubernetes.api.builder.Function function){
            super();this.builder=new ClusterServicePlanBuilder(this);this.function=function;
    }
    public DoneableClusterServicePlan(ClusterServicePlan item,io.fabric8.kubernetes.api.builder.Function function){
            super(item);this.builder=new ClusterServicePlanBuilder(this, item);this.function=function;
    }
    public DoneableClusterServicePlan(ClusterServicePlan item){
            super(item);this.builder=new ClusterServicePlanBuilder(this, item);this.function=new Function() {
    public ClusterServicePlan apply(ClusterServicePlan item) {
        return item;
    }
}
;
    }

    public ClusterServicePlan done(){
             return function.apply(builder.build());
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy