Package com.atlassian.jira.upgrade
Enum Class ReindexRequirement
- All Implemented Interfaces:
Serializable,Comparable<ReindexRequirement>,Constable
Downgrade Tasks can use this to request a reindex after the downgrade is complete.
- Since:
- v6.4.6
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJIRA will start up and a reindex will happen in a background thread.JIRA will do a reindex in the foreground thread and user will be locked out until it is complete.No reindex is required -
Method Summary
Modifier and TypeMethodDescriptionstatic ReindexRequirementReturns the enum constant of this class with the specified name.static ReindexRequirement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No reindex is required -
BACKGROUND
JIRA will start up and a reindex will happen in a background thread. -
FOREGROUND
JIRA will do a reindex in the foreground thread and user will be locked out until it is complete.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-