Package com.atlassian.jira.bc.dataimport
Enum Class DowngradeWorker.Mode
- All Implemented Interfaces:
Serializable,Comparable<DowngradeWorker.Mode>,Constable
- Enclosing class:
- DowngradeWorker
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DowngradeWorker.ModeReturns the enum constant of this class with the specified name.static DowngradeWorker.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMPORT
-
START_UP
-
-
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
-