Class RestrictionProcessingRequest
java.lang.Object
com.atlassian.bitbucket.settingsrestriction.RestrictionProcessingRequest
Request object for a batch of repositories to be processed with an associated restriction.
Requests are sent to each processor in batches with collections of repository IDs
,
sent until every repository in a project has been processed.
- Since:
- 8.10
-
Constructor Summary
ConstructorDescriptionRestrictionProcessingRequest
(Set<com.atlassian.bitbucket.repository.Repository> repositories, com.atlassian.bitbucket.settingsrestriction.SettingsKey settingsKey) -
Method Summary
-
Constructor Details
-
RestrictionProcessingRequest
public RestrictionProcessingRequest(@Nonnull Set<com.atlassian.bitbucket.repository.Repository> repositories, @Nonnull com.atlassian.bitbucket.settingsrestriction.SettingsKey settingsKey)
-
-
Method Details
-
equals
-
getRepositories
- Returns:
- a set of repositories to be processed in this batch. There are guaranteed to be between 1 inclusive and 1000 exclusive repositories in the set.
-
getSettingsKey
@Nonnull public com.atlassian.bitbucket.settingsrestriction.SettingsKey getSettingsKey()- Returns:
- the settings key of the restriction currently being processed
-
hashCode
public int hashCode() -
toString
-