public enum UpdateCheckSource extends Enum<UpdateCheckSource>
| Enum Constant and Description |
|---|
CUSTOM_URL
Custom link on where to fetch update checking information.
|
GITHUB_RELEASE_TAG
GitHub Releases API.
|
HANGAR
Hangar API.
|
POLYMART
Polymart API.
|
SPIGET
Spiget API.
|
SPIGOT
SpigotMC API.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateCheckSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateCheckSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateCheckSource SPIGOT
UpdateChecker(JavaPlugin, UpdateCheckSource, String).public static final UpdateCheckSource POLYMART
UpdateChecker(JavaPlugin, UpdateCheckSource, String).public static final UpdateCheckSource SPIGET
UpdateChecker(JavaPlugin, UpdateCheckSource, String).public static final UpdateCheckSource GITHUB_RELEASE_TAG
UpdateChecker(JavaPlugin, UpdateCheckSource, String). It will use the latest release's tag string.public static final UpdateCheckSource HANGAR
UpdateChecker(JavaPlugin, UpdateCheckSource, String). It will use the latest release's version string according to that release channel.public static final UpdateCheckSource CUSTOM_URL
UpdateChecker(JavaPlugin, UpdateCheckSource, String). The linked file must be a plaintext file containing only for the latest version string.public static UpdateCheckSource[] values()
for (UpdateCheckSource c : UpdateCheckSource.values()) System.out.println(c);
public static UpdateCheckSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021–2025 JEFF Media GbR. All rights reserved.