Class IssueConstants

java.lang.Object
com.atlassian.jira.issue.IssueConstants

@ExperimentalApi public final class IssueConstants extends Object
Utility methods for IssueConstants.
Since:
v6.2
  • Method Details

    • getId

      public static com.google.common.base.Function<IssueConstant,String> getId()
      Return a function that will return the id of the passed IssueConstant.

      The function does not accept null arguments.

      Returns:
      a function that returns the id of the passed IssueConstant
    • getIdFunc

      public static com.google.common.base.Function<IssueConstant,String> getIdFunc()
    • getTranslatedNameFunc

      public static com.google.common.base.Function<IssueConstant,String> getTranslatedNameFunc()
      Return a function that will return the translated name of the passed IssueConstant.

      The function does not accept null arguments.

      Returns:
      a function that returns the translated name of the passed IssueConstant
    • getIds

      public static Iterable<String> getIds(Iterable<? extends IssueConstant> constants)
    • getIdAsLong

      public static com.google.common.base.Function<IssueConstant,Long> getIdAsLong()
    • toStringIds

      public static Iterable<? extends String> toStringIds(Collection<? extends IssueConstant> issueConstants)
    • toStringIdsWithoutNulls

      public static Iterable<? extends String> toStringIdsWithoutNulls(Collection<? extends IssueConstant> issueConstants)
    • getSequenceComparator

      public static Comparator<IssueConstant> getSequenceComparator()