| Package | Description |
|---|---|
| com.atlassian.bitbucket.settingsrestriction |
| Modifier and Type | Method and Description |
|---|---|
SettingsKey |
SettingsKey.Builder.build() |
SettingsKey |
ProjectSettingsRestriction.getSettingsKey() |
SettingsKey |
ProjectSettingsRestrictionCreateRequest.getSettingsKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectSettingsRestrictionService.delete(Project project,
SettingsKey settingsKey)
Deletes the specified
restriction, if it exists. |
Optional<ProjectSettingsRestriction> |
ProjectSettingsRestrictionService.get(Project project,
SettingsKey settingsKey)
|
boolean |
ProjectSettingsRestrictionService.hasRestriction(Project project,
SettingsKey settingsKey)
Retrieves a flag indicating whether a
restriction exists, specified by its
projects and settings key. |
boolean |
ProjectSettingsRestrictionService.hasRestrictions(Collection<Project> projects,
SettingsKey settingsKey)
Retrieves a flag indicating whether any
restrictions exists for the provided
projects, matching the provided settings key. |
<T> T |
ProjectSettingsRestrictionService.withRestriction(Project project,
SettingsKey settingsKey,
ProjectSettingsRestrictionAction action,
Supplier<T> operation)
A wrapper method for the specified
operation that
updates the restriction for
the specified project and settingsKey. |
| Constructor and Description |
|---|
Builder(Project project,
SettingsKey settingsKey) |
Copyright © 2023 Atlassian. All rights reserved.