public interface QueryFactory
SearchQuery
objects.Modifier and Type | Method and Description |
---|---|
SearchQuery |
newQuery(String queryKey)
Generate a SearchQuery without parameters
|
SearchQuery |
newQuery(String queryKey,
List parameters)
Generate a SearchQuery with parameters.
|
SearchQuery newQuery(String queryKey) throws InvalidQueryException
queryKey
- the key for that query typeInvalidQueryException
- if no query can be found for that key, or a query can be found but it can
not be constructed with no parameters.SearchQuery newQuery(String queryKey, List parameters) throws InvalidQueryException
queryKey
- the key for that query typeparameters
- the parameters for that queryInvalidQueryException
- if no query can be found for that key, or a query can be found but it can
not be constructed with the given parameters.Copyright © 2003–2018 Atlassian. All rights reserved.