|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.config.DefaultStatusCategoryManager
public class DefaultStatusCategoryManager
Field Summary | |
---|---|
static String |
JIRA_ISSUE_STATUS_AS_LOZENGE_FEATURE
|
Constructor Summary | |
---|---|
DefaultStatusCategoryManager(FeatureManager featureManager)
|
Method Summary | |
---|---|
StatusCategory |
getDefaultStatusCategory()
Get StatusCategory which is default for statuses |
List<StatusCategory> |
getStatusCategories()
Get all status categories |
StatusCategory |
getStatusCategory(Long id)
Find category by given ID |
StatusCategory |
getStatusCategoryByKey(String key)
Find category by given Key |
List<StatusCategory> |
getUserVisibleStatusCategories()
Get status categories visible to any user |
boolean |
isStatusAsLozengeEnabled()
Returns a boolean whether status lozenge is enabled or not |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JIRA_ISSUE_STATUS_AS_LOZENGE_FEATURE
Constructor Detail |
---|
public DefaultStatusCategoryManager(FeatureManager featureManager)
Method Detail |
---|
public List<StatusCategory> getStatusCategories()
StatusCategoryManager
getStatusCategories
in interface StatusCategoryManager
public List<StatusCategory> getUserVisibleStatusCategories()
StatusCategoryManager
getUserVisibleStatusCategories
in interface StatusCategoryManager
public StatusCategory getDefaultStatusCategory()
StatusCategoryManager
StatusCategory
which is default for statuses
getDefaultStatusCategory
in interface StatusCategoryManager
public StatusCategory getStatusCategory(Long id)
StatusCategoryManager
getStatusCategory
in interface StatusCategoryManager
id
- the id of the category
public StatusCategory getStatusCategoryByKey(String key)
StatusCategoryManager
getStatusCategoryByKey
in interface StatusCategoryManager
key
- the key of the category
public boolean isStatusAsLozengeEnabled()
StatusCategoryManager
isStatusAsLozengeEnabled
in interface StatusCategoryManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |