public class OpenTenantGateLongRunningTask extends DelegatingLongRunningTask
LongRunningTask
s to pass through the ThreadLocalTenantGate
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.
delegate
Constructor and Description |
---|
OpenTenantGateLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getName, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful
public OpenTenantGateLongRunningTask(com.atlassian.core.task.longrunning.LongRunningTask delegate)
public void run()
run
in interface Runnable
run
in class DelegatingLongRunningTask
Copyright © 2003–2020 Atlassian. All rights reserved.