Enum Class ApiVersion

java.lang.Object
java.lang.Enum<ApiVersion>
org.opencastproject.external.common.ApiVersion
All Implemented Interfaces:
Serializable, Comparable<ApiVersion>, Constable

public enum ApiVersion extends Enum<ApiVersion>
The existing External API versions
  • Enum Constant Details

    • VERSION_1_0_0

      public static final ApiVersion VERSION_1_0_0
    • VERSION_1_1_0

      public static final ApiVersion VERSION_1_1_0
    • VERSION_1_2_0

      public static final ApiVersion VERSION_1_2_0
    • VERSION_1_3_0

      public static final ApiVersion VERSION_1_3_0
    • VERSION_1_4_0

      public static final ApiVersion VERSION_1_4_0
    • VERSION_1_5_0

      public static final ApiVersion VERSION_1_5_0
    • VERSION_1_6_0

      public static final ApiVersion VERSION_1_6_0
    • VERSION_1_7_0

      public static final ApiVersion VERSION_1_7_0
    • VERSION_1_8_0

      public static final ApiVersion VERSION_1_8_0
    • VERSION_1_9_0

      public static final ApiVersion VERSION_1_9_0
    • VERSION_1_10_0

      public static final ApiVersion VERSION_1_10_0
    • VERSION_1_11_0

      public static final ApiVersion VERSION_1_11_0
  • Field Details

    • CURRENT_VERSION

      public static final ApiVersion CURRENT_VERSION
      The most recent version of the External API
  • Method Details

    • values

      public static ApiVersion[] 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 ApiVersion 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
    • isSmallerThan

      public boolean isSmallerThan(ApiVersion other)
    • toExternalForm

      public String toExternalForm()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ApiVersion>