com.atlassian.confluence.importexport.actions
Class ImportLongRunningTask
java.lang.Object
com.atlassian.core.task.longrunning.AbstractLongRunningTask
com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
com.atlassian.confluence.importexport.actions.ImportLongRunningTask
- All Implemented Interfaces:
- com.atlassian.core.task.longrunning.LongRunningTask, Runnable
public class ImportLongRunningTask
- extends ConfluenceAbstractLongRunningTask
Fields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask |
progress |
Constructor Summary |
ImportLongRunningTask(com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceIndexManager indexManager,
ImportExportManager importExportManager,
ImportContext context,
com.atlassian.user.User user)
|
ImportLongRunningTask(com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceIndexManager indexManager,
ImportExportManager importExportManager,
Object type,
ImportContext context,
com.atlassian.user.User user)
Deprecated. since 4.2, type is no longer relevant |
Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask |
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportLongRunningTask
public ImportLongRunningTask(com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceIndexManager indexManager,
ImportExportManager importExportManager,
ImportContext context,
com.atlassian.user.User user)
- Since:
- 4.2
ImportLongRunningTask
public ImportLongRunningTask(com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceIndexManager indexManager,
ImportExportManager importExportManager,
Object type,
ImportContext context,
com.atlassian.user.User user)
- Deprecated. since 4.2, type is no longer relevant
- Parameters:
type
- must be equal to ImportExportManager.TYPE_ALL_DATA
("").
- Throws:
IllegalArgumentException
- if a type other than "" is passed.
runInternal
public void runInternal()
- Description copied from class:
ConfluenceAbstractLongRunningTask
- Run the long running process. When this method exits, the process should be complete.
- Specified by:
runInternal
in class ConfluenceAbstractLongRunningTask
getI18nBean
protected I18NBean getI18nBean()
getName
public String getName()
getNameKey
public String getNameKey()
- Specified by:
getNameKey
in interface com.atlassian.core.task.longrunning.LongRunningTask
- Overrides:
getNameKey
in class com.atlassian.core.task.longrunning.AbstractLongRunningTask
getImportProcessorSummary
public ImmutableImportProcessorSummary getImportProcessorSummary()