public class

StatusCategoryImpl

extends Object
implements StatusCategory
java.lang.Object
   ↳ com.atlassian.jira.issue.status.category.StatusCategoryImpl

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.issue.status.category.StatusCategory
Public Methods
int compareTo(StatusCategory o)
boolean equals(Object o)
static StatusCategory findById(Long id)
static StatusCategory findByKey(String key)
static StatusCategory findByName(String key)
List<String> getAliases()
I18n independent human readable aliases for the status category.
static List<StatusCategory> getAllCategories()
String getColorName()
Returns one of the 6 defined ADG colors: "medium-gray", "green", "yellow", "brown", "warm-red", "blue-gray"
static StatusCategory getDefault()
Long getId()
String getKey()
Unique String identifier of given category.
String getName()
I18n independent human readable name for the status category.
String getPrimaryAlias()
Long getSequence()
String getTranslatedName(I18nHelper i18n)
Translated name for the status category.
String getTranslatedName(String locale)
Translated name for the status category.
String getTranslatedName()
Translated name for the status category.
static List<StatusCategory> getUserVisibleCategories()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.status.category.StatusCategory
From interface java.lang.Comparable

Public Methods

public int compareTo (StatusCategory o)

public boolean equals (Object o)

public static StatusCategory findById (Long id)

public static StatusCategory findByKey (String key)

public static StatusCategory findByName (String key)

public List<String> getAliases ()

I18n independent human readable aliases for the status category.

Returns
  • aliases for the category

public static List<StatusCategory> getAllCategories ()

public String getColorName ()

Returns one of the 6 defined ADG colors: "medium-gray", "green", "yellow", "brown", "warm-red", "blue-gray"

public static StatusCategory getDefault ()

public Long getId ()

public String getKey ()

Unique String identifier of given category. Should not contain any spaces and non-standard ASCII characters.

public String getName ()

I18n independent human readable name for the status category.

Used primarily for locale-independent JQL statements.

Returns
  • Human readable name

public String getPrimaryAlias ()

public Long getSequence ()

Returns
  • logical progression sequence (UNDEFINED, TO_DO, IN_PROGRESS, COMPLETE)

public String getTranslatedName (I18nHelper i18n)

Translated name for the status category.

public String getTranslatedName (String locale)

Translated name for the status category.

public 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. Use getTranslatedName(com.atlassian.jira.util.I18nHelper) instead.

public static List<StatusCategory> getUserVisibleCategories ()