public class IssueFinderImpl extends Object implements IssueFinder
Constructor and Description |
---|
IssueFinderImpl(JiraAuthenticationContext authContext,
IssueManager issueManager,
PermissionManager permissionManager,
AccessDeniedAuditHandler accessDeniedAuditHandler) |
Modifier and Type | Method and Description |
---|---|
Issue |
findIssue(IssueRefJsonBean issueRef,
ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
|
Issue |
findIssue(String issueIdOrKey,
ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
|
public IssueFinderImpl(JiraAuthenticationContext authContext, IssueManager issueManager, PermissionManager permissionManager, AccessDeniedAuditHandler accessDeniedAuditHandler)
public Issue findIssue(@Nonnull IssueRefJsonBean issueRef, @Nonnull ErrorCollection errorCollection)
IssueFinder
findIssue
in interface IssueFinder
issueRef
- an IssueRefJsonBean that contains either an id or keyerrorCollection
- an ErrorCollection where any errors will be addedIssue
or null
public Issue findIssue(@Nullable String issueIdOrKey, @Nonnull ErrorCollection errorCollection)
IssueFinder
findIssue
in interface IssueFinder
issueIdOrKey
- a string that may be an an id or keyerrorCollection
- an ErrorCollection where any errors will be addedIssue
or null
Copyright © 2002-2024 Atlassian. All Rights Reserved.