@ExperimentalApi public final class

IssueConstants

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

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

Utility methods for IssueConstants.

Summary

Public Methods
static Function<IssueConstantString> getId()
Return a function that will return the id of the passed IssueConstant.
static Function<IssueConstantLong> getIdAsLong()
static Function<IssueConstantString> getIdFunc()
static Iterable<String> getIds(Iterable<? extends IssueConstant> constants)
static Comparator<IssueConstant> getSequenceComparator()
static Function<IssueConstantString> getTranslatedNameFunc()
Return a function that will return the translated name of the passed IssueConstant.
static Iterable<? extends String> toStringIds(Collection<? extends IssueConstant> issueConstants)
static Iterable<? extends String> toStringIdsWithoutNulls(Collection<? extends IssueConstant> issueConstants)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Function<IssueConstantString> 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

public static Function<IssueConstantLong> getIdAsLong ()

public static Function<IssueConstantString> getIdFunc ()

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

public static Comparator<IssueConstant> getSequenceComparator ()

public static Function<IssueConstantString> 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

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

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