com.atlassian.jira.issue.comparator
Class IssueConstantsComparator

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

public abstract class IssueConstantsComparator
extends Object
implements Comparator


Field Summary
static Comparator ISSUE_TYPE_COMPARATOR
           
static Comparator PRIORITY_COMPARATOR
           
static Comparator RESOLUTION_COMPARATOR
           
static Comparator STATUS_COMPARATOR
           
 
Constructor Summary
IssueConstantsComparator()
           
 
Method Summary
 int compare(Object o1, 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 Comparator ISSUE_TYPE_COMPARATOR

RESOLUTION_COMPARATOR

public static final Comparator RESOLUTION_COMPARATOR

PRIORITY_COMPARATOR

public static final Comparator PRIORITY_COMPARATOR

STATUS_COMPARATOR

public static final Comparator STATUS_COMPARATOR
Constructor Detail

IssueConstantsComparator

public IssueConstantsComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface 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.