public abstract class Updater extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Updater.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Updater.Builder |
builder() |
void |
cancel()
Cancels all scheduled update checks.
|
abstract String |
getApiKey()
Returns the server owner's API key.
|
abstract Updatable |
getPlugin()
Returns the updatable plugin.
|
abstract int |
getPluginId()
Returns the plugin's Bukkit ID.
|
abstract ReleaseChannel |
getReleaseChannel()
Returns the minimum ReleaseChannel.
|
void |
setInterval(long interval)
Sets the update check interval in minutes.
|
public static Updater.Builder builder()
@Nullable public abstract String getApiKey()
public abstract ReleaseChannel getReleaseChannel()
public abstract int getPluginId()
public abstract Updatable getPlugin()
public void setInterval(long interval)
interval - the new check interval. Must be greater or equal 5public void cancel()
Copyright © 2016. All rights reserved.