| Modifier and Type | Method and Description |
|---|---|
ReleaseChannel |
Updatable.getReleaseChannel()
Returns the release type of the currently running plugin
|
static ReleaseChannel |
ReleaseChannel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReleaseChannel[] |
ReleaseChannel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Updater.setReleaseType(ReleaseChannel releaseChannel)
Changes the preferred release type Won't have effect until after
next update check.
|
| Constructor and Description |
|---|
PluginVersion(String versionString,
ReleaseChannel releaseChannel) |
Updater(Updatable plugin,
int pluginId,
File pluginFile,
String apiKey,
ReleaseChannel releaseChannel)
Deprecated.
|
Updater(Updatable plugin,
int pluginId,
int interval,
File pluginFile,
String apiKey,
ReleaseChannel releaseChannel)
Gets a new instance of the updater.
|
Copyright © 2015. All rights reserved.