VcsRepositoryConfigurationService@Deprecated public interface RepositoryConfigurationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryConfigurationService.LinkedRepositoryAccess
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryDefinition |
attachGlobalRepositoryToPlan(Plan plan,
long selectedGlobalRepositoryId,
boolean buildTrigger)
Deprecated.
Creates relationship between global repository and a plan
|
RepositoryData |
createGlobalRepository(String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger,
com.atlassian.user.User user)
Deprecated.
Creates new global repository
|
RepositoryData |
createGlobalRepository(String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger,
com.atlassian.user.User user,
RepositoryConfigurationService.LinkedRepositoryAccess accessOption)
Deprecated.
Creates new global repository
|
RepositoryDefinition |
createRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger)
Deprecated.
Creates new repository and adds it to the plan configuration
|
void |
deleteGlobalRepository(long repositoryId)
Deprecated.
Removes global repository
|
void |
deleteRepository(Plan plan,
long repositoryId)
Deprecated.
Removes repository definition for plan
|
void |
deleteRepository(Plan plan,
long repositoryId,
long replacementRepositoryId)
Deprecated.
Removes repository definition for plan
|
RepositoryData |
editGlobalRepository(String repositoryName,
String pluginKey,
String webRepositoryKey,
RepositoryData repositoryData,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Deprecated.
Changes definition of a global repository.
|
RepositoryDefinition |
editRepository(Plan plan,
String repositoryName,
String selectedRepositoryKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Deprecated.
Changes (replaces) repository definition.
|
Map<ImmutableJob,List<TaskDefinition>> |
getRelevantJobsForRepositoryIdChange(ImmutablePlan plan,
long repositoryId)
Deprecated.
Returns mapping between
Job and TaskDefinition for tasks using repository by given repository id |
void |
moveRepository(PlanKey planKey,
long repositoryId,
long beforePosition,
long afterPosition)
Deprecated.
Changes position of repository in the repository list.
|
void |
shareRepository(Plan plan,
RepositoryData repositoryData,
String repositoryName,
String userDescription,
com.atlassian.user.User user)
Deprecated.
Converts existing Plan repository to Shared Repository.
|
boolean |
validateGlobalRepositoryName(String name,
RepositoryData repositoryData)
Deprecated.
Checks if name of global repository is unique.
|
boolean |
validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition)
Deprecated.
Checks if provided name for repository is unique in the Plan
|
boolean |
validateRestartableStatus(ResultsSummary resultSummary)
Deprecated.
|
RepositoryDefinition createRepository(@NotNull Plan plan, @NotNull String repositoryName, @NotNull String pluginKey, @Nullable String webRepositoryKey, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, boolean buildTrigger) throws IllegalArgumentException
plan - repositoryName - repository name presented to the user, must be unique in planpluginKey - pluginKey of repositorywebRepositoryKey - plugin key of web repository viewerconfiguration - xml configuration of repositorybuildTrigger - flag indicating if repository is taking part in change detectionIllegalArgumentExceptionRepositoryDefinition editRepository(@NotNull Plan plan, @NotNull String repositoryName, @NotNull String selectedRepositoryKey, @Nullable String webRepositoryKey, @NotNull RepositoryDefinition repositoryDefinition, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration) throws IllegalArgumentException, IllegalStateException
plan - repositoryName - repository name presented to the user, must be unique in planselectedRepositoryKey - plugin key of repository or id of a global repositorywebRepositoryKey - plugin key of web repository viewerconfiguration - xml configuration of repositoryIllegalArgumentExceptionIllegalStateExceptionvoid deleteRepository(@NotNull
Plan plan,
long repositoryId)
throws IllegalArgumentException,
IllegalStateException
plan - repositoryId - IllegalArgumentExceptionIllegalStateExceptionvoid deleteRepository(@NotNull
Plan plan,
long repositoryId,
long replacementRepositoryId)
throws IllegalArgumentException,
IllegalStateException
plan - repositoryId - replacementRepositoryId - repository id to replace removed one in tasks depending on itIllegalArgumentExceptionIllegalStateExceptionvoid moveRepository(@NotNull
PlanKey planKey,
long repositoryId,
long beforePosition,
long afterPosition)
throws IllegalArgumentException,
IllegalStateException
planKey - repositoryId - the RepositoryDefinition to movebeforePosition - position of the RepositoryDefinition that will be before the moving Repository, -1 if the beginning of the listafterPosition - position of the RepositoryDefinition that will be after the moving Repository, -1 if the end of the listIllegalArgumentExceptionIllegalStateExceptionboolean validateRepositoryName(@NotNull
ImmutablePlan plan,
@NotNull
String name,
@Nullable
RepositoryDefinition repositoryDefinition)
plan - name - new name for repositoryrepositoryDefinition - existing repository definition being edited on null when repository is createdboolean validateRestartableStatus(@NotNull
ResultsSummary resultSummary)
RepositoryData editGlobalRepository(@NotNull String repositoryName, @NotNull String pluginKey, @Nullable String webRepositoryKey, @NotNull RepositoryData repositoryData, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration) throws IllegalArgumentException, IllegalStateException
repositoryName - pluginKey - webRepositoryKey - repositoryData - configuration - IllegalArgumentExceptionIllegalStateExceptionRepositoryData createGlobalRepository(@NotNull String repositoryName, @NotNull String pluginKey, @Nullable String webRepositoryKey, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, boolean buildTrigger, @NotNull com.atlassian.user.User user, @NotNull RepositoryConfigurationService.LinkedRepositoryAccess accessOption) throws IllegalArgumentException
repositoryName - pluginKey - webRepositoryKey - configuration - buildTrigger - IllegalArgumentExceptionRepositoryData createGlobalRepository(@NotNull String repositoryName, @NotNull String pluginKey, @Nullable String webRepositoryKey, @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, boolean buildTrigger, @NotNull com.atlassian.user.User user) throws IllegalArgumentException
repositoryName - pluginKey - webRepositoryKey - configuration - buildTrigger - IllegalArgumentExceptionRepositoryDefinition attachGlobalRepositoryToPlan(Plan plan, long selectedGlobalRepositoryId, boolean buildTrigger) throws IllegalArgumentException, IllegalStateException
plan - selectedGlobalRepositoryId - buildTrigger - IllegalArgumentExceptionIllegalStateExceptionvoid deleteGlobalRepository(long repositoryId)
throws IllegalArgumentException,
IllegalStateException
repositoryId - IllegalArgumentExceptionIllegalStateExceptionboolean validateGlobalRepositoryName(@NotNull
String name,
@Nullable
RepositoryData repositoryData)
name - repositoryData - Map<ImmutableJob,List<TaskDefinition>> getRelevantJobsForRepositoryIdChange(@NotNull ImmutablePlan plan, long repositoryId)
Job and TaskDefinition for tasks using repository by given repository idplan - repositoryId - void shareRepository(@NotNull
Plan plan,
@NotNull
RepositoryData repositoryData,
@NotNull
String repositoryName,
@Nullable
String userDescription,
@NotNull
com.atlassian.user.User user)
plan - plan that owns the repositoryrepositoryData - repository to sharerepositoryName - new name of the repositoryuserDescription - of the repositoryCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.