@Internal public class

IndexRecoveryCommand

extends Object
implements ProvidesTaskProgress Callable<V>
java.lang.Object
   ↳ com.atlassian.jira.web.action.admin.index.IndexRecoveryCommand

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

Recover the index from a backup

Summary

Constants
String JIRA_INDEX_RECOVERY_MSG
Public Constructors
IndexRecoveryCommand(ApplicationUser user, IndexRecoveryService indexRecoveryService, Logger log, I18nHelper i18nHelper, String recoveryFilename)
Public Methods
IndexCommandResult call()
void setTaskProgressSink(TaskProgressSink taskProgressSink)
This is called to set in a TaskProgressSink that can be used to send task progress information to
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.ProvidesTaskProgress
From interface java.util.concurrent.Callable

Constants

public static final String JIRA_INDEX_RECOVERY_MSG

Constant Value: "JIRA index is being recovered. Depending on how large the database is, this may take a few minutes. JIRA will automatically become available as soon as this task is complete."

Public Constructors

public IndexRecoveryCommand (ApplicationUser user, IndexRecoveryService indexRecoveryService, Logger log, I18nHelper i18nHelper, String recoveryFilename)

Public Methods

public IndexCommandResult call ()

Throws
Exception

public void setTaskProgressSink (TaskProgressSink taskProgressSink)

This is called to set in a TaskProgressSink that can be used to send task progress information to

Parameters
taskProgressSink a TaskProgressSink that can be used to send task progress information to