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

me.snowdrop.istio.mixer.template.reportnothing.DoneableReportNothing Maven / Gradle / Ivy

package me.snowdrop.istio.mixer.template.reportnothing;

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

public class DoneableReportNothing extends ReportNothingFluentImpl implements Doneable{

    private final ReportNothingBuilder builder;
    private final Function function;

    public DoneableReportNothing(Function function){
            super();this.builder=new ReportNothingBuilder(this);this.function=function;
    }
    public DoneableReportNothing(ReportNothing item,Function function){
            super(item);this.builder=new ReportNothingBuilder(this, item);this.function=function;
    }
    public DoneableReportNothing(ReportNothing item){
            super(item);this.builder=new ReportNothingBuilder(this, item);this.function=new Function() {
    public ReportNothing apply(ReportNothing item) {
        return item;
    }
}
;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy