public class StatusCategoryMapper extends Object
The class is not intended to be used for rendering statuses directly.
Constructor and Description |
---|
StatusCategoryMapper(StatusCategoryManager statusCategoryManager) |
Modifier and Type | Method and Description |
---|---|
Map<String,StatusCategory> |
mapCategoriesToStatuses(JiraWorkflow workflow)
Scan a JIRA workflow, determine what status category each status should belong to.
|
public StatusCategoryMapper(StatusCategoryManager statusCategoryManager)
public Map<String,StatusCategory> mapCategoriesToStatuses(JiraWorkflow workflow)
Will make a best effort at returning a mapping, even for misconfigured workflows. In cases where workflows are misconfigured, errors will be logged, not thrown.
workflow
- The JiraWorkflow
to check the statuses for.Status
as used in this workflow.Copyright © 2002-2023 Atlassian. All Rights Reserved.