Modifier and Type | Method and Description |
---|---|
@NotNull BuildContextBuilder |
BuildContextBuilderImpl.planRepositoryDefinitionMap(Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap) |
@NotNull BuildContextBuilder |
BuildContextBuilder.planRepositoryDefinitionMap(Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap) |
Constructor and Description |
---|
DeploymentContextImpl(@NotNull DeploymentProject deploymentProject,
@NotNull DeploymentResult deploymentResult,
@NotNull List<TaskDefinition> taskDefinitions,
@NotNull Map<String,String> artifactHandlerConfiguration,
@NotNull VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
@Nullable DeploymentVersion previousVersion,
@NotNull Iterable<CredentialsData> sharedCredentials,
@NotNull Map<PlanKey,ChainStorageTag> necessaryStorageTags,
@NotNull Map<String,Map<String,String>> pluginConfigMap,
@NotNull DockerPipelineConfiguration dockerPipelineConfiguration,
@NotNull CommonArtifactContext commonArtifactContext,
@NotNull boolean isVerboseLoggingOn) |
Modifier and Type | Method and Description |
---|---|
static @Nullable PlanRepositoryDefinition |
PlanHelper.getDefaultPlanRepositoryDefinition(@NotNull ImmutablePlan plan) |
static PlanRepositoryDefinition |
PlanHelper.getPlanRepositoryDefinitionById(@NotNull ImmutablePlan plan,
long id) |
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitions(@NotNull ImmutablePlan plan) |
static List<PlanRepositoryDefinition> |
PlanHelper.getPlanRepositoryDefinitionsByType(@NotNull ImmutablePlan plan,
@NotNull String pluginKey) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PlanHelper.isDefault(@NotNull PlanRepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanRepositoryDefinition |
BranchIntegrationServiceImpl.getIntegrationRepository(@NotNull ImmutablePlan plan) |
@NotNull PlanRepositoryDefinition |
BranchIntegrationServiceImpl.getIntegrationRepository(@NotNull ImmutablePlan plan,
@NotNull BranchIntegrationPoint branchIntegrationPoint) |
@NotNull PlanRepositoryDefinition |
BranchIntegrationService.getIntegrationRepository(@NotNull ImmutablePlan plan,
@NotNull BranchIntegrationPoint branchIntegrationPoint)
Get repository configured as integration point for arbitrary defined integration point (vcs branch or plan)
|
@Nullable PlanRepositoryDefinition |
VcsBranchIntegrationHelper.getIntegrationVcsRepository(@NotNull BuildContext buildContext)
Deprecated.
|
@Nullable PlanRepositoryDefinition |
BranchIntegrationHelperImpl.getIntegrationVcsRepository(@NotNull BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
ChainBranchImpl.createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories,
List<PlanRepositoryDefinition> masterRepositories) |
Modifier and Type | Method and Description |
---|---|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
@NotNull BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
@NotNull BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch)
Creates a new lightweight plan branch for give chain.
|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
@NotNull BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch,
Optional<VcsPullRequest> pullRequest) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
@NotNull BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch,
Optional<VcsPullRequest> pullRequest)
Creates a new lightweight plan branch for give chain.
|
@NotNull Collection<ChainBranchCreationResult> |
LightweightBranchCreationServiceImpl.createChainBranches(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull Collection<VcsBranch> branches,
@NotNull PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> consumer,
boolean expectingDivergentBranch) |
@NotNull Collection<ChainBranchCreationResult> |
LightweightBranchCreationService.createChainBranches(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull Collection<VcsBranch> branches,
@NotNull PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull 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(@NotNull ImmutableChain chainBranch,
@NotNull PlanRepositoryDefinition planRepositoryDefinition) |
void |
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch(@NotNull ImmutableChain chainBranch,
@NotNull PlanRepositoryDefinition planRepositoryDefinition)
Handles deletion of a VCS branch from any of the plan branch's repositories.
|
void |
VcsBranchIntegrationHelper.mergeAndUpdateResult(@NotNull BuildContext buildContext,
@NotNull PlanRepositoryDefinition defaultRepositoryDef,
@NotNull VcsRepositoryModuleDescriptor moduleDescriptor,
@NotNull MergeResultContext mergeResult,
@NotNull File mergeDir,
@Nullable BuildLogger buildLogger,
@NotNull Consumer<MergeResult> mergeResultConsumer,
@NotNull Runnable afterMergeFinished) |
void |
BranchIntegrationHelperImpl.mergeAndUpdateResult(@NotNull BuildContext buildContext,
@NotNull PlanRepositoryDefinition defaultRepositoryDef,
@NotNull VcsRepositoryModuleDescriptor moduleDescriptor,
@NotNull MergeResultContext mergeResult,
@NotNull File mergeDir,
@Nullable BuildLogger buildLogger,
@NotNull Consumer<MergeResult> mergeResultConsumer,
@NotNull Runnable afterMergeFinished) |
void |
LightweightBranchCreationServiceImpl.validateCreateChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
boolean enableExpiry,
@NotNull com.atlassian.struts.ValidationAware validationAware) |
void |
LightweightBranchCreationService.validateCreateChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable PlanRepositoryDefinition defaultRepositoryDefinition,
@Nullable VcsRepositoryModuleDescriptor moduleDescriptor,
@Nullable VcsBranch newBranch,
boolean enableExpiry,
@NotNull 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 |
---|---|
boolean |
BitbucketCloudTriggerConfigurator.isRepositorySelectable(@NotNull PlanRepositoryDefinition planRepositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
boolean |
StashTriggerConfigurator.isRepositorySelectable(@NotNull 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(@NotNull CommonTaskContext commonTaskContext) |
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(@NotNull List<PlanRepositoryDefinition> repositoryDefinitionList,
@NotNull TaskDefinition taskDefinition) |
static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(@NotNull Map<Long,PlanRepositoryDefinition> repositoryDefinitionMap,
@NotNull 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(@NotNull CommonContext buildContext,
@NotNull TaskDefinition taskDefinition,
@NotNull String repositoryIdSelector) |
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(@NotNull CommonTaskContext commonTaskContext,
@NotNull String repositoryIdSelector) |
Modifier and Type | Method and Description |
---|---|
static @NotNull PlanRepositoryDefinition |
RepositoryDefinitionMocks.mockPlanRepositoryDefinition(String pluginKey) |
Modifier and Type | Method and Description |
---|---|
default boolean |
TriggerConfigurator.isRepositorySelectable(@NotNull 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(@NotNull ImmutableChain chain,
@Nullable Set<Long> triggeringRepositories) |
Modifier and Type | Method and Description |
---|---|
static @Nullable PlanRepositoryDefinition |
BuildContextHelper.getDefaultPlanRepositoryDefinition(BuildContext buildContext) |
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
@Nullable BuildChanges buildChanges,
BuildContext parentBuildContext,
@Nullable ArtifactContext artifactContext,
VariableContext variableContext,
@Nullable Map<String,String> customBuildData,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
boolean isVerboseLoggingOn,
BambooBandanaContext bandanaContext,
@NotNull Iterable<CredentialsData> relevantSharedCredentials,
@NotNull Map<PlanKey,ChainStorageTag> relevantStorageTags,
BuildKey buildKey,
MergeResultContext mergeResult)
Using this constructor directly is not recommended.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesBetween(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@Nullable PlanVcsRevisionData fromVcsRevisionData,
@NotNull PlanVcsRevisionData toVcsRevisionData) |
@NotNull BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@Nullable PlanVcsRevisionData fromVcsRevisionData,
@NotNull 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. |
@NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision) |
@NotNull BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable 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 @NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision,
boolean isBuildTrigger,
boolean suppressQuietPeriod) |
Modifier and Type | Class and Description |
---|---|
class |
PlanRepositoryDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
PlanRepositoryDefinitionImpl.createForPosition(@NotNull VcsRepositoryData other,
int position) |
Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
RepositoryAwareBulkAction.getRepositoryDefinitions(@NotNull ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
SvnBulkAction.getRepositoryDefinitions(@NotNull ImmutablePlan plan) |
List<PlanRepositoryDefinition> |
UpdateWebUrlBulkAction.getRepositoryDefinitions(@NotNull ImmutablePlan plan) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRepositoryBulkAction.populateActionParameters(@NotNull ActionParametersMap actionParameters,
@NotNull ImmutablePlan plan,
@NotNull PlanRepositoryDefinition repositoryDefinition) |
void |
RepositoryAwareBulkAction.populateActionParameters(@NotNull ActionParametersMap actionParameters,
@NotNull ImmutablePlan plan,
@NotNull PlanRepositoryDefinition repositoryDefinition) |
void |
UpdateSvnCredentialsBulkAction.populateActionParameters(@NotNull ActionParametersMap actionParameters,
@NotNull ImmutablePlan plan,
@NotNull PlanRepositoryDefinition repositoryDefinition) |
Modifier and Type | Method and Description |
---|---|
PlanRepositoryDefinition |
EditChainBranchDetails.getDefaultRepositoryDefinition() |
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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.