com.atlassian.jira.issue.comparator
Class ResolutionObjectComparator

java.lang.Object
  extended by com.atlassian.jira.issue.comparator.ResolutionObjectComparator
All Implemented Interfaces:
java.util.Comparator<Resolution>

public class ResolutionObjectComparator
extends java.lang.Object
implements java.util.Comparator<Resolution>

Comparator for Resolution based on sequence. See also ResolutionComparator which is for resolution GenericValues.

Since:
v4.0

Field Summary
static java.util.Comparator<Resolution> RESOLUTION_OBJECT_COMPARATOR
          A Comparator that orders Priority objects by their configured sequence.
 
Method Summary
 int compare(Resolution resolution, Resolution resolution1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

RESOLUTION_OBJECT_COMPARATOR

public static final java.util.Comparator<Resolution> RESOLUTION_OBJECT_COMPARATOR
A Comparator that orders Priority objects by their configured sequence.

Method Detail

compare

public int compare(Resolution resolution,
                   Resolution resolution1)
Specified by:
compare in interface java.util.Comparator<Resolution>


Copyright © 2002-2010 Atlassian. All Rights Reserved.