Enum Class SearchRequestBean.ValidateQueryEnum
java.lang.Object
java.lang.Enum<SearchRequestBean.ValidateQueryEnum>
io.github.primelib.jira4j.restv3.model.SearchRequestBean.ValidateQueryEnum
- All Implemented Interfaces:
Serializable,Comparable<SearchRequestBean.ValidateQueryEnum>,Constable
- Enclosing class:
- SearchRequestBean
public static enum SearchRequestBean.ValidateQueryEnum
extends Enum<SearchRequestBean.ValidateQueryEnum>
Determines how to validate the JQL query and treat the validation results. Supported values:
*
strict Returns a 400 response code if any errors are found, along with a list of all errors (and warnings).
*
warn Returns all errors as warnings.
*
none No validation is performed.
*
true *Deprecated* A legacy synonym for strict.
*
false *Deprecated* A legacy synonym for warn.
The default is strict.
Note: If the JQL is not correctly formed a 400 response code is returned, regardless of the validateQuery value.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static SearchRequestBean.ValidateQueryEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRICT
-
WARN
-
NONE
-
TRUE
-
FALSE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
of
-
getValue
-