| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Updater.Builder |
apiKey(String apiKey)
Sets the API-Key.
|
Updater |
build()
Returns an instance of the Updater class.
|
abstract Updater.Builder |
interval(long interval)
Sets the update check interval in minutes.
|
abstract Updater.Builder |
plugin(Updatable plugin)
Sets the plugin which must implement the Updatable interface.
|
abstract Updater.Builder |
pluginId(int id)
Sets the Bukkit plugin ID.
|
abstract Updater.Builder |
releaseChannel(ReleaseChannel channel)
Sets the desired release channel.
|
public abstract Updater.Builder releaseChannel(ReleaseChannel channel)
channel - the ReleaseChannelpublic abstract Updater.Builder plugin(Updatable plugin)
plugin - the pluginpublic abstract Updater.Builder pluginId(int id)
id - the IDpublic abstract Updater.Builder interval(long interval)
interval - the interval in minutes. Must be greater or equal 5 minutes.@Nullable public abstract Updater.Builder apiKey(String apiKey)
apiKey - the API keypublic Updater build()
Copyright © 2016. All rights reserved.