com.atlassian.jira.web.action.admin.index
Class IndexRecoveryCommand

java.lang.Object
  extended by com.atlassian.jira.web.action.admin.index.IndexRecoveryCommand
All Implemented Interfaces:
ProvidesTaskProgress, Callable<IndexCommandResult>

@Internal
public class IndexRecoveryCommand
extends Object
implements Callable<IndexCommandResult>, ProvidesTaskProgress

Recover the index from a backup

Since:
v6.2

Field Summary
static String JIRA_INDEX_RECOVERY_MSG
           
 
Constructor Summary
IndexRecoveryCommand(ApplicationUser user, com.atlassian.johnson.JohnsonEventContainer eventCont, IndexRecoveryService indexRecoveryService, org.apache.log4j.Logger log, I18nHelper i18nHelper, String recoveryFilename)
           
 
Method Summary
 IndexCommandResult call()
           
 void setTaskProgressSink(TaskProgressSink taskProgressSink)
          This is called to set in a TaskProgressSink that can be used to send task progress information to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JIRA_INDEX_RECOVERY_MSG

public static final String JIRA_INDEX_RECOVERY_MSG
See Also:
Constant Field Values
Constructor Detail

IndexRecoveryCommand

public IndexRecoveryCommand(ApplicationUser user,
                            com.atlassian.johnson.JohnsonEventContainer eventCont,
                            IndexRecoveryService indexRecoveryService,
                            org.apache.log4j.Logger log,
                            I18nHelper i18nHelper,
                            String recoveryFilename)
Method Detail

call

public IndexCommandResult call()
                        throws Exception
Specified by:
call in interface Callable<IndexCommandResult>
Throws:
Exception

setTaskProgressSink

public void setTaskProgressSink(TaskProgressSink taskProgressSink)
Description copied from interface: ProvidesTaskProgress
This is called to set in a TaskProgressSink that can be used to send task progress information to

Specified by:
setTaskProgressSink in interface ProvidesTaskProgress
Parameters:
taskProgressSink - a TaskProgressSink that can be used to send task progress information to


Copyright © 2002-2014 Atlassian. All Rights Reserved.