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

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • AnalyseExpressionOperationSpec

      @Internal public AnalyseExpressionOperationSpec(Consumer<AnalyseExpressionOperationSpec> spec)
      Constructs a validated instance of AnalyseExpressionOperationSpec.
      Parameters:
      spec - the specification to process
    • AnalyseExpressionOperationSpec

      @Internal public AnalyseExpressionOperationSpec(JiraExpressionForAnalysis jiraExpressionForAnalysis, String check)
      Constructs a validated instance of AnalyseExpressionOperationSpec.

      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

      @NotNull public @NotNull JiraExpressionForAnalysis jiraExpressionForAnalysis()
      The Jira expressions to analyse.
    • check

      @Nullable public @Nullable String 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

      public AnalyseExpressionOperationSpec check(@Nullable @Nullable String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object