Enum Class DowngradeWorker.Mode

java.lang.Object
java.lang.Enum<DowngradeWorker.Mode>
com.atlassian.jira.bc.dataimport.DowngradeWorker.Mode
All Implemented Interfaces:
Serializable, Comparable<DowngradeWorker.Mode>, Constable
Enclosing class:
DowngradeWorker

public static enum DowngradeWorker.Mode extends Enum<DowngradeWorker.Mode>
Downgrade mode.

IMPORT means a downgrade from an import. This will not schedule a reindex because the import will force a full reindex anyway.

START_UP means an in place DB downgrade detected at JIRA start up. If any downgrade tasks require a reindex, then we store this in the DB and later schedule a job to kick off a background reindex.

  • Enum Constant Details

  • Method Details

    • values

      public static DowngradeWorker.Mode[] 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 DowngradeWorker.Mode 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