public class StatusCategoryImpl extends Object implements StatusCategory
COMPLETE, IN_PROGRESS, TO_DO, UNDEFINED
Modifier and Type | Method and Description |
---|---|
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()
Translated name for the status category.
|
String |
getTranslatedName(I18nHelper i18n)
Translated name for the status category.
|
String |
getTranslatedName(String locale)
Translated name for the status category.
|
static List<StatusCategory> |
getUserVisibleCategories() |
public Long getId()
getId
in interface StatusCategory
public String getKey()
StatusCategory
String
identifier of given category. Should not contain any spaces and non-standard ASCII
characters.getKey
in interface StatusCategory
public String getName()
StatusCategory
Used primarily for locale-independent JQL statements.
getName
in interface StatusCategory
public List<String> getAliases()
StatusCategory
getAliases
in interface StatusCategory
public String getPrimaryAlias()
getPrimaryAlias
in interface StatusCategory
public String getTranslatedName()
StatusCategory
StatusCategory.getTranslatedName(com.atlassian.jira.util.I18nHelper)
instead.getTranslatedName
in interface StatusCategory
public String getTranslatedName(String locale)
StatusCategory
getTranslatedName
in interface StatusCategory
public String getTranslatedName(I18nHelper i18n)
StatusCategory
getTranslatedName
in interface StatusCategory
public String getColorName()
StatusCategory
getColorName
in interface StatusCategory
public Long getSequence()
getSequence
in interface StatusCategory
public int compareTo(@Nonnull StatusCategory o)
compareTo
in interface Comparable<StatusCategory>
public static StatusCategory findById(Long id)
public static StatusCategory findByKey(String key)
public static StatusCategory findByName(String key)
public static StatusCategory getDefault()
public static List<StatusCategory> getAllCategories()
public static List<StatusCategory> getUserVisibleCategories()
Copyright © 2002-2019 Atlassian. All Rights Reserved.