Class RankManager

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

@Service public class RankManager extends 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 Details

  • Constructor Details

    • RankManager

      public RankManager()
  • Method Details

    • 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