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

org.dominokit.domino.ui.upload.UploadOptions Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package org.dominokit.domino.ui.upload;

import java.util.List;
import java.util.function.Supplier;

public class UploadOptions {
    private String url;
    private double maxFileSize;
    private Supplier> successCodesProvider;

    public UploadOptions(String url, double maxFileSize, Supplier> successCodesProvider) {
        this.url = url;
        this.maxFileSize = maxFileSize;
        this.successCodesProvider = successCodesProvider;
    }

    void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public double getMaxFileSize() {
        return maxFileSize;
    }

    public Supplier> getSuccessCodesProvider() {
        return successCodesProvider;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy