| Modifier and Type | Method and Description |
|---|---|
BuildContextBuilder |
BuildContextBuilder.relevantRepositories(Set<RepositoryDefinition> relevantRepositories) |
BuildContextBuilder |
BuildContextBuilder.repositoryDefinitionMap(Map<Long,RepositoryDefinition> repositoryDefinitionMap) |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,RepositoryDefinition> |
BranchIntegrationService.getRepositoryDefinitionMap(ImmutablePlan plan)
Get repository definition map for a given plan and if Branch Integration was configured merge it with
repository definition of branch selected in Integration Configuration
|
| Modifier and Type | Method and Description |
|---|---|
List<RepositoryDefinition> |
ImmutableChain.getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryDefinition |
RepositoryConfigurationService.attachGlobalRepositoryToPlan(Plan plan,
long selectedGlobalRepositoryId,
boolean buildTrigger)
Creates relationship between global repository and a plan
|
RepositoryDefinition |
RepositoryConfigurationService.createRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger)
Creates new repository and adds it to the plan configuration
|
RepositoryDefinition |
RepositoryConfigurationService.editRepository(Plan plan,
String repositoryName,
String selectedRepositoryKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Changes (replaces) repository definition.
|
| Modifier and Type | Method and Description |
|---|---|
List<RepositoryDefinition> |
RepositoryDefinitionManager.getRepositoryDefinitionsForPlan(ImmutablePlan plan)
Get all repositories attached to a plan ordered by position.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryDefinition |
RepositoryConfigurationService.editRepository(Plan plan,
String repositoryName,
String selectedRepositoryKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Changes (replaces) repository definition.
|
boolean |
RepositoryConfigurationService.validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition)
Checks if provided name for repository is unique in the Plan
|
| Modifier and Type | Method and Description |
|---|---|
List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,RepositoryDefinition> |
CommonContext.getRepositoryDefinitionMap() |
List<RepositoryDefinition> |
CommonContext.getRepositoryDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
Given a
RepositoryV2 finds the BuildChanges object that captures all changes that occurred
between the fromVcsRevisionKey to toVcsRevisionKey |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
Given a
RepositoryDefinition finds the BuildRepositoryChanges object that captures all changes
that occurred since the lastVcsRevisionKey to the current latest found on the repository. |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.