Class RankingAllowedCondition

java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
com.atlassian.greenhopper.web.conditions.RankingAllowedCondition
All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class RankingAllowedCondition extends com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
A condition that decides if ranking operations should be allowed or not. A user needs Schedule Issue to be able to rank
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldDisplay(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.plugin.webfragment.model.JiraHelper jiraHelper)
     

    Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition

    getApplicationUser, init, shouldDisplay

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RankingAllowedCondition

      public RankingAllowedCondition()
  • Method Details

    • shouldDisplay

      public boolean shouldDisplay(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.plugin.webfragment.model.JiraHelper jiraHelper)
      Specified by:
      shouldDisplay in class com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition