Class AbstractBuildStatusSearchRequest

java.lang.Object
com.atlassian.bitbucket.build.status.AbstractBuildStatusSearchRequest
Direct Known Subclasses:
BuildStatusPullRequestSearchRequest, BuildStatusRepositorySearchRequest

public abstract class AbstractBuildStatusSearchRequest extends Object
A request class containing the base information all build status searches can use
Since:
7.6
  • Constructor Details

  • Method Details

    • getBuildOrder

      @Nonnull public BuildOrder getBuildOrder()
      The order to return build statuses in.
      Returns:
      the BuildOrder to sort the results.
    • getCommitId

      @Nullable public String getCommitId()
      Restrict the search to build statuses associated with this commit ID.
      Returns:
      The commit ID to restrict the search, or null to search across all commits.
    • getKey

      @Nullable public String getKey()
      Restrict the search to build statuses associated with this key.
      Returns:
      The key to restrict the search or null to search across all keys.
    • getRepository

      @Nonnull public Repository getRepository()
      The repository for the build statuses
      Returns:
      The repository that the build statuses are associated with