Interface StatusCategory
- All Superinterfaces:
Comparable<StatusCategory>,Serializable
- All Known Implementing Classes:
StatusCategoryImpl,WorkflowResource.DelegatedJsonStatusCategory
Represents single group of
Status which has similar positions in terms of
representing in workflows.- Since:
- v6.1
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionI18n independent human readable aliases for the status category.Returns one of the 3 defined semantic names ("default", "inprogress", "success"), which can be used along with css classes from issue-status-plugingetId()getKey()UniqueStringidentifier of given category.getName()I18n independent human readable name for the status category.Translated name for the status category.getTranslatedName(I18nHelper i18n) Translated name for the status category.getTranslatedName(String locale) Translated name for the status category.Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
UNDEFINED
- See Also:
-
TO_DO
- See Also:
-
IN_PROGRESS
- See Also:
-
COMPLETE
- See Also:
-
-
Method Details
-
getId
Long getId() -
getTranslatedName
String getTranslatedName()Translated name for the status category. Don't call this in a background thread! It'll fall back to the server's locale. UsegetTranslatedName(com.atlassian.jira.util.I18nHelper)instead. -
getTranslatedName
Translated name for the status category. -
getTranslatedName
Translated name for the status category. -
getKey
String getKey()UniqueStringidentifier of given category. Should not contain any spaces and non-standard ASCII characters. -
getName
String getName()I18n independent human readable name for the status category.Used primarily for locale-independent JQL statements.
- Returns:
- Human readable name
- Since:
- v6.2
-
getAliases
I18n independent human readable aliases for the status category.- Returns:
- aliases for the category
- Since:
- v6.4
-
getPrimaryAlias
String getPrimaryAlias()- Returns:
- first alias in the aliases or name if absent
- Since:
- v6.4
-
getColorName
String getColorName()Returns one of the 3 defined semantic names ("default", "inprogress", "success"), which can be used along with css classes from issue-status-plugin- Returns:
-
getSequence
Long getSequence()
-