Class JiraExpressionAnalysis
java.lang.Object
io.github.primelib.jira4j.restv2.model.JiraExpressionAnalysis
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class JiraExpressionAnalysis
extends Object
JiraExpressionAnalysis
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JiraExpressionComplexity
protected List<JiraExpressionValidationError>
A list of validation errors.protected String
The analysed expression.protected String
EXPERIMENTAL.protected Boolean
Whether the expression is valid and the interpreter will evaluate it. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JiraExpressionAnalysis
(JiraExpressionComplexity complexity, List<JiraExpressionValidationError> errors, String expression, String type, Boolean valid) Constructs a validated instance ofJiraExpressionAnalysis
.Constructs a validated instance ofJiraExpressionAnalysis
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
complexity
(JiraExpressionComplexity complexity) boolean
errors()
A list of validation errors.errors
(List<JiraExpressionValidationError> errors) A list of validation errors.The analysed expression.expression
(String expression) The analysed expression.int
hashCode()
toString()
type()
EXPERIMENTAL.EXPERIMENTAL.valid()
Whether the expression is valid and the interpreter will evaluate it.Whether the expression is valid and the interpreter will evaluate it.
-
Field Details
-
complexity
-
errors
A list of validation errors. Not included if the expression is valid. -
expression
The analysed expression. -
type
EXPERIMENTAL. The inferred type of the expression. -
valid
Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations).
-
-
Constructor Details
-
JiraExpressionAnalysis
Constructs a validated instance ofJiraExpressionAnalysis
.- Parameters:
spec
- the specification to process
-
JiraExpressionAnalysis
@Internal public JiraExpressionAnalysis(JiraExpressionComplexity complexity, List<JiraExpressionValidationError> errors, String expression, String type, Boolean valid) Constructs a validated instance ofJiraExpressionAnalysis
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
JiraExpressionAnalysis(Consumer)
instead.- Parameters:
complexity
- complexityerrors
- A list of validation errors. Not included if the expression is valid.expression
- The analysed expression.type
- EXPERIMENTAL. The inferred type of the expression.valid
- Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations).
-
JiraExpressionAnalysis
protected JiraExpressionAnalysis()
-
-
Method Details
-
builder
-
complexity
-
errors
A list of validation errors. Not included if the expression is valid. -
expression
The analysed expression. -
type
EXPERIMENTAL. The inferred type of the expression. -
valid
Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations). -
complexity
- Returns:
this
.
-
errors
A list of validation errors. Not included if the expression is valid.- Returns:
this
.
-
expression
The analysed expression.- Returns:
this
.
-
type
EXPERIMENTAL. The inferred type of the expression.- Returns:
this
.
-
valid
Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations).- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-