Enum Class Version

java.lang.Object
java.lang.Enum<Version>
studio.magemonkey.codex.core.Version
All Implemented Interfaces:
Serializable, Comparable<Version>, Constable

public enum Version extends Enum<Version>
  • Enum Constant Details

    • TEST

      public static final Version TEST
    • V1_16_R3

      public static final Version V1_16_R3
    • V1_17_R1

      public static final Version V1_17_R1
    • V1_18_R1

      public static final Version V1_18_R1
    • V1_18_R2

      public static final Version V1_18_R2
    • V1_19_R1

      public static final Version V1_19_R1
    • V1_19_R2

      public static final Version V1_19_R2
    • V1_19_R3

      public static final Version V1_19_R3
    • V1_20_R1

      public static final Version V1_20_R1
    • V1_20_R2

      public static final Version V1_20_R2
    • V1_20_R3

      public static final Version V1_20_R3
    • V1_20_R4

      public static final Version V1_20_R4
    • V1_21_R1

      public static final Version V1_21_R1
    • V1_21_R2

      public static final Version V1_21_R2
    • V1_21_R3

      public static final Version V1_21_R3
    • V1_21_R4

      public static final Version V1_21_R4
    • V1_21_R5

      public static final Version V1_21_R5
    • V1_21_R6

      public static final Version V1_21_R6
    • V1_21_R7

      public static final Version V1_21_R7
  • Field Details

    • CURRENT

      public static final Version CURRENT
  • Method Details

    • values

      public static Version[] values()
      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 Version valueOf(String name)
      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
    • isLower

      public boolean isLower(@NotNull Version version)
    • isHigher

      public boolean isHigher(@NotNull Version version)
    • isAtLeast

      public boolean isAtLeast(@NotNull Version version)
    • isCurrent

      public boolean isCurrent()