Package com.atlassian.jira.issue
Interface IssueConstant
- All Superinterfaces:
Comparable,Named,NamedWithDescription
- All Known Subinterfaces:
IssueType,Priority,Resolution,Status
- All Known Implementing Classes:
IssueConstantImpl,IssueTypeImpl,MockIssueConstant,MockIssueType,MockStatus,PriorityImpl,ResolutionImpl,StatusImpl,TextIssueConstant
Abstraction to represent any of the various constants like
Resolution,
Status etc.-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionReturns the url for the icon with the context path added if necessary.getDescTranslation(I18nHelper i18n) getDescTranslation(String locale) Returns the HTML-escaped URL for this issue constant.getId()getName()getNameTranslation(I18nHelper i18n) getNameTranslation(String locale) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
String getId() -
getName
String getName() -
getDescription
String getDescription()- Specified by:
getDescriptionin interfaceNamedWithDescription
-
getSequence
Long getSequence() -
getCompleteIconUrl
String getCompleteIconUrl()Returns the url for the icon with the context path added if necessary.- Returns:
- the url for the icon with the context path added if necessary. null will be returned if there is no icon URL.
-
getIconUrl
String getIconUrl() -
getIconUrlHtml
String getIconUrlHtml()Returns the HTML-escaped URL for this issue constant.- Returns:
- a String containing an HTML-escaped icon URL
- See Also:
-
getNameTranslation
String getNameTranslation() -
getDescTranslation
String getDescTranslation() -
getNameTranslation
-
getDescTranslation
-
getNameTranslation
-
getDescTranslation
-