@Component public class DefaultProjectContextLocator extends Object implements ProjectContextLocator
| Constructor and Description |
|---|
DefaultProjectContextLocator(ProjectService projectService,
JiraAuthenticationContext authContext) |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<ProjectContext> |
getContext(String projectKey,
long issueTypeId)
Find a
ProjectContext for the passed project and issue type. |
@Autowired public DefaultProjectContextLocator(ProjectService projectService, JiraAuthenticationContext authContext)
@Nonnull public ServiceOutcome<ProjectContext> getContext(@Nonnull String projectKey, long issueTypeId)
ProjectContextLocatorProjectContext for the passed project and issue type.getContext in interface ProjectContextLocatorprojectKey - the projectKey to search.issueTypeId - the issueTypeId to search.ServiceOutcome either contains errors
or the ProjectContext if the operation was successful.Copyright © 2002-2022 Atlassian. All Rights Reserved.