Package com.atlassian.jira.issue
Class IssueConstants
java.lang.Object
com.atlassian.jira.issue.IssueConstants
Utility methods for
IssueConstant
s.- Since:
- v6.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Function<IssueConstant,
String> getId()
Return a function that will return the id of the passedIssueConstant
.static com.google.common.base.Function<IssueConstant,
Long> static com.google.common.base.Function<IssueConstant,
String> getIds
(Iterable<? extends IssueConstant> constants) static Comparator<IssueConstant>
static com.google.common.base.Function<IssueConstant,
String> Return a function that will return the translated name of the passedIssueConstant
.toStringIds
(Collection<? extends IssueConstant> issueConstants) toStringIdsWithoutNulls
(Collection<? extends IssueConstant> issueConstants)
-
Method Details
-
getId
Return a function that will return the id of the passedIssueConstant
.The function does not accept null arguments.
- Returns:
- a function that returns the id of the passed
IssueConstant
-
getIdFunc
-
getTranslatedNameFunc
Return a function that will return the translated name of the passedIssueConstant
.The function does not accept null arguments.
- Returns:
- a function that returns the translated name of the passed
IssueConstant
-
getIds
-
getIdAsLong
-
toStringIds
public static Iterable<? extends String> toStringIds(Collection<? extends IssueConstant> issueConstants) -
toStringIdsWithoutNulls
public static Iterable<? extends String> toStringIdsWithoutNulls(Collection<? extends IssueConstant> issueConstants) -
getSequenceComparator
-