Interface GitHubTarget.Builder

  • Method Details

    • owner

      The GitHub user or organization that owns the repository.

      Parameters:
      owner - The GitHub user or organization that owns the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repository

      GitHubTarget.Builder repository(String repository)

      The repository name.

      Parameters:
      repository - The repository name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pullRequestNumber

      GitHubTarget.Builder pullRequestNumber(Long pullRequestNumber)

      Repository-scoped pull request number assigned by GitHub.

      Parameters:
      pullRequestNumber - Repository-scoped pull request number assigned by GitHub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headSha

      GitHubTarget.Builder headSha(String headSha)

      The head commit SHA of the pull request. Absent until the pull request is opened.

      Parameters:
      headSha - The head commit SHA of the pull request. Absent until the pull request is opened.
      Returns:
      Returns a reference to this object so that method calls can be chained together.