Interface SearchResult
public interface SearchResult
SearchResult
Class in charge of returning the result of the search through PQL
-
Method Summary
Modifier and TypeMethodDescriptionGet all messages produced during the searchGet all error messages produced during the searchList<com.atlassian.jira.project.Project>
Get the list of projects resulting from the search by PQL IMPORTANT: If the list has error messages the result will be an empty listGet all warning produced during the searchboolean
Get if the result has error messagesboolean
Get if the result has messagesboolean
Get if the result has warning messages
-
Method Details
-
getResultingProjects
List<com.atlassian.jira.project.Project> getResultingProjects()Get the list of projects resulting from the search by PQL IMPORTANT: If the list has error messages the result will be an empty list- Returns:
- A List of projects
-
getAllMessages
Get all messages produced during the search- Returns:
- A list of messages
-
getErrorMessages
Get all error messages produced during the search- Returns:
- A list of error messages
-
getWarningMessages
Get all warning produced during the search- Returns:
- A list of warning messages
-
hasMessages
boolean hasMessages()Get if the result has messages- Returns:
- boolean
-
hasErrorMessages
boolean hasErrorMessages()Get if the result has error messages- Returns:
- boolean
-
hasWarningMessages
boolean hasWarningMessages()Get if the result has warning messages- Returns:
- boolean
-