| Constructor and Description |
|---|
Builder(Updatable plugin,
int pluginId) |
| Modifier and Type | Method and Description |
|---|---|
Updater.Builder |
apiKey(String apiKey) |
Updater |
build() |
Updater.Builder |
channel(ReleaseChannel channel) |
Updater.Builder |
interval(int interval)
Set the update check interval in minutes
|
public Builder(Updatable plugin, int pluginId)
public Updater.Builder apiKey(String apiKey)
public Updater.Builder channel(ReleaseChannel channel)
public Updater.Builder interval(int interval) throws IllegalArgumentException
interval - the interval in minutes. Must be greater or equal 5
minutes.IllegalArgumentException - if the interval is less than 5 minutespublic Updater build()
Copyright © 2015. All rights reserved.