com.atlassian.jira.workflow
Class JiraWorkflowComparator
java.lang.Object
com.atlassian.jira.workflow.JiraWorkflowComparator
- All Implemented Interfaces:
- Comparator<JiraWorkflow>
public class JiraWorkflowComparator
- extends Object
- implements Comparator<JiraWorkflow>
A Comparator for the JiraWorkflow class.
Method Summary |
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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPARATOR
public static final Comparator<JiraWorkflow> COMPARATOR
JiraWorkflowComparator
public JiraWorkflowComparator()
compare
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).
- Specified by:
compare
in interface Comparator<JiraWorkflow>
Copyright © 2002-2009 Atlassian. All Rights Reserved.