@Internal public class IndexRecoveryCommand extends Object implements Callable<IndexCommandResult>, ProvidesTaskProgress
Constructor and Description |
---|
IndexRecoveryCommand(ApplicationUser user,
IndexRecoveryService indexRecoveryService,
JohnsonProvider johnsonProvider,
org.apache.log4j.Logger log,
I18nHelper i18nHelper,
String recoveryFilename) |
Modifier and Type | Method and Description |
---|---|
IndexCommandResult |
call() |
void |
setTaskProgressSink(TaskProgressSink taskProgressSink)
This is called to set in a TaskProgressSink that can be used to send task progress information to
|
public IndexRecoveryCommand(ApplicationUser user, IndexRecoveryService indexRecoveryService, JohnsonProvider johnsonProvider, org.apache.log4j.Logger log, I18nHelper i18nHelper, String recoveryFilename)
public IndexCommandResult call() throws Exception
call
in interface Callable<IndexCommandResult>
Exception
public void setTaskProgressSink(TaskProgressSink taskProgressSink)
ProvidesTaskProgress
setTaskProgressSink
in interface ProvidesTaskProgress
taskProgressSink
- a TaskProgressSink that can be used to send task progress information toCopyright © 2002-2021 Atlassian. All Rights Reserved.