Enum XWikiVersions

java.lang.Object
java.lang.Enum<XWikiVersions>
com.xwiki.admintools.health.XWikiVersions
All Implemented Interfaces:
Serializable, Comparable<XWikiVersions>

@Unstable public enum XWikiVersions extends Enum<XWikiVersions>
Main XWiki versions.
Since:
1.0-rc-1
Version:
$Id$
  • Enum Constant Details

    • XWIKI_8_1

      public static final XWikiVersions XWIKI_8_1
      XWiki version 8.1.0.
    • XWIKI_11_3

      public static final XWikiVersions XWIKI_11_3
      XWiki version 11.3.0.
    • XWIKI_14_0

      public static final XWikiVersions XWIKI_14_0
      XWiki version 14.0.0.
    • XWIKI_14_10_9

      public static final XWikiVersions XWIKI_14_10_9
      XWiki version 14.10.9.
    • XWIKI_15_3

      public static final XWikiVersions XWIKI_15_3
      XWiki version 15.3.0.
    • XWIKI_16_0

      public static final XWikiVersions XWIKI_16_0
      XWiki version 16.0.0.
    • XWIKI_17_0

      public static final XWikiVersions XWIKI_17_0
      XWiki version 17.0.0.
  • Method Details

    • values

      public static XWikiVersions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static XWikiVersions valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getVersion

      public String getVersion()
      Get the XWiki version represented by the enum value.
      Returns:
      the version represented by the enum value.