Enum Class PluginVersion

java.lang.Object
java.lang.Enum<PluginVersion>
nl.mtvehicles.core.infrastructure.enums.PluginVersion
All Implemented Interfaces:
Serializable, Comparable<PluginVersion>, Constable

@Deprecated public enum PluginVersion extends Enum<PluginVersion>
Deprecated.
The plugin's version
  • Enum Constant Details

    • LEGACY

      public static final PluginVersion LEGACY
      Deprecated.
      Legacy versions (older than 2.3.0)
    • v2_3_0

      public static final PluginVersion v2_3_0
      Deprecated.
      2.3.0 (The fuel and dependency update)
    • v2_4_0_pre1

      public static final PluginVersion v2_4_0_pre1
      Deprecated.
      2.4.0-pre1
    • v2_4_0_rc1

      public static final PluginVersion v2_4_0_rc1
      Deprecated.
      2.4.0-rc1
    • v2_4_0

      public static final PluginVersion v2_4_0
      Deprecated.
      2.4.0 (The Planes and the API update)
    • v2_4_1

      public static final PluginVersion v2_4_1
      Deprecated.
      2.4.1 (Hotfixes)
    • v2_4_2

      public static final PluginVersion v2_4_2
      Deprecated.
      2.4.2
    • v2_4_3

      public static final PluginVersion v2_4_3
      Deprecated.
      2.4.3 (with 1.19 support)
    • v2_5_0_pre1

      public static final PluginVersion v2_5_0_pre1
      Deprecated.
      2.5.0-pre1
    • v2_5_0_pre2

      public static final PluginVersion v2_5_0_pre2
      Deprecated.
      2.5.0-pre2
    • v2_5_0

      public static final PluginVersion v2_5_0
      Deprecated.
      2.5.0 (Boats and API overhaul, 1.20 support)
    • v2_5_1

      public static final PluginVersion v2_5_1
      Deprecated.
      2.5.1 (Skript)
    • v2_5_2

      public static final PluginVersion v2_5_2
      Deprecated.
      (auto-updater not working)
      2.5.2
    • v2_5_3

      public static final PluginVersion v2_5_3
      Deprecated.
      2.5.3 (auto-updater hotfix)
    • v2_5_4

      public static final PluginVersion v2_5_4
      Deprecated.
      2.5.4 (1.20.6 Update and Bug fixes)
    • v2_5_5

      public static final PluginVersion v2_5_5
      Deprecated.
      2.5.5 (1.21 Update and Bug fixes)
    • v2_5_6

      public static final PluginVersion v2_5_6
      Deprecated.
      2.5.6 (next expected version)
    • LATEST

      public static final PluginVersion LATEST
      Deprecated.
      Latest version (from auto-updater)
    • DEV

      public static final PluginVersion DEV
      Deprecated.
      Dev-builds (auto-updater is disabled)
  • Method Details

    • values

      public static PluginVersion[] 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

      public static PluginVersion valueOf(String name)
      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 name
      NullPointerException - 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

      public static PluginVersion getPluginVersion()
      Deprecated.
      Get the plugin's version as enum
    • getVersion

      public static PluginVersion getVersion(String version)
      Deprecated.
      Get plugin version from a String
    • isOlderThan

      public boolean isOlderThan(@NotNull @NotNull PluginVersion compareVersion)
      Deprecated.
      Check whether the version is older than a given version