Class JiraExpressionComplexity
java.lang.Object
io.github.primelib.jira4j.restv2.model.JiraExpressionComplexity
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class JiraExpressionComplexity
extends Object
JiraExpressionComplexity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform.Variables used in the formula, mapped to the parts of the expression they refer to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JiraExpressionComplexity
(String expensiveOperations, Map<String, String> variables) Constructs a validated instance ofJiraExpressionComplexity
.Constructs a validated instance ofJiraExpressionComplexity
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform.expensiveOperations
(String expensiveOperations) Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform.int
hashCode()
toString()
Variables used in the formula, mapped to the parts of the expression they refer to.Variables used in the formula, mapped to the parts of the expression they refer to.
-
Field Details
-
expensiveOperations
Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform. This information may be a formula or number. For example: *issues.map(i =&gt; i.comments)
performs as many expensive operations as there are issues on the issues list. So this parameter returnsN
, whereN
is the size of issue list. *new Issue(10010).comments
gets comments for one issue, so its complexity is2
(1
to retrieve issue 10010 from the database plus1
to get its comments). -
variables
Variables used in the formula, mapped to the parts of the expression they refer to.
-
-
Constructor Details
-
JiraExpressionComplexity
Constructs a validated instance ofJiraExpressionComplexity
.- Parameters:
spec
- the specification to process
-
JiraExpressionComplexity
Constructs a validated instance ofJiraExpressionComplexity
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
JiraExpressionComplexity(Consumer)
instead.- Parameters:
expensiveOperations
- Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform. This information may be a formula or number. For example: *issues.map(i =&gt; i.comments)
performs as many expensive operations as there are issues on the issues list. So this parameter returnsN
, whereN
is the size of issue list. *new Issue(10010).comments
gets comments for one issue, so its complexity is2
(1
to retrieve issue 10010 from the database plus1
to get its comments).variables
- Variables used in the formula, mapped to the parts of the expression they refer to.
-
JiraExpressionComplexity
protected JiraExpressionComplexity()
-
-
Method Details
-
builder
-
expensiveOperations
Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform. This information may be a formula or number. For example: *issues.map(i =&gt; i.comments)
performs as many expensive operations as there are issues on the issues list. So this parameter returnsN
, whereN
is the size of issue list. *new Issue(10010).comments
gets comments for one issue, so its complexity is2
(1
to retrieve issue 10010 from the database plus1
to get its comments). -
variables
Variables used in the formula, mapped to the parts of the expression they refer to. -
expensiveOperations
Information that can be used to determine how many [expensive operations](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations) the evaluation of the expression will perform. This information may be a formula or number. For example: *issues.map(i =&gt; i.comments)
performs as many expensive operations as there are issues on the issues list. So this parameter returnsN
, whereN
is the size of issue list. *new Issue(10010).comments
gets comments for one issue, so its complexity is2
(1
to retrieve issue 10010 from the database plus1
to get its comments).- Returns:
this
.
-
variables
Variables used in the formula, mapped to the parts of the expression they refer to.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-