io.github.bakedlibs.dough.updater.UpdateInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dough-api Show documentation
Show all versions of dough-api Show documentation
This is the complete API of dough.
package io.github.bakedlibs.dough.updater;
import java.net.URL;
import javax.annotation.ParametersAreNonnullByDefault;
import io.github.bakedlibs.dough.versions.Version;
// TODO: Convert to Java 16 record
class UpdateInfo {
private final URL url;
private final Version version;
@ParametersAreNonnullByDefault
UpdateInfo(URL url, Version version) {
this.url = url;
this.version = version;
}
URL getUrl() {
return url;
}
Version getVersion() {
return version;
}
}