com.atlassian.jira.issue.comparator
Class IssueConstantsComparator

java.lang.Object
  extended by com.atlassian.jira.issue.comparator.IssueConstantsComparator
All Implemented Interfaces:
java.util.Comparator
Direct Known Subclasses:
IssueStatusComparator, IssueTypeComparator, PriorityComparator, ResolutionComparator, StatusComparator

public abstract class IssueConstantsComparator
extends java.lang.Object
implements java.util.Comparator


Field Summary
static java.util.Comparator ISSUE_TYPE_COMPARATOR
           
static java.util.Comparator PRIORITY_COMPARATOR
           
static java.util.Comparator RESOLUTION_COMPARATOR
           
static java.util.Comparator STATUS_COMPARATOR
           
 
Constructor Summary
IssueConstantsComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
protected abstract  org.ofbiz.core.entity.GenericValue getConstant(org.ofbiz.core.entity.GenericValue i1)
           
protected abstract  org.ofbiz.core.entity.GenericValue getConstant(Issue i1)
           
 
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

ISSUE_TYPE_COMPARATOR

public static final java.util.Comparator ISSUE_TYPE_COMPARATOR

RESOLUTION_COMPARATOR

public static final java.util.Comparator RESOLUTION_COMPARATOR

PRIORITY_COMPARATOR

public static final java.util.Comparator PRIORITY_COMPARATOR

STATUS_COMPARATOR

public static final java.util.Comparator STATUS_COMPARATOR
Constructor Detail

IssueConstantsComparator

public IssueConstantsComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

getConstant

protected abstract org.ofbiz.core.entity.GenericValue getConstant(org.ofbiz.core.entity.GenericValue i1)

getConstant

protected abstract org.ofbiz.core.entity.GenericValue getConstant(Issue i1)


Copyright © 2002-2010 Atlassian. All Rights Reserved.