Uses of Class
com.atlassian.bitbucket.settingsrestriction.SettingsKey
-
Uses of SettingsKey in com.atlassian.bitbucket.settingsrestriction
Modifier and TypeMethodDescriptionSettingsKey.Builder.build()
ProjectSettingsRestriction.getSettingsKey()
ProjectSettingsRestrictionCreateRequest.getSettingsKey()
Modifier and TypeMethodDescriptionvoid
ProjectSettingsRestrictionService.delete
(Project project, SettingsKey settingsKey) Deletes the specifiedrestriction
, if it exists.ProjectSettingsRestrictionService.get
(Project project, SettingsKey settingsKey) boolean
ProjectSettingsRestrictionService.hasRestriction
(Project project, SettingsKey settingsKey) Retrieves a flag indicating whether arestriction
exists, specified by itsprojects
andsettings key
.boolean
ProjectSettingsRestrictionService.hasRestrictions
(Collection<Project> projects, SettingsKey settingsKey) Retrieves a flag indicating whether anyrestrictions
exists for the providedprojects
, matching the providedsettings key
.<T> T
ProjectSettingsRestrictionService.withRestriction
(Project project, SettingsKey settingsKey, ProjectSettingsRestrictionAction action, Supplier<T> operation) A wrapper method for the specifiedoperation
thatupdates
therestriction
for the specifiedproject
andsettingsKey
.