Enum Class ReindexRequirement

java.lang.Object
java.lang.Enum<ReindexRequirement>
com.atlassian.jira.upgrade.ReindexRequirement
All Implemented Interfaces:
Serializable, Comparable<ReindexRequirement>, Constable

public enum ReindexRequirement extends Enum<ReindexRequirement>
Downgrade Tasks can use this to request a reindex after the downgrade is complete.
Since:
v6.4.6
  • Enum Constant Details

    • NONE

      public static final ReindexRequirement NONE
      No reindex is required
    • BACKGROUND

      public static final ReindexRequirement BACKGROUND
      JIRA will start up and a reindex will happen in a background thread.
    • FOREGROUND

      public static final ReindexRequirement FOREGROUND
      JIRA will do a reindex in the foreground thread and user will be locked out until it is complete.
  • Method Details

    • values

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