public interface JqlStringSupport
Modifier and Type | Method and Description |
---|---|
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() |
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.Copyright © 2002-2015 Atlassian. All Rights Reserved.