com.atlassian.greenhopper.service.rank
Class RankManager

java.lang.Object
  extended by com.atlassian.greenhopper.service.rank.RankManager

@Service
public class RankManager
extends java.lang.Object

Manager to work with the rank index. Ranking always takes place with rankable objects, which can either be backed by an issue or a rankableobject.


Field Summary
protected  LoggerWrapper log
           
 
Constructor Summary
RankManager()
           
 
Method Summary
 int compareRankablePosition(com.atlassian.jira.issue.fields.CustomField rankField, Rankable first, Rankable second)
          Compares two rankables to each other.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final LoggerWrapper log
Constructor Detail

RankManager

public RankManager()
Method Detail

compareRankablePosition

public int compareRankablePosition(com.atlassian.jira.issue.fields.CustomField rankField,
                                   Rankable first,
                                   Rankable second)
Compares two rankables to each other.

Note: this method simply compares two positions, and does not take into account issue hierarchy



Copyright © 2007-2014 Atlassian. All Rights Reserved.