com.atlassian.jira.jql.util.JqlStringSupport |
![]()
|
A utility code to help dealing with JQL strings.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Encode the passed string into a safe JQL field name.
| |||||||||||
Encode the passed string into a safe JQL function argument.
| |||||||||||
Encode the passed string into a safe JQL function name.
| |||||||||||
Encode the passed string value into a safe JQL value if necessary.
| |||||||||||
Encode the passed string value into a safe JQL value if necessary.
| |||||||||||
Generates a JQL string representation for the passed clause.
| |||||||||||
Generates a JQL string representation for the passed query.
| |||||||||||
Encode the passed string into a safe JQL field name. This value will not be encoded if it is not already safe.
fieldName | the string to encode. |
---|
Encode the passed string into a safe JQL function argument. The value will not be encoded if it is already safe.
argument | the string to encode. |
---|
Encode the passed string into a safe JQL function name. This value will not be encoded if it is not already safe.
functionName | the string to encode. |
---|
Encode the passed string value into a safe JQL value if necessary. The value will not be encoded if it is already safe.
value | the value to encode. |
---|
Encode the passed string value into a safe JQL value if necessary. The value will not be encoded if it is
already safe. This is different to encodeStringValue(String)
since it will not add quotes around
long values.
value | the value to encode. |
---|
Generates a JQL string representation for the passed clause. The returned JQL is automatically escaped as necessary.
clause | the clause. Cannot be null. |
---|
Generates a JQL string representation for the passed query. The JQL string is always generated, that is, getQueryString()
is completely ignored if it exists. The returned JQL is automatically escaped as necessary.
query | the query. Cannot be null. |
---|