public static enum AnnoyingDownload.Platform extends java.lang.Enum<AnnoyingDownload.Platform>
| Enum Constant and Description |
|---|
BUKKIT
|
EXTERNAL
An external direct-download URL
|
MANUAL
A URL that the user can manually download the plugin from
|
MODRINTH
|
SPIGOT
|
| Modifier and Type | Method and Description |
|---|---|
static AnnoyingDownload.Platform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnoyingDownload.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnoyingDownload.Platform MODRINTH
public static final AnnoyingDownload.Platform SPIGOT
public static final AnnoyingDownload.Platform BUKKIT
public static final AnnoyingDownload.Platform EXTERNAL
Example: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/target/ProtocolLib.jar
public static final AnnoyingDownload.Platform MANUAL
Example: https://github.com/srnyx/annoying-api/releases/latest
public static AnnoyingDownload.Platform[] values()
for (AnnoyingDownload.Platform c : AnnoyingDownload.Platform.values()) System.out.println(c);
public static AnnoyingDownload.Platform valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null