public class OffRequestThreadExecutorImpl extends Object implements OffRequestThreadExecutor
Constructor and Description |
---|
OffRequestThreadExecutorImpl(JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ApplicationUser runAsUser,
Runnable command)
Executes the code with the specified user in context via
JiraAuthenticationContext |
void |
execute(Runnable command)
Executes the code with No user in context via
JiraAuthenticationContext |
public OffRequestThreadExecutorImpl(JiraAuthenticationContext jiraAuthenticationContext)
public void execute(Runnable command)
OffRequestThreadExecutor
JiraAuthenticationContext
execute
in interface OffRequestThreadExecutor
execute
in interface Executor
command
- the code to runpublic void execute(ApplicationUser runAsUser, Runnable command)
OffRequestThreadExecutor
JiraAuthenticationContext
execute
in interface OffRequestThreadExecutor
runAsUser
- the user to run the code ascommand
- the code to runCopyright © 2002-2024 Atlassian. All Rights Reserved.