Klasse JiraExpressionComplexity.JiraExpressionComplexityBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.JiraExpressionComplexity.JiraExpressionComplexityBuilder
- Umschließende Klasse:
JiraExpressionComplexity
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
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.toString()
Variables used in the formula, mapped to the parts of the expression they refer to.
-
Methodendetails
-
expensiveOperations
public JiraExpressionComplexity.JiraExpressionComplexityBuilder 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. This information may be a formula or number. For example: *issues.map(i => 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).- Gibt zurück:
this
.
-
variables
public JiraExpressionComplexity.JiraExpressionComplexityBuilder variables(Map<String, String> variables) Variables used in the formula, mapped to the parts of the expression they refer to.- Gibt zurück:
this
.
-
build
-
toString
-