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)
OffRequestThreadExecutorJiraAuthenticationContextexecute in interface OffRequestThreadExecutorexecute in interface Executorcommand - the code to runpublic void execute(ApplicationUser runAsUser, Runnable command)
OffRequestThreadExecutorJiraAuthenticationContextexecute in interface OffRequestThreadExecutorrunAsUser - the user to run the code ascommand - the code to runCopyright © 2002-2018 Atlassian. All Rights Reserved.