com.atlassian.confluence.util.longrunning
Class ConfluenceAbstractLongRunningTask
java.lang.Object
com.atlassian.core.task.longrunning.AbstractLongRunningTask
com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
- All Implemented Interfaces:
- LongRunningTask, Runnable
- Direct Known Subclasses:
- AttachmentMigrationLongRunningTask, ExportSpaceLongRunningTask, ImportLongRunningTask, IndexingTask, MboxImporter, StartClusterLongRunningTask, StartClusterTask
public abstract class ConfluenceAbstractLongRunningTask
- extends AbstractLongRunningTask
Base class for long running tasks in Confluence. Provides correct resource bundle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceAbstractLongRunningTask
public ConfluenceAbstractLongRunningTask()
run
public final void run()
- Starts the thread of the long running task. Subclasses should override
runInternal instead.
- Specified by:
run in interface Runnable- Overrides:
run in class AbstractLongRunningTask
runInternal
protected abstract void runInternal()
- Run the long runnning process. When this method exits, the process should be complete.
getResourceBundle
protected ResourceBundle getResourceBundle()
- Specified by:
getResourceBundle in class AbstractLongRunningTask