Interface QueryParser
- All Known Implementing Classes:
QueryParserImpl
public interface QueryParser
Used to parse jql query strings to determine if it is a valid jql, therefore returning the
Query.- Since:
- v6.4
-
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Either<Query,ErrorCollection> getQuery(ApplicationUser user, String jql) Get the query for a given jql, otherwise an error collection if error.
-
Method Details
-
getQuery
@Nonnull io.atlassian.fugue.Either<Query,ErrorCollection> getQuery(@Nullable ApplicationUser user, @Nonnull String jql) Get the query for a given jql, otherwise an error collection if error.- Parameters:
user- completing the searchjql- for the query- Returns:
- either a query or errors.
-