public class StatusCategoryMapper
- extends Object
The purpose of this helper class is to make a best guess at semantics for statuses that may not have any.
The data is intended for use when workflows without the full status metadata are created, such as
through the workflow importer, or when upgrading from older versions of JIRA.
The class is not intended to be used for rendering statuses directly.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public StatusCategoryMapper(StatusCategoryManager statusCategoryManager)
public Map<String,StatusCategory> mapCategoriesToStatuses(JiraWorkflow workflow)
- Scan a JIRA workflow, determine what status category each status should belong to.
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.
- A map of our best guess as to the semantics of each
Status as used in this workflow.
Copyright © 2002-2014 Atlassian. All Rights Reserved.