public interface IssueFinder
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 idOrKey,
ErrorCollection errorCollection)
Finds an issue based on the passed-in id or key.
|
@Nullable Issue findIssue(@Nonnull IssueRefJsonBean issueRef, @Nonnull ErrorCollection errorCollection)
issueRef
- an IssueRefJsonBean that contains either an id or keyerrorCollection
- an ErrorCollection where any errors will be addedIssue
or null
@Nullable Issue findIssue(@Nullable String idOrKey, @Nonnull ErrorCollection errorCollection)
idOrKey
- a string that may be an an id or keyerrorCollection
- an ErrorCollection where any errors will be addedIssue
or null
Copyright © 2002-2017 Atlassian. All Rights Reserved.