public class

JiraWorkflowComparator

extends Object
implements Comparator<T>
java.lang.Object
   ↳ com.atlassian.jira.workflow.JiraWorkflowComparator

Class Overview

A Comparator for the JiraWorkflow class.

Summary

Fields
public static final Comparator<JiraWorkflow> COMPARATOR
Public Constructors
JiraWorkflowComparator()
Public Methods
int compare(JiraWorkflow workflow1, JiraWorkflow workflow2)
The natural order of JiraWorkflow objects should be: 1) All instances of DefaultJiraWorkflow (sorted alphabetically ignoring case); followed by 2) all other instances of JiraWorkflow (also sorted alphabetically ignoring case).
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Fields

public static final Comparator<JiraWorkflow> COMPARATOR

Public Constructors

public JiraWorkflowComparator ()

Public Methods

public int compare (JiraWorkflow workflow1, JiraWorkflow workflow2)

The natural order of JiraWorkflow objects should be: 1) All instances of DefaultJiraWorkflow (sorted alphabetically ignoring case); followed by 2) all other instances of JiraWorkflow (also sorted alphabetically ignoring case).