public static enum DowngradeWorker.Mode extends Enum<DowngradeWorker.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.
Modifier and Type | Method and Description |
---|---|
static DowngradeWorker.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DowngradeWorker.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DowngradeWorker.Mode IMPORT
public static final DowngradeWorker.Mode START_UP
public static DowngradeWorker.Mode[] values()
for (DowngradeWorker.Mode c : DowngradeWorker.Mode.values()) System.out.println(c);
public static DowngradeWorker.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002-2023 Atlassian. All Rights Reserved.