com.atlassian.confluence.tenant
Class OpenTenantGateLongRunningTask

java.lang.Object
  extended by com.atlassian.confluence.util.longrunning.DelegatingLongRunningTask
      extended by com.atlassian.confluence.tenant.OpenTenantGateLongRunningTask
All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask, java.lang.Runnable

public class OpenTenantGateLongRunningTask
extends DelegatingLongRunningTask

Allow LongRunningTasks to pass through the TenantGate even 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
OpenTenantGateLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate)
           
 
Method Summary
 void run()
           
 
Methods inherited from class com.atlassian.confluence.util.longrunning.DelegatingLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getName, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenTenantGateLongRunningTask

public OpenTenantGateLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class DelegatingLongRunningTask


Copyright © 2003-2014 Atlassian. All Rights Reserved.