Class OpenTenantGateLongRunningTask

  • All Implemented Interfaces:
    com.atlassian.core.task.longrunning.LongRunningTask, Runnable

    @Deprecated(forRemoval=true)
    public class OpenTenantGateLongRunningTask
    extends DelegatingLongRunningTask
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 8.6
    Allow LongRunningTasks 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.

    Since:
    5.6
    • Constructor Detail

      • OpenTenantGateLongRunningTask

        public OpenTenantGateLongRunningTask​(com.atlassian.core.task.longrunning.LongRunningTask delegate)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • run

        public void run()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class DelegatingLongRunningTask