public interface EditRepository
Modifier and Type | Interface and Description |
---|---|
static class |
EditRepository.WebhookTypeNeeded |
Modifier and Type | Method and Description |
---|---|
boolean |
areDivergentBranchesSupported(@NotNull PartialVcsRepositoryData vcsRepositoryData) |
@NotNull List<DeploymentProject> |
getBambooSpecsPermittedDeploymentProjects(@NotNull PartialVcsRepositoryData vcsRepositoryData,
@NotNull DeploymentProjectService deploymentProjectService)
Returns a list of deployment projects which can be modified by Bamboo Specs stored in this repository.
|
@NotNull List<ProjectIdentifier> |
getBambooSpecsPermittedProjects(@NotNull PartialVcsRepositoryData vcsRepositoryData,
@NotNull ProjectManager projectManager) |
@NotNull List<RepositoryDataEntity> |
getBambooSpecsPermittedRepositories(@NotNull PartialVcsRepositoryData vcsRepositoryData)
Returns a list of repositories which can be used by Bamboo Specs stored in this repository.
|
@Nullable String |
getDefaultBranch(@NotNull PartialVcsRepositoryData vcsRepositoryData) |
@NotNull Map<String,String> |
getEditablePermissions(@NotNull Map<BambooPermission,String> permissionLabels) |
@NotNull List<String> |
getPermissionDependencies(@NotNull String permissionName) |
boolean |
isBambooSpecsCapable(@Nullable VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor) |
boolean |
isBambooSpecsDetectionEnabled(@Nullable PartialVcsRepositoryData vcsRepositoryData)
Returns true if given repository has Bamboo Specs detection enabled, so any changes to these specs should trigger
update of Bamboo configuration.
|
boolean |
isBambooSpecsDetectionRequiresWebhooks(@Nullable PartialVcsRepositoryData vcsRepositoryData)
Deprecated.
since 9.0
|
boolean |
isBambooSpecsPermittedToAllProjects(@Nullable PartialVcsRepositoryData vcsRepositoryData)
Returns true if Bamboo Specs stored in this repository is permitted to modify configuration of all projects in
Bamboo.
|
boolean |
isBambooSpecsPermittedToAllProjectsEditable(boolean hasAdminPermission,
@NotNull BambooPermissionManager bambooPermissionManager) |
boolean |
isBambooSpecsPermittedToAllRepositories(@Nullable PartialVcsRepositoryData vcsRepositoryData,
@NotNull RssPermissionManager rssPermissionManager) |
boolean |
isBambooSpecsPermittedToAllRepositoriesEditable(boolean hasAdminPermission,
@NotNull BambooPermissionManager bambooPermissionManager) |
boolean |
isShowOnboardingDialog(@NotNull BambooUserManager bambooUserManager,
@Nullable com.atlassian.user.User user) |
@NotNull EditRepository.WebhookTypeNeeded |
webhookNeededByBambooSpecsDetection(@Nullable PartialVcsRepositoryData vcsRepositoryData) |
@NotNull @NotNull Map<String,String> getEditablePermissions(@NotNull @NotNull Map<BambooPermission,String> permissionLabels)
@NotNull @NotNull List<String> getPermissionDependencies(@NotNull @NotNull String permissionName)
boolean isBambooSpecsCapable(@Nullable @Nullable VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor)
boolean isBambooSpecsDetectionEnabled(@Nullable @Nullable PartialVcsRepositoryData vcsRepositoryData)
boolean isBambooSpecsPermittedToAllProjects(@Nullable @Nullable PartialVcsRepositoryData vcsRepositoryData)
boolean isBambooSpecsPermittedToAllProjectsEditable(boolean hasAdminPermission, @NotNull @NotNull BambooPermissionManager bambooPermissionManager)
boolean isBambooSpecsPermittedToAllRepositories(@Nullable @Nullable PartialVcsRepositoryData vcsRepositoryData, @NotNull @NotNull RssPermissionManager rssPermissionManager)
boolean isBambooSpecsPermittedToAllRepositoriesEditable(boolean hasAdminPermission, @NotNull @NotNull BambooPermissionManager bambooPermissionManager)
@Deprecated boolean isBambooSpecsDetectionRequiresWebhooks(@Nullable @Nullable PartialVcsRepositoryData vcsRepositoryData)
@NotNull @NotNull EditRepository.WebhookTypeNeeded webhookNeededByBambooSpecsDetection(@Nullable @Nullable PartialVcsRepositoryData vcsRepositoryData)
boolean isShowOnboardingDialog(@NotNull @NotNull BambooUserManager bambooUserManager, @Nullable @Nullable com.atlassian.user.User user)
@NotNull @NotNull List<ProjectIdentifier> getBambooSpecsPermittedProjects(@NotNull @NotNull PartialVcsRepositoryData vcsRepositoryData, @NotNull @NotNull ProjectManager projectManager)
@NotNull @NotNull List<DeploymentProject> getBambooSpecsPermittedDeploymentProjects(@NotNull @NotNull PartialVcsRepositoryData vcsRepositoryData, @NotNull @NotNull DeploymentProjectService deploymentProjectService)
@NotNull @NotNull List<RepositoryDataEntity> getBambooSpecsPermittedRepositories(@NotNull @NotNull PartialVcsRepositoryData vcsRepositoryData)
boolean areDivergentBranchesSupported(@NotNull @NotNull PartialVcsRepositoryData vcsRepositoryData)
@Nullable @Nullable String getDefaultBranch(@NotNull @NotNull PartialVcsRepositoryData vcsRepositoryData)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.