Class AnalyseExpressionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AnalyseExpressionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AnalyseExpressionOperationSpec
extends Object
AnalyseExpressionSpec
Specification for the AnalyseExpression operation.
Analyse Jira expression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AnalyseExpressionOperationSpec
(JiraExpressionForAnalysis jiraExpressionForAnalysis, String check) Constructs a validated instance ofAnalyseExpressionOperationSpec
.Constructs a validated instance ofAnalyseExpressionOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable String
check()
The check to perform: *syntax
Each expression's syntax is checked to ensure the expression can be parsed.The check to perform: *syntax
Each expression's syntax is checked to ensure the expression can be parsed.boolean
int
hashCode()
@NotNull JiraExpressionForAnalysis
The Jira expressions to analyse.jiraExpressionForAnalysis
(@NotNull JiraExpressionForAnalysis jiraExpressionForAnalysis) The Jira expressions to analyse.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
AnalyseExpressionOperationSpec
Constructs a validated instance ofAnalyseExpressionOperationSpec
.- Parameters:
spec
- the specification to process
-
AnalyseExpressionOperationSpec
@Internal public AnalyseExpressionOperationSpec(JiraExpressionForAnalysis jiraExpressionForAnalysis, String check) Constructs a validated instance ofAnalyseExpressionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
jiraExpressionForAnalysis
- The Jira expressions to analyse.check
- The check to perform: *syntax
Each expression's syntax is checked to ensure the expression can be parsed. Also, syntactic limits are validated. For example, the expression's length. *type
EXPERIMENTAL. Each expression is type checked and the final type of the expression inferred. Any type errors that would result in the expression failure at runtime are reported. For example, accessing properties that don't exist or passing the wrong number of arguments to functions. Also performs the syntax check. *complexity
EXPERIMENTAL. Determines the formulae for how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) each expression may execute.
-
AnalyseExpressionOperationSpec
protected AnalyseExpressionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
jiraExpressionForAnalysis
The Jira expressions to analyse. -
check
The check to perform: *syntax
Each expression's syntax is checked to ensure the expression can be parsed. Also, syntactic limits are validated. For example, the expression's length. *type
EXPERIMENTAL. Each expression is type checked and the final type of the expression inferred. Any type errors that would result in the expression failure at runtime are reported. For example, accessing properties that don't exist or passing the wrong number of arguments to functions. Also performs the syntax check. *complexity
EXPERIMENTAL. Determines the formulae for how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) each expression may execute. -
jiraExpressionForAnalysis
public AnalyseExpressionOperationSpec jiraExpressionForAnalysis(@NotNull @NotNull JiraExpressionForAnalysis jiraExpressionForAnalysis) The Jira expressions to analyse.- Returns:
this
.
-
check
The check to perform: *syntax
Each expression's syntax is checked to ensure the expression can be parsed. Also, syntactic limits are validated. For example, the expression's length. *type
EXPERIMENTAL. Each expression is type checked and the final type of the expression inferred. Any type errors that would result in the expression failure at runtime are reported. For example, accessing properties that don't exist or passing the wrong number of arguments to functions. Also performs the syntax check. *complexity
EXPERIMENTAL. Determines the formulae for how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) each expression may execute.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-