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

me.snowdrop.istio.mixer.template.logentry.DoneableLogEntryList Maven / Gradle / Ivy

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

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

public class DoneableLogEntryList extends LogEntryListFluentImpl implements Doneable{

    private final LogEntryListBuilder builder;
    private final Function function;

    public DoneableLogEntryList(Function function){
            super();this.builder=new LogEntryListBuilder(this);this.function=function;
    }
    public DoneableLogEntryList(LogEntryList item,Function function){
            super(item);this.builder=new LogEntryListBuilder(this, item);this.function=function;
    }
    public DoneableLogEntryList(LogEntryList item){
            super(item);this.builder=new LogEntryListBuilder(this, item);this.function=new Function() {
    public LogEntryList apply(LogEntryList item) {
        return item;
    }
}
;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy