Class IssueSearchLimitsImpl

java.lang.Object
com.atlassian.jira.web.action.issue.IssueSearchLimitsImpl
All Implemented Interfaces:
IssueSearchLimits

public class IssueSearchLimitsImpl extends Object implements IssueSearchLimits
Utility methods that allow you to get the limits that are imposed by JIRA configuration properties.
Since:
v4.3
  • Constructor Details

    • IssueSearchLimitsImpl

      public IssueSearchLimitsImpl(ApplicationProperties applicationProperties)
      Creates a new SearchLimits instance.
      Parameters:
      applicationProperties - an ApplicationProperties
  • Method Details

    • getMaxResults

      public int getMaxResults()
      Returns the maximum number of search results that this JIRA instance is configured to allow, by reading it from the
      jira-application.properties
      file. If there is a problem reading the configured value, this method returns 1000.
      Specified by:
      getMaxResults in interface IssueSearchLimits
      Returns:
      an int containing the maximum number of search results to return