Modifier and Type | Method and Description |
---|---|
BuildContextBuilder |
BuildContextBuilderImpl.planRepositoryDefinitionMap(Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap) |
BuildContextBuilder |
BuildContextBuilder.planRepositoryDefinitionMap(Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap) |
BuildContextBuilder |
BuildContextBuilderImpl.relevantRepositories(Set<PlanRepositoryDefinition> relevantRepositories) |
BuildContextBuilder |
BuildContextBuilder.relevantRepositories(Set<PlanRepositoryDefinition> relevantRepositories) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
InternalEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
EnvironmentServiceImpl.getPlanRepositoryDefinitionsForEnvironment(Environment environment) |
List<PlanRepositoryDefinition> |
EnvironmentService.getPlanRepositoryDefinitionsForEnvironment(Environment environment)
Deprecated.
|
List<PlanRepositoryDefinition> |
EnvironmentServiceImpl.getPlanRepositoryDefinitionsForEnvironment(InternalEnvironment environment) |
List<PlanRepositoryDefinition> |
EnvironmentService.getPlanRepositoryDefinitionsForEnvironment(InternalEnvironment environment)
Retrieves all repositories used in environment source checkout tasks
|
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
DeploymentContextImpl.getVcsRepositories() |
Map<Long,PlanRepositoryDefinition> |
DeploymentContextImpl.getVcsRepositoryMap() |
Constructor and Description |
---|
DeploymentContextImpl(DeploymentProject deploymentProject,
DeploymentResult deploymentResult,
List<TaskDefinition> taskDefinitions,
Map<String,String> artifactHandlerConfiguration,
VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials,
Map<PlanKey,ChainStorageTag> necessaryStorageTags,
Map<String,Map<String,String>> pluginConfigMap,
DockerPipelineConfiguration dockerPipelineConfiguration,
CommonArtifactContext commonArtifactContext) |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
PlanHelper.getDefaultPlanRepositoryDefinition(ImmutablePlan plan) |
static PlanRepositoryDefinition |
PlanHelper.getPlanRepositoryDefinitionById(ImmutablePlan plan,
long id) |
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<Long,PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitionMap(ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
AbstractChain.getPlanRepositoryDefinitions() |
static List<PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitions(ImmutablePlan plan) |
static List<PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitionsByType(ImmutablePlan plan,
String pluginKey) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PlanHelper.isDefault(PlanRepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
PlanRepositoryDefinition |
BranchIntegrationServiceImpl.getIntegrationRepository(ImmutablePlan plan) |
PlanRepositoryDefinition |
BranchIntegrationServiceImpl.getIntegrationRepository(ImmutablePlan plan,
BranchIntegrationPoint branchIntegrationPoint) |
PlanRepositoryDefinition |
BranchIntegrationService.getIntegrationRepository(ImmutablePlan plan,
BranchIntegrationPoint branchIntegrationPoint)
Get repository configured as integration point for arbitrary defined integration point (vcs branch or plan)
|
PlanRepositoryDefinition |
VcsBranchIntegrationHelper.getIntegrationVcsRepository(BuildContext buildContext)
Deprecated.
|
PlanRepositoryDefinition |
BranchIntegrationHelperImpl.getIntegrationVcsRepository(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
ChainBranchImpl.createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories,
List<PlanRepositoryDefinition> masterRepositories) |
Map<Long,PlanRepositoryDefinition> |
BranchIntegrationServiceImpl.getPlanRepositoryDefinitionMap(ImmutablePlan plan) |
Map<Long,PlanRepositoryDefinition> |
BranchIntegrationService.getPlanRepositoryDefinitionMap(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
|
List<PlanRepositoryDefinition> |
ChainBranchImpl.getPlanRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
String branchDescription,
PlanRepositoryDefinition defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch newBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch) |
ChainBranchCreationResult |
LightweightBranchCreationService.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
String branchDescription,
PlanRepositoryDefinition defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch newBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch)
Creates a new lightweight plan branch for give chain.
|
Collection<ChainBranchCreationResult> |
LightweightBranchCreationServiceImpl.createChainBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
PlanRepositoryDefinition defaultRepositoryDefinition,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> consumer,
boolean expectingDivergentBranch) |
Collection<ChainBranchCreationResult> |
LightweightBranchCreationService.createChainBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
PlanRepositoryDefinition defaultRepositoryDefinition,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch)
Creates a new lightweight plan branch or enables existing one for each vcs branch in given collection under given
chain.
|
void |
ChainBranchManagerImpl.handleVcsBranchDeletedOfPlanBranch(ImmutableChain chainBranch,
PlanRepositoryDefinition planRepositoryDefinition) |
void |
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch(ImmutableChain chainBranch,
PlanRepositoryDefinition planRepositoryDefinition)
Handles deletion of a VCS branch from any of the plan branch's repositories.
|
void |
LightweightBranchCreationServiceImpl.validateCreateChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
String branchDescription,
PlanRepositoryDefinition defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch newBranch,
boolean enableExpiry,
com.atlassian.struts.ValidationAware validationAware) |
void |
LightweightBranchCreationService.validateCreateChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
String branchDescription,
PlanRepositoryDefinition defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch newBranch,
boolean enableExpiry,
com.atlassian.struts.ValidationAware validationAware)
Validates configuration for creating chain branch
|
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
ChainBranchImpl.createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories,
List<PlanRepositoryDefinition> masterRepositories) |
static List<PlanRepositoryDefinition> |
ChainBranchImpl.createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories,
List<PlanRepositoryDefinition> masterRepositories) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
AbstractImmutableChain.getPlanRepositoryDefinitions() |
List<PlanRepositoryDefinition> |
ImmutableChain.getPlanRepositoryDefinitions()
Return list of repositories available to the chain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StashTriggerConfigurator.isRepositorySelectable(PlanRepositoryDefinition planRepositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
PlanRepositoryDefinition |
RepositoryDefinitionImpl.getOriginalData() |
Modifier and Type | Method and Description |
---|---|
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(List<PlanRepositoryDefinition> repositoryDefinitionList,
TaskDefinition taskDefinition) |
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(Map<Long,PlanRepositoryDefinition> repositoryDefinitionMap,
TaskDefinition taskDefinition) |
Constructor and Description |
---|
LegacyRepositoryDefinitionImpl(PlanRepositoryDefinition repositoryData,
RepositoryConfigurationReference configurationRef)
Deprecated.
|
LegacyRepositoryDefinitionImpl(PlanRepositoryDefinition repositoryData,
String legacyPluginKey,
RepositoryConfigurationReference configurationRef)
Deprecated.
|
RepositoryDefinitionImpl(PlanRepositoryDefinition delegate) |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(CommonContext buildContext,
TaskDefinition taskDefinition,
String repositoryIdSelector) |
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(CommonTaskContext commonTaskContext,
String repositoryIdSelector) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<PlanRepositoryDefinition> |
RepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
List<PlanRepositoryDefinition> |
AbstractRepositoryAwareTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
InternalEnvironment environment) |
static List<PlanRepositoryDefinition> |
RepositoryTaskHelper.safeGetPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<PlanRepositoryDefinition> repositoryDefinitionList)
Get list of
PlanRepositoryDefinition existing in repositoryDefinitionMap and used by task |
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
RepositoryTaskHelper.safeGetPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
List<PlanRepositoryDefinition> repositoryDefinitionList)
Get list of
PlanRepositoryDefinition existing in repositoryDefinitionMap and used by task |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
RepositoryDefinitionMocks.mockPlanRepositoryDefinition(String pluginKey) |
Modifier and Type | Method and Description |
---|---|
default boolean |
TriggerConfigurator.isRepositorySelectable(PlanRepositoryDefinition planRepositoryDefinition)
Allows to filter repositories allowed to be selected by trigger from the list of repositories available for plan.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<PlanRepositoryDefinition> |
BambooPredicates.isChainTrigger(ImmutableChain chain,
Set<Long> triggeringRepositories) |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
BuildContextHelper.getDefaultPlanRepositoryDefinition(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
BuildContextImpl.getVcsRepositories() |
List<PlanRepositoryDefinition> |
CommonContext.getVcsRepositories() |
Map<Long,PlanRepositoryDefinition> |
BuildContextImpl.getVcsRepositoryMap() |
Map<Long,PlanRepositoryDefinition> |
CommonContext.getVcsRepositoryMap() |
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
Map<String,String> customBuildData,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials,
Map<PlanKey,ChainStorageTag> relevantStorageTags,
BuildKey buildKey)
Using this constructor directly is not recommended.
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
Given a
PlanRepositoryDefinition finds the BuildChanges object that captures all changes that occurred
between the fromVcsRevisionKey to toVcsRevisionKey
This method suppresses quiet period settings and returns changes immediately. |
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
Given a
PlanRepositoryDefinition finds the BuildRepositoryChanges object that captures all changes
that occurred since the lastVcsRevisionKey to the current latest found on the repository. |
protected BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision,
boolean isBuildTrigger,
boolean suppressQuietPeriod) |
Modifier and Type | Method and Description |
---|---|
static void |
BuiltInVariableHelper.createRepositoryVariables(Map<String,VariableDefinitionContext> variables,
List<PlanRepositoryDefinition> repositoryDefinitions,
BuildChanges buildChanges,
VariableType variableType,
VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Class and Description |
---|---|
class |
PlanRepositoryDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
PlanRepositoryDefinitionImpl.createForPosition(VcsRepositoryData other,
int position) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
DeploymentRepositoryBuildContext.getVcsRepositories() |
Map<Long,PlanRepositoryDefinition> |
DeploymentRepositoryBuildContext.getVcsRepositoryMap() |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
WarningsTaskConfigurator.getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
CvsBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
UpdateWebUrlBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
RepositoryAwareBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
SvnBulkAction.getRepositoryDefinitions(ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryAwareBulkAction.populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
PlanRepositoryDefinition repositoryDefinition) |
void |
AbstractRepositoryBulkAction.populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
PlanRepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
PlanRepositoryDefinition |
EditChainBranchDetails.getDefaultRepositoryDefinition() |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
EditChainBranchDetails.getRepositoryDefinitions() |
Modifier and Type | Field and Description |
---|---|
protected PlanRepositoryDefinition |
EditChainBranchRepository.parentRepository |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
ConfigureChainBranchRepositories.getPlanRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
ConfigureChainTrigger.getRepositoryDefinitions() |
Modifier and Type | Method and Description |
---|---|
RepositoryTriggerSelector |
RepositoryTriggerSelector.Transform2TriggerSelector.apply(PlanRepositoryDefinition input) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.