Interface Evaluation.Builder

    • Method Detail

      • approved

        Evaluation.Builder approved​(Boolean approved)

        Whether the state of the pull request is approved.

        Parameters:
        approved - Whether the state of the pull request is approved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overridden

        Evaluation.Builder overridden​(Boolean overridden)

        Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

        Parameters:
        overridden - Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRulesSatisfied

        Evaluation.Builder approvalRulesSatisfied​(Collection<String> approvalRulesSatisfied)

        The names of the approval rules that have had their conditions met.

        Parameters:
        approvalRulesSatisfied - The names of the approval rules that have had their conditions met.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRulesSatisfied

        Evaluation.Builder approvalRulesSatisfied​(String... approvalRulesSatisfied)

        The names of the approval rules that have had their conditions met.

        Parameters:
        approvalRulesSatisfied - The names of the approval rules that have had their conditions met.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRulesNotSatisfied

        Evaluation.Builder approvalRulesNotSatisfied​(Collection<String> approvalRulesNotSatisfied)

        The names of the approval rules that have not had their conditions met.

        Parameters:
        approvalRulesNotSatisfied - The names of the approval rules that have not had their conditions met.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRulesNotSatisfied

        Evaluation.Builder approvalRulesNotSatisfied​(String... approvalRulesNotSatisfied)

        The names of the approval rules that have not had their conditions met.

        Parameters:
        approvalRulesNotSatisfied - The names of the approval rules that have not had their conditions met.
        Returns:
        Returns a reference to this object so that method calls can be chained together.