Class SpaceRemovalLongRunningTask
java.lang.Object
com.atlassian.core.task.longrunning.AbstractLongRunningTask
com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
com.atlassian.confluence.dmz.spaces.SpaceRemovalLongRunningTask
- All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask
,Runnable
Removes a space as a long-running task.
This class is in DMZ; see the package-info.java for rationale.
- Since:
- 9.0
-
Field Summary
FieldsFields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
METRIC_NAME, progress, TASK_CLASSNAME_TAG, TASK_NAME_TAG
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceRemovalLongRunningTask
(long spaceId, String spaceKey, SpaceManager spaceManager, ConfluenceUser user, I18NBean i18n, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, SpaceService spaceService) SpaceRemovalLongRunningTask
(String spaceKey, SpaceManager spaceManager, ConfluenceUser user, I18NBean i18n) Deprecated.since 9.1.0. -
Method Summary
Methods inherited from class com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
getResourceBundle, run
Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer
-
Field Details
-
CONFLUENCE_FAST_SPACE_DELETION_FLAG
- See Also:
-
-
Constructor Details
-
SpaceRemovalLongRunningTask
@Deprecated public SpaceRemovalLongRunningTask(String spaceKey, SpaceManager spaceManager, ConfluenceUser user, I18NBean i18n) Deprecated.since 9.1.0. Use another constructor. -
SpaceRemovalLongRunningTask
public SpaceRemovalLongRunningTask(long spaceId, String spaceKey, SpaceManager spaceManager, ConfluenceUser user, I18NBean i18n, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, SpaceService spaceService) - Since:
- 9.1.0
-
-
Method Details
-
runInternal
protected 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 classConfluenceAbstractLongRunningTask
-
getName
-