|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JqlQueryParser
Used to parse some JQL into its Query representation.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||