Enum Class PluginVersion
- All Implemented Interfaces:
Serializable
,Comparable<PluginVersion>
,Constable
Deprecated.
The plugin's version
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Dev-builds (auto-updater is disabled)Deprecated.Latest version (from auto-updater)Deprecated.Deprecated.2.3.0 (The fuel and dependency update)Deprecated.2.4.0 (The Planes and the API update)Deprecated.2.4.0-pre1Deprecated.2.4.0-rc1Deprecated.2.4.1 (Hotfixes)Deprecated.2.4.2Deprecated.2.4.3 (with 1.19 support)Deprecated.2.5.0 (Boats and API overhaul, 1.20 support)Deprecated.2.5.0-pre1Deprecated.2.5.0-pre2Deprecated.2.5.1 (Skript)Deprecated.(auto-updater not working)Deprecated.2.5.3 (auto-updater hotfix)Deprecated.2.5.4 (1.20.6 Update and Bug fixes)Deprecated.2.5.5 (1.21 Update and Bug fixes)Deprecated.2.5.6 (next expected version) -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Deprecated.static PluginVersion
Deprecated.Get the plugin's version as enumstatic PluginVersion
getVersion
(String version) Deprecated.Get plugin version from a Stringboolean
isDev()
Deprecated.Check whether the plugin version is a dev-version (auto-updater is disabled)boolean
isOlderThan
(@NotNull PluginVersion compareVersion) Deprecated.Check whether the version is older than a given versionstatic PluginVersion
Deprecated.Returns the enum constant of this class with the specified name.static PluginVersion[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
Deprecated.Legacy versions (older than 2.3.0) -
v2_3_0
Deprecated.2.3.0 (The fuel and dependency update) -
v2_4_0_pre1
Deprecated.2.4.0-pre1 -
v2_4_0_rc1
Deprecated.2.4.0-rc1 -
v2_4_0
Deprecated.2.4.0 (The Planes and the API update) -
v2_4_1
Deprecated.2.4.1 (Hotfixes) -
v2_4_2
Deprecated.2.4.2 -
v2_4_3
Deprecated.2.4.3 (with 1.19 support) -
v2_5_0_pre1
Deprecated.2.5.0-pre1 -
v2_5_0_pre2
Deprecated.2.5.0-pre2 -
v2_5_0
Deprecated.2.5.0 (Boats and API overhaul, 1.20 support) -
v2_5_1
Deprecated.2.5.1 (Skript) -
v2_5_2
Deprecated.(auto-updater not working)2.5.2 -
v2_5_3
Deprecated.2.5.3 (auto-updater hotfix) -
v2_5_4
Deprecated.2.5.4 (1.20.6 Update and Bug fixes) -
v2_5_5
Deprecated.2.5.5 (1.21 Update and Bug fixes) -
v2_5_6
Deprecated.2.5.6 (next expected version) -
LATEST
Deprecated.Latest version (from auto-updater) -
DEV
Deprecated.Dev-builds (auto-updater is disabled)
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrder
public int getOrder()Deprecated. -
isDev
public boolean isDev()Deprecated.Check whether the plugin version is a dev-version (auto-updater is disabled)- Returns:
- True if plugin is a dev-build
-
getPluginVersion
Deprecated.Get the plugin's version as enum -
getVersion
Deprecated.Get plugin version from a String -
isOlderThan
Deprecated.Check whether the version is older than a given version
-