com.atlassian.jira.web.action.issue
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
Method Summary |
int |
getMaxResults()
Returns the maximum number of search results that this JIRA instance is configured to allow, by reading it from
the |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueSearchLimitsImpl
public IssueSearchLimitsImpl(ApplicationProperties applicationProperties)
- Creates a new SearchLimits instance.
- Parameters:
applicationProperties
- an ApplicationProperties
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 .
- Specified by:
getMaxResults
in interface IssueSearchLimits
- Returns:
- an int containing the maximum number of search results to return
Copyright © 2002-2014 Atlassian. All Rights Reserved.