Modifier and Type | Method and Description |
---|---|
BuildContextBuilder |
BuildContextBuilderImpl.relevantRepositories(Set<RepositoryDefinition> relevantRepositories) |
BuildContextBuilder |
BuildContextBuilder.relevantRepositories(Set<RepositoryDefinition> relevantRepositories) |
BuildContextBuilder |
BuildContextBuilderImpl.repositoryDefinitionMap(Map<Long,RepositoryDefinition> repositoryDefinitionMap) |
BuildContextBuilder |
BuildContextBuilder.repositoryDefinitionMap(Map<Long,RepositoryDefinition> repositoryDefinitionMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
RepositoryExporterImpl.generateDataMap(RepositoryDefinition repositoryDefinition) |
Map<String,Object> |
RepositoryExporter.generateDataMap(RepositoryDefinition repositoryDefinition)
Generate YAML-friendly map containing data from
RepositoryDefinition . |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
TriggerDefinitionExportHelper.generateDataMap(TriggerDefinition triggerDefinition,
Map<Long,RepositoryDefinition> planRepositories) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<RepositoryDefinition,SharedCredentialDepender> |
CredentialsDependerFunctions.dependerFromRepositoryDefinition()
Function that gets a SharedCredentialDepender for a RepositoryDefinition
|
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
Modifier and Type | Method and Description |
---|---|
RepositoryDefinition |
EnvironmentServiceImpl.updateRepositoryLinkInEnvironment(EnvironmentRepositoryLink environmentRepositoryLink,
RepositoryDataEntity newRepositoryEntity) |
RepositoryDefinition |
EnvironmentService.updateRepositoryLinkInEnvironment(EnvironmentRepositoryLink environmentRepositoryLink,
RepositoryDataEntity newRepositoryEntity)
Update
EnvironmentRepositoryLink data |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
EnvironmentServiceImpl.getRepositoryDefinitionsForEnvironment(Environment environment) |
List<RepositoryDefinition> |
EnvironmentService.getRepositoryDefinitionsForEnvironment(Environment environment)
Retrieves all repositories used in environment source checkout tasks
|
Modifier and Type | Method and Description |
---|---|
Map<Long,RepositoryDefinition> |
DeploymentContextImpl.getRepositoryDefinitionMap() |
List<RepositoryDefinition> |
DeploymentContextImpl.getRepositoryDefinitions() |
Constructor and Description |
---|
DeploymentContextImpl(DeploymentProject deploymentProject,
DeploymentResult deploymentResult,
List<TaskDefinition> taskDefinitions,
Map<String,String> artifactHandlerConfiguration,
VariableContext variableContext,
Map<Long,RepositoryDefinition> repositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials) |
Modifier and Type | Method and Description |
---|---|
static RepositoryDefinition |
PlanHelper.getDefaultRepositoryDefinition(ImmutablePlan plan) |
static RepositoryDefinition |
PlanHelper.getRepositoryDefinitionForPlanById(ImmutablePlan plan,
long id) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
AbstractChain.getEffectiveRepositoryDefinitions() |
static LinkedHashMap<Long,RepositoryDefinition> |
PlanHelper.getRepositoryDefinitionMap(ImmutablePlan plan) |
static List<RepositoryDefinition> |
PlanHelper.getRepositoryDefinitions(ImmutablePlan plan) |
static List<RepositoryDefinition> |
PlanHelper.getRepositoryDefinitionsByType(ImmutablePlan plan,
String pluginKey) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PlanHelper.isDefault(RepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
static List<RepositoryDefinition> |
ChainBranchImpl.createEffectiveRepositoryDefinitions(List<RepositoryDefinition> branchRepositories,
List<RepositoryDefinition> masterRepositories) |
List<RepositoryDefinition> |
ChainBranchImpl.getEffectiveRepositoryDefinitions() |
Map<Long,RepositoryDefinition> |
BranchIntegrationServiceImpl.getRepositoryDefinitionMap(ImmutablePlan plan) |
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 |
---|---|
protected void |
BranchDetectionServiceImpl.createNewBranchesForChainNoLock(ImmutableChain chain,
RepositoryDefinition defaultRepositoryDefinition,
boolean ignoreChainConfig) |
Modifier and Type | Method and Description |
---|---|
static List<RepositoryDefinition> |
ChainBranchImpl.createEffectiveRepositoryDefinitions(List<RepositoryDefinition> branchRepositories,
List<RepositoryDefinition> masterRepositories) |
static List<RepositoryDefinition> |
ChainBranchImpl.createEffectiveRepositoryDefinitions(List<RepositoryDefinition> branchRepositories,
List<RepositoryDefinition> masterRepositories) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<RepositoryDefinition> |
AbstractImmutableChain.getEffectiveRepositoryDefinitions() |
List<RepositoryDefinition> |
ImmutableChain.getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,RepositoryDefinition> |
DeploymentRepositoryBuildContext.getRepositoryDefinitionMap() |
List<RepositoryDefinition> |
DeploymentRepositoryBuildContext.getRepositoryDefinitions() |
Modifier and Type | Class and Description |
---|---|
class |
DecoratedRepositoryDefinition
Decoration of repository used when displaying on the UI.
|
class |
RepositoryDefinitionForTest |
class |
RepositoryDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
RepositoryDefinition |
RepositoryConfigurationServiceImpl.attachGlobalRepositoryToPlan(Plan plan,
long selectedGlobalRepositoryId,
boolean buildTrigger) |
RepositoryDefinition |
RepositoryConfigurationService.attachGlobalRepositoryToPlan(Plan plan,
long selectedGlobalRepositoryId,
boolean buildTrigger)
Creates relationship between global repository and a plan
|
RepositoryDefinition |
RepositoryConfigurationServiceImpl.createRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger) |
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 |
RepositoryConfigurationServiceImpl.editRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
AOP advice cannot handle
RepositoryDataEntity type so call to {@link
RepositoryDefinitionManager#saveRepositoryDefinition(RepositoryDataEntity) will be unadvised. |
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> |
RepositoryDefinitionManagerImpl.getRepositoryDefinitionsForPlan(ImmutablePlan plan) |
List<RepositoryDefinition> |
RepositoryDefinitionManager.getRepositoryDefinitionsForPlan(ImmutablePlan plan)
Get all repositories attached to a plan ordered by position.
|
static com.google.common.base.Predicate<RepositoryDefinition> |
RepositoryPredicates.hasRepositoryDefinitionEqualPluginKey(String pluginKey)
Get a predicate that returns true for
RepositoryDefinition which has equal plugin key |
static com.google.common.base.Function<String,Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryFunctions.idSelectorToRepositoryDefinition(CommonTaskContext commonTaskContext) |
static com.google.common.base.Function<String,Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryFunctions.idSelectorToRepositoryDefinition(List<RepositoryDefinition> repositoryDefinitionList,
TaskDefinition taskDefinition) |
static com.google.common.base.Predicate<RepositoryDefinition> |
RepositoryPredicates.isRepositoryDefinitionDefault()
Get a predicate that returns true for
RepositoryDefinition which is has position == 0 (is default) |
Modifier and Type | Method and Description |
---|---|
RepositoryDefinition |
RepositoryConfigurationServiceImpl.editRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
AOP advice cannot handle
RepositoryDataEntity type so call to {@link
RepositoryDefinitionManager#saveRepositoryDefinition(RepositoryDataEntity) will be unadvised. |
RepositoryDefinition |
RepositoryConfigurationService.editRepository(Plan plan,
String repositoryName,
String selectedRepositoryKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Changes (replaces) repository definition.
|
boolean |
RepositoryConfigurationServiceImpl.validateRepositoryName(ImmutablePlan plan,
String name,
RepositoryDefinition repositoryDefinition) |
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 |
---|---|
static com.google.common.base.Function<String,Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryFunctions.idSelectorToRepositoryDefinition(List<RepositoryDefinition> repositoryDefinitionList,
TaskDefinition taskDefinition) |
Constructor and Description |
---|
DecoratedRepositoryDefinition(RepositoryDefinition repositoryDefinition) |
RepositoryDefinitionImpl(RepositoryDefinition repositoryDefinition)
Construct copy of RepositoryDefinition with id set to -1.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryDefinition |
RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(CommonContext buildContext,
TaskDefinition taskDefinition,
String repositoryIdSelector) |
static RepositoryDefinition |
RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(CommonTaskContext commonTaskContext,
String repositoryIdSelector) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
List<RepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<RepositoryDefinition> |
RepositoryAwareTaskConfigurator.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
static List<Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryTaskHelper.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList) |
static List<RepositoryDefinition> |
RepositoryTaskHelper.safeGetRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList)
Get list of
RepositoryDefinition existing in repositoryDefinitionMap and used by task |
Modifier and Type | Method and Description |
---|---|
static List<Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryTaskHelper.getRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList) |
static List<RepositoryDefinition> |
RepositoryTaskHelper.safeGetRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<RepositoryDefinition> repositoryDefinitionList)
Get list of
RepositoryDefinition existing in repositoryDefinitionMap and used by task |
Modifier and Type | Method and Description |
---|---|
static RepositoryDefinition |
RepositoryDefinitionMocks.mockRepositoryDefinition(Class<? extends Repository> repositoryClass,
String pluginKey) |
Modifier and Type | Method and Description |
---|---|
static RepositoryChangeset |
RepositoryChangesetMocks.mockRepositoryChangeset(RepositoryDefinition mockRepositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<? super RepositoryDefinition> |
BambooPredicates.buildTrigger(ImmutableChain chain,
Set<Long> triggeringRepositories) |
Modifier and Type | Method and Description |
---|---|
static RepositoryDefinition |
BuildContextHelper.getDefaultRepositoryDefinition(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
Map<Long,RepositoryDefinition> |
BuildContextImpl.getRepositoryDefinitionMap() |
Map<Long,RepositoryDefinition> |
CommonContext.getRepositoryDefinitionMap() |
List<RepositoryDefinition> |
BuildContextImpl.getRepositoryDefinitions() |
List<RepositoryDefinition> |
CommonContext.getRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
BuildContextImpl.setRelevantRepositories(Set<RepositoryDefinition> relevantRepositories) |
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
Map<String,String> customBuildData,
Map<Long,RepositoryDefinition> repositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials)
Using this constructor directly is not recommended.
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData) |
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 |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision) |
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. |
Modifier and Type | Method and Description |
---|---|
static void |
BuiltInVariableHelper.createRepositoryVariables(Map<String,VariableDefinitionContext> variables,
List<RepositoryDefinition> repositoryDefinitions,
BuildChanges buildChanges,
VariableType variableType) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
BulkPlanAction.getSelectedRepositoryDefinitions(Plan plan) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
RepositoryAwareBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
SvnBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
CvsBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<RepositoryDefinition> |
UpdateWebUrlBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryAwareBulkAction.populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
RepositoryDefinition repositoryDefinition) |
void |
AbstractRepositoryBulkAction.populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
RepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
RepositoryDefinition |
ConfigureBranches.getDefaultRepositoryDefinition() |
RepositoryDefinition |
EditChainBranchDetails.getDefaultRepositoryDefinition() |
RepositoryDefinition |
EditChainBranchRepository.getRepository() |
RepositoryDefinition |
EditChainBranchRepository.getRepositoryById(long id) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
EditChainBranchDetails.getRepositoryDefinitions() |
Modifier and Type | Field and Description |
---|---|
protected RepositoryDefinition |
ConfigureRepository.repositoryDefinition |
Modifier and Type | Method and Description |
---|---|
RepositoryDefinition |
ConfigureRepository.getRepositoryById(long id) |
RepositoryDefinition |
ConfigureRepository.getRepositoryDefinition() |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
ConfigureBuildRepository.getRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigureRepository.setRepositoryDefinition(RepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
ViewPlanConfiguration.getRepositoryDefinitions(String[] selectedRepositories) |
List<RepositoryDefinition> |
ViewPlanConfiguration.getRepositoryDefinitions(String pluginKey,
String[] selectedRepositories) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
ConfigureChainTrigger.getRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
RepositoryTriggerSelector |
RepositoryTriggerSelector.Transform2TriggerSelector.apply(RepositoryDefinition input) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.