public interface JqlQueryParser
Query
representation.Modifier and Type | Method and Description |
---|---|
boolean |
isValidFieldName(String fieldName)
Determines whether or not the passed string is a valid JQL field name.
|
boolean |
isValidFunctionArgument(String argument)
Determines whether or not the passed string is a valid JQL function argument.
|
boolean |
isValidFunctionName(String functionName)
Determines whether or not the passed string is a valid JQL function name.
|
boolean |
isValidValue(String value)
Determines whether or not the passed string is a valid JQL value.
|
Query |
parseQuery(String jqlQuery)
Parse the passed JQL string into its SearchQuery representation.
|
Query parseQuery(String jqlQuery) throws JqlParseException
jqlQuery
- the JQL string to parse. Must not be null
or blank.JqlParseException
- if an error occurs while parsing the query.IllegalArgumentException
- if jqlQuery is null
or blank.boolean isValidFieldName(String fieldName)
fieldName
- the field name to check.boolean isValidFunctionArgument(String argument)
argument
- the function argument to check.boolean isValidFunctionName(String functionName)
functionName
- the function name to check.boolean isValidValue(String value)
value
- the value to check.Copyright © 2002-2018 Atlassian. All Rights Reserved.