Package com.atlassian.confluence.tenant
Class OpenTenantGateLongRunningTask
- java.lang.Object
-
- com.atlassian.confluence.util.longrunning.DelegatingLongRunningTask
-
- com.atlassian.confluence.tenant.OpenTenantGateLongRunningTask
-
- All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask,Runnable
public class OpenTenantGateLongRunningTask extends DelegatingLongRunningTask
AllowLongRunningTasks to pass through theThreadLocalTenantGateeven though it's currently closed (vacant instance).This can be used to let setup code modify tenanted resources before they're made available to a broader audience.
- Since:
- 5.6
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.util.longrunning.DelegatingLongRunningTask
delegate
-
-
Constructor Summary
Constructors Constructor Description OpenTenantGateLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()-
Methods inherited from class com.atlassian.confluence.util.longrunning.DelegatingLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getName, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful
-
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfaceRunnable- Overrides:
runin classDelegatingLongRunningTask
-
-