Class AbstractBuildStatusSearchRequest
java.lang.Object
com.atlassian.bitbucket.build.status.AbstractBuildStatusSearchRequest
- Direct Known Subclasses:
BuildStatusPullRequestSearchRequest
,BuildStatusRepositorySearchRequest
A request class containing the base information all build status searches can use
- Since:
- 7.6
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractBuildStatusSearchRequest.AbstractBuilder<T extends AbstractBuildStatusSearchRequest.AbstractBuilder<T>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionThe order to return build statuses in.Restrict the search to build statuses associated with this commit ID.getKey()
Restrict the search to build statuses associated with this key.The repository for the build statuses
-
Constructor Details
-
AbstractBuildStatusSearchRequest
protected AbstractBuildStatusSearchRequest(@Nonnull AbstractBuildStatusSearchRequest.AbstractBuilder<?> builder)
-
-
Method Details
-
getBuildOrder
The order to return build statuses in.- Returns:
- the
BuildOrder
to sort the results.
-
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
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
The repository for the build statuses- Returns:
- The repository that the build statuses are associated with
-