|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JqlStringSupport
A utility code to help dealing with JQL strings.
| Method Summary | |
|---|---|
String |
encodeFieldName(String fieldName)
Encode the passed string into a safe JQL field name. |
String |
encodeFunctionArgument(String argument)
Encode the passed string into a safe JQL function argument. |
String |
encodeFunctionName(String functionName)
Encode the passed string into a safe JQL function name. |
String |
encodeStringValue(String value)
Encode the passed string value into a safe JQL value if necessary. |
String |
encodeValue(String value)
Encode the passed string value into a safe JQL value if necessary. |
String |
generateJqlString(Clause clause)
Generates a JQL string representation for the passed clause. |
String |
generateJqlString(Query query)
Generates a JQL string representation for the passed query. |
Set<String> |
getJqlReservedWords()
|
| Method Detail |
|---|
String encodeStringValue(String value)
value - the value to encode.
String encodeValue(String value)
encodeStringValue(String) since it will not add quotes around
long values.
value - the value to encode.
String encodeFunctionArgument(String argument)
argument - the string to encode.
String encodeFunctionName(String functionName)
functionName - the string to encode.
String encodeFieldName(String fieldName)
fieldName - the string to encode.
String generateJqlString(Query query)
Query.getQueryString()
is completely ignored if it exists. The returned JQL is automatically escaped as necessary.
query - the query. Cannot be null.
String generateJqlString(Clause clause)
clause - the clause. Cannot be null.
Set<String> getJqlReservedWords()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||