Class ConfluenceAbstractLongRunningTask
- java.lang.Object
-
- com.atlassian.core.task.longrunning.AbstractLongRunningTask
-
- com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
-
- All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask
,Runnable
- Direct Known Subclasses:
AbstractConfigLongRunningTask
,AttachmentMigrationLongRunningTask
,AttachmentMigratorToV4
,DeleteUserLongRunningTask
,ExportSpaceLongRunningTask
,ImportLongRunningTask
,LongRunningTaskMovePageCommandDecorator
,SpaceRemovalLongRunningTask
,StartClusterLongRunningTask
public abstract class ConfluenceAbstractLongRunningTask extends com.atlassian.core.task.longrunning.AbstractLongRunningTask
Base class for long running tasks in Confluence. Provides correct resource bundle
-
-
Constructor Summary
Constructors Constructor Description ConfluenceAbstractLongRunningTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ResourceBundle
getResourceBundle()
void
run()
Starts the thread of the long running task.protected abstract void
runInternal()
Run the long running process.-
Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer
-
-
-
-
Method Detail
-
run
public void run()
Starts the thread of the long running task. Subclasses should overriderunInternal
instead.
-
runInternal
protected abstract void runInternal()
Run the long running process. When this method exits, the process should be complete.
-
getResourceBundle
protected ResourceBundle getResourceBundle()
- Specified by:
getResourceBundle
in classcom.atlassian.core.task.longrunning.AbstractLongRunningTask
-
-