Interface RuleState.Builder

    • Method Detail

      • ruleName

        RuleState.Builder ruleName​(String ruleName)

        The name of the rule.

        Parameters:
        ruleName - The name of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentRevision

        RuleState.Builder currentRevision​(RuleRevision currentRevision)

        The ID of the current revision of the artifact successfully worked on by the job.

        Parameters:
        currentRevision - The ID of the current revision of the artifact successfully worked on by the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestExecution

        RuleState.Builder latestExecution​(RuleExecution latestExecution)

        Represents information about the latest run of an rule.

        Parameters:
        latestExecution - Represents information about the latest run of an rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityUrl

        RuleState.Builder entityUrl​(String entityUrl)

        A URL link for more information about the state of the action, such as a details page.

        Parameters:
        entityUrl - A URL link for more information about the state of the action, such as a details page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionUrl

        RuleState.Builder revisionUrl​(String revisionUrl)

        A URL link for more information about the revision, such as a commit details page.

        Parameters:
        revisionUrl - A URL link for more information about the revision, such as a commit details page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.