| Modifier and Type | Method and Description |
|---|---|
protected TrackingEntry |
BrokenBuildPostProcessor.createNewEntry(ImmutableChain chain,
ChainResultsSummary summary) |
void |
BrokenBuildPostProcessor.execute(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull ChainExecution chainExecution) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
BuildResultsAction.getChain()
Deprecated.
since 6.9 use
BuildResultsAction.getImmutableChain() |
ImmutableChain |
BuildResultsAction.getImmutableChain() |
ImmutableChain |
ChainResultsAction.getImmutableChain() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createInitialBuildDetectionAction(@NotNull ImmutableChain chain) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createInitialBuildDetectionAction(@NotNull ImmutableChain chain)
Creates a new instance of
BuildDetectionAction that is used to execute the initial build for a Plan |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
@Nullable TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull TriggerReason triggerReason,
@Nullable PlanTrigger planTrigger,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createScheduledBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createScheduledBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration)
Deprecated.
since 5.11
|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createScheduledBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration,
@NotNull Map<String,String> triggerConfiguration) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createScheduledBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration,
@NotNull Map<String,String> triggerConfiguration)
Creates a new instance of
BuildDetectionAction that can be used to start the scheduled execution of
Plan |
void |
ChainResultsAction.setChain(ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanValidationServiceImpl.validateNewPlanBranchForMaster(@NotNull com.atlassian.struts.ValidationAware validationAware,
@NotNull ImmutableChain masterChain,
@NotNull String branchName) |
void |
PlanValidationServiceImpl.validateNewPlanBranchForMaster(com.opensymphony.xwork.ValidationAware validationAware,
@NotNull ImmutableChain masterChain,
@NotNull String branchName) |
void |
PlanValidationServiceXWork1.validateNewPlanBranchForMaster(@NotNull com.opensymphony.xwork.ValidationAware validationAware,
@NotNull ImmutableChain masterChain,
@NotNull String branchName)
Deprecated.
since 5.1
|
void |
PlanValidationService.validateNewPlanBranchForMaster(@NotNull com.atlassian.struts.ValidationAware validationAware,
@NotNull ImmutableChain masterChain,
@NotNull String branchName)
Validate that new plan branch name (only) is unique within a set of branches with a common master
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
AbstractBuildStatusUpdater.isPlanRelevant(@NotNull ImmutableChain immutableChain) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Chain
Mutable version of
ImmutableChain. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultChain |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
ChainResultsSummaryImpl.getImmutableChain() |
@NotNull ImmutableChain |
ChainResultsSummaryImpl.getImmutablePlan() |
@NotNull ImmutableChain |
ImmutableChainResultsSummary.getImmutablePlan() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BuildContextFactoryImpl.canRestartOrContinueBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull PlanExecutionConfig planExecutionConfig) |
boolean |
BuildContextFactory.canRestartOrContinueBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull PlanExecutionConfig planExecutionConfig)
Checks if build can be continued from a manual stage or restarted, that is, if there are any stages to be run
and if all the jobs in those stages still exist.
|
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull BuildContext parentBuildContext) |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull BuildContext parentBuildContext)
|
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@Nullable ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
|
@NotNull Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
Creates a
BuildContext for each not built or failed Job in the Chain that was partially executed or is restarted
for example with "continue manual stage" action, or "re-run failed jobs" action, etc |
@NotNull ChainStateCreationRequestResult |
ChainExecutionManagerImpl.createChainStateNoDetection(@NotNull ImmutableChain chain,
@NotNull UnconditionalBuildDetectionAction buildDetectionAction) |
@NotNull ChainStateCreationRequestResult |
ChainExecutionManager.createChainStateNoDetection(@NotNull ImmutableChain chain,
@NotNull UnconditionalBuildDetectionAction buildDetectionAction)
Create a chain state ready for building but dont actually build.
|
void |
ChainResultManagerImpl.createRepositorySpecFailedResult(@NotNull ImmutableChain plan,
@NotNull VcsRepositoryData repositoryData,
@NotNull BuildChanges buildChanges,
int buildNumber,
@NotNull VcsLocationBambooSpecsState specsState) |
void |
ChainResultManager.createRepositorySpecFailedResult(@NotNull ImmutableChain plan,
@NotNull VcsRepositoryData repositoryData,
@NotNull BuildChanges buildChanges,
int buildNumber,
@NotNull VcsLocationBambooSpecsState specsState)
Create and save chain result for plan which was not updated when Repository stored specs execution was failed
|
void |
ChainResultManagerImpl.createRepositorySpecSuccessResult(@NotNull ImmutableChain plan,
@NotNull VcsRepositoryData repositoryData,
@NotNull BuildChanges buildChanges,
int buildNumber) |
void |
ChainResultManager.createRepositorySpecSuccessResult(@NotNull ImmutableChain plan,
@NotNull VcsRepositoryData repositoryData,
@NotNull BuildChanges buildChanges,
int buildNumber)
Create and save chain result for plan which was updated when Repository stored specs executed
|
@NotNull ChainExecutionRequestResult |
ChainExecutionManagerImpl.delayedStart(@NotNull ImmutableChain chain,
@NotNull UnconditionalBuildDetectionAction buildDetectionAction,
@NotNull ChainState chainState) |
@NotNull ChainExecutionRequestResult |
ChainExecutionManager.delayedStart(@NotNull ImmutableChain chain,
@NotNull UnconditionalBuildDetectionAction buildDetectionAction,
@NotNull ChainState chainState)
Starts the Chain if it's been created already
|
boolean |
ChainPluginSupport.shouldStopExecution(@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration)
Determine from plugins whether the chain should continue executing or not.
|
@NotNull ChainExecutionRequestResult |
ChainExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@NotNull ConditionalBuildDetectionAction buildDetectionAction) |
@NotNull ChainExecutionRequestResult |
ChainExecutionManager.start(@NotNull ImmutableChain chain,
@NotNull ConditionalBuildDetectionAction buildDetectionAction)
Starts the Chain
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
ImmutableChainStageImpl.getChain() |
@NotNull ImmutableChain |
ImmutableChainStage.getChain()
Gets the
Chain that the stage belongs to |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableChainStageImpl |
ImmutableChainStageImpl.createImmutableChainStageBasedOnFlatData(@NotNull ImmutableChain chain,
@NotNull FlatChainStageDto stageDto,
@NotNull ImmutablePlanManager immutablePlanManager,
@NotNull ImmutablePlanCacheService immutablePlanCacheService,
@NotNull Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
| Constructor and Description |
|---|
ImmutableChainStageImpl(@NotNull ImmutableChain chain,
@NotNull ChainStage mutableStage,
@NotNull ImmutablePlanManager immutablePlanManager,
@NotNull ImmutablePlanCacheService immutablePlanCacheService) |
| Modifier and Type | Method and Description |
|---|---|
void |
PreChainAction.execute(@NotNull ImmutableChain chain,
@NotNull ChainExecution chainExecution)
Executes the custom action
|
void |
PostChainAction.execute(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull ChainExecution chainExecution)
Execute the custom action
|
| Modifier and Type | Method and Description |
|---|---|
void |
CloverChainResultAggregator.execute(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull ChainExecution chainExecution) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
PlanConfigImportService.ImportResult.getPlan() |
| Constructor and Description |
|---|
ImportResult(ImmutableChain plan,
boolean newPlan,
boolean eventsDeferred) |
ImportResult(ImmutableChain plan,
boolean newPlan,
boolean eventsDeferred,
boolean noChangesInProperties) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
DivergentBranchDataBean.getImmutableChain() |
| Modifier and Type | Method and Description |
|---|---|
static DivergentBranchDataBean |
DivergentBranchDataBean.forCreation(@NotNull ImmutableChain immutableChain,
@NotNull PlanKey planBranchKey,
@NotNull PlanBranchWorkflow planBranchWorkflow,
PlanCreationService.EnablePlan enablePlan) |
static DivergentBranchDataBean |
DivergentBranchDataBean.forUpdate(@NotNull ImmutableChain immutableChain,
@NotNull PlanKey planBranchKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableChain,List<VcsRepositoryData>> |
SharedCredentialsInRepositories.getPlanBranchRepositories() |
Map<ImmutableChain,List<VcsRepositoryData>> |
SharedCredentialsInRepositories.getPlanRepositories() |
| Modifier and Type | Method and Description |
|---|---|
Set<Long> |
CredentialsUsageDetectorImpl.getProjectSharedCredentialsForPlanTasks(ImmutableChain immutableChain) |
Set<Long> |
CredentialsUsageDetector.getProjectSharedCredentialsForPlanTasks(ImmutableChain immutableChain) |
| Constructor and Description |
|---|
SharedCredentialsInRepositories(Collection<VcsRepositoryData> globalRepositories,
Map<ImmutableChain,List<VcsRepositoryData>> planRepositories,
Map<ImmutableChain,List<VcsRepositoryData>> planBranchRepositories,
Map<Project,List<VcsRepositoryData>> projectRepositories,
Long sharedCredentialsId) |
SharedCredentialsInRepositories(Collection<VcsRepositoryData> globalRepositories,
Map<ImmutableChain,List<VcsRepositoryData>> planRepositories,
Map<ImmutableChain,List<VcsRepositoryData>> planBranchRepositories,
Map<Project,List<VcsRepositoryData>> projectRepositories,
Long sharedCredentialsId) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanAwareEnvironmentTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition)
Update trigger definition when plan related to deployment is changed.
|
void |
PlanAwareEnvironmentTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition)
Update trigger definition when plan related to deployment is changed.
|
void |
PlanAwareEnvironmentTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition)
Validate change of plan deployment is related to.
|
void |
PlanAwareEnvironmentTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition)
Validate change of plan deployment is related to.
|
| Modifier and Type | Method and Description |
|---|---|
protected Predicate<ImmutableChain> |
NotificationRuleInvalidator.predicate() |
protected abstract Predicate<ImmutableChain> |
AbstractByPredicateCacheInvalidator.predicate() |
| Modifier and Type | Method and Description |
|---|---|
static Set<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
static Set<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
| Modifier and Type | Method and Description |
|---|---|
static QuickSearchDocumentImpl |
QuickSearchDocumentFactory.forChain(ImmutableChain chain) |
| Modifier and Type | Field and Description |
|---|---|
protected ImmutableChain |
StageCompletedNotification.chain |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopLevelPlan
Marker interface that specifies that the implementing
Plan is a 'top level' object |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChain |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImmutableChain> |
PlanPredicates.hasJobs(T chain) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey planKey,
@NotNull Class<T> planClass,
@Nullable ImmutableChain masterPlan) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(@NotNull ImmutablePlanCacheService immutablePlanCacheService,
@NotNull PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(@NotNull ImmutablePlanManager immutablePlanManager,
@NotNull PlanKey planKey,
Class<T> planClass) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull ImmutableChain |
PlanHelper.getMasterPlan(@NotNull ImmutableChain plan)
Get master plan if plan has master or passed plan otherwise.
|
@Nullable ImmutableChain |
PlanStatusHistoryAction.getPlan() |
@Nullable ImmutableChain |
PlanServiceImpl.getPlan(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
PlanService.getPlan(@NotNull PlanKey planKey)
Get an individual stage from a plan
|
| Modifier and Type | Method and Description |
|---|---|
static Predicate<ImmutableChain> |
PlanHelper.defaultRepositoryAsRootPredicate(long repositoryId)
passes chains when the default plan repository definition points to root definition with given id
|
List<ImmutableChain> |
PlanHibernateDao.filterFavouritedPlans(@NotNull Collection<? extends ImmutableChain> plans,
@NotNull com.atlassian.user.User user) |
List<ImmutableChain> |
PlanDao.filterFavouritedPlans(@NotNull Collection<? extends ImmutableChain> plans,
@NotNull com.atlassian.user.User user)
Return a collection of
TopLevelPlans that are a subset of the given Plans collection that are favourited by the User |
Optional<ImmutableChain> |
FilteringPlanManager.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate.
|
Set<ImmutableChain> |
PlanManagerImpl.getFavouritePlans(@NotNull com.atlassian.user.User user) |
Set<ImmutableChain> |
PlanManager.getFavouritePlans(@NotNull com.atlassian.user.User user) |
Stream<ImmutableChain> |
FilteringPlanManager.getFilteredPlansWithRepository(PlanRepositoryIndex.Query query)
Returns chains that use repositories with given params
|
| Modifier and Type | Method and Description |
|---|---|
static ImmutableJob |
PlanHelper.getBranchedImmutableJob(ImmutableChain chainBranch,
ImmutableJob masterJob)
Searches for a corresponding job in a branch.
|
static @NotNull ImmutableChainStage |
PlanHelper.getBranchedStage(ImmutableChain chainBranch,
ImmutableChainStage masterStage) |
@NotNull List<ChainBranch> |
PlanHibernateDao.getBranchesForChain(ImmutableChain chain) |
@NotNull List<ChainBranch> |
PlanDao.getBranchesForChain(ImmutableChain chain)
Returns all branches which have the given chain as their master
|
static @NotNull ImmutableChain |
PlanHelper.getMasterPlan(@NotNull ImmutableChain plan)
Get master plan if plan has master or passed plan otherwise.
|
static boolean |
PlanHelper.haveTheSameMaster(@NotNull CachedPlanManager cachedPlanManager,
@NotNull ImmutableChain masterOrBranchA,
@NotNull ImmutableChain masterOrBranchB) |
static boolean |
PlanHelper.haveTheSameMaster(@NotNull CachedPlanManager cachedPlanManager,
@NotNull ImmutableChain masterOrBranchA,
@NotNull ImmutableChain masterOrBranchB) |
boolean |
PlanExecutionManagerImpl.isBuildingAllowed(@NotNull ImmutableChain chain) |
boolean |
DelegatingPlanExecutionManager.isBuildingAllowed(@NotNull ImmutableChain chain) |
boolean |
PlanExecutionManager.isBuildingAllowed(@NotNull ImmutableChain chain)
Checks if a particular build is allowed to be built.
|
static boolean |
PlanHelper.isDivergentBranch(@NotNull ImmutableChain chain) |
boolean |
PlanExecutionPermitter.isPermittedToExecute(@NotNull ImmutableChain chain,
@NotNull ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
boolean |
AbstractPlanExecutionPermitter.isPermittedToExecute(@NotNull ImmutableChain chain,
@NotNull ErrorCollection errorCollection) |
boolean |
PlanExecutionPermitter.isPermittedToExecute(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
boolean |
AbstractPlanExecutionPermitter.isPermittedToExecute(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
boolean |
ExecutionLimitsServiceImpl.isPermittedToExecuteImpl(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
boolean |
PlanExecutionConcurrencyServiceImpl.isPermittedToExecuteImpl(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
protected abstract boolean |
AbstractPlanExecutionPermitter.isPermittedToExecuteImpl(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey planKey,
@NotNull Class<T> planClass,
@Nullable ImmutableChain masterPlan) |
PlanExecutionConfig |
PlanExecutionConfigImpl.setChain(ImmutableChain chain) |
PlanExecutionConfig |
PlanExecutionConfig.setChain(ImmutableChain chain) |
ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull ImmutableChain chain,
@NotNull BuildDetectionAction buildDetectionAction,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.start(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables,
@NotNull AcquisitionPolicy acquisitionPolicy)
|
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@Nullable String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
@NotNull com.atlassian.user.User user,
@NotNull String triggerReasonPluginKey,
@NotNull String planTriggerPluginKey,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
@NotNull ExecutionRequestResult |
PlanExecutionManagerImpl.startManualExecution(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
DelegatingPlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
@NotNull ExecutionRequestResult |
PlanExecutionManager.startManualExecution(@NotNull ImmutableChain chain,
@NotNull com.atlassian.user.User user,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables)
Attempts to start a manual execution of the given
Plan |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableChain> |
FilteringPlanManager.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable ArtifactDefinition |
ArtifactDefinitionHibernateDao.findByNameInChain(@NotNull ImmutableChain chain,
@NotNull String name) |
@Nullable ArtifactDefinition |
ArtifactDefinitionDao.findByNameInChain(@NotNull ImmutableChain chain,
@NotNull String name)
Find artifact definition of a given name which has sharedArtifact property set to true,
associated with a producer job that belongs to the chain.
|
@NotNull List<ArtifactDefinition> |
ArtifactDefinitionHibernateDao.findSharedArtifactsByChain(@NotNull ImmutableChain chain) |
@NotNull List<ArtifactDefinition> |
ArtifactDefinitionManagerImpl.findSharedArtifactsByChain(@NotNull ImmutableChain chain) |
@NotNull List<ArtifactDefinition> |
ArtifactDefinitionManager.findSharedArtifactsByChain(@NotNull ImmutableChain chain)
Find all shared artifacts that exist for a particular chain (looks through all jobs).
|
@NotNull List<ArtifactDefinition> |
ArtifactDefinitionDao.findSharedArtifactsByChain(@NotNull ImmutableChain chain)
Find all shared artifacts that exist for a particular chain.
|
@NotNull com.google.common.collect.Multimap<? extends ImmutableJob,ArtifactDefinition> |
ArtifactDefinitionManagerImpl.getArtifactDefinitionsByJob(@NotNull ImmutableChain chain,
com.google.common.base.Predicate<ArtifactDefinitionBase> predicate)
Get
ArtifactDefinition grouped by Job |
@NotNull com.google.common.collect.Multimap<? extends ImmutableJob,ArtifactDefinition> |
ArtifactDefinitionManager.getArtifactDefinitionsByJob(@NotNull ImmutableChain chain,
com.google.common.base.Predicate<ArtifactDefinitionBase> predicate)
Returns
ArtifactDefinition grouped by Job where definitions are defined |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManagerImpl.validateSubscriptions(@NotNull ImmutableJob consumer,
@NotNull ImmutableChain chain,
@NotNull String stageName) |
@NotNull List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptions(@NotNull ImmutableJob consumer,
@NotNull ImmutableChain chain,
@NotNull String stageName)
Validate consumer artifact subscriptions against target chain and stage
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChainBranchImpl |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
BranchIntegrationServiceImpl.getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
Deprecated.
since 6.0. Use {
BranchIntegrationServiceImpl.getIntegrationRepository(ImmutablePlan)}. |
@NotNull ImmutableChain |
BranchIntegrationService.getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static @Nullable BranchIntegrationPoint |
BranchIntegrationPointImpl.changeDetectionIntegrationPointForChain(@NotNull ImmutableChain chain)
Finds the best possible branch integration point for change detection, according to chain branch configuration.
|
protected void |
BranchExpiryJob.cleanupExpiredDueToInactivity(ImmutableChain chain) |
void |
VcsBranchManagerImpl.createAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> vcsBranches) |
void |
VcsBranchManager.createAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> requestedBranchesToSave)
Creates new VCS branches.
|
@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 ChainBranchCreationResult |
BranchCreationFacadeImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
@NotNull ChainBranchCreationResult |
BranchCreationFacade.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
@Nullable ChainBranchCreationResult |
BranchCreationFacadeImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull com.atlassian.struts.ValidationAware validationAware) |
@Nullable ChainBranchCreationResult |
BranchCreationFacade.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull com.atlassian.struts.ValidationAware validationAware)
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull String branchName,
@Nullable VcsBranch vcsBranch,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(@NotNull ImmutableChain chain,
@NotNull String branchName,
@Nullable VcsBranch vcsBranch,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Deprecated.
temporary workaround
|
@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.
|
@NotNull List<ChainBranchCreationResult> |
BranchCreationFacadeImpl.createManualBranches(@NotNull ImmutableChain chain,
@NotNull Collection<VcsBranch> branches,
@Nullable ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan) |
@NotNull List<ChainBranchCreationResult> |
BranchCreationFacade.createManualBranches(@NotNull ImmutableChain chain,
@NotNull Collection<VcsBranch> branches,
@Nullable ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branches names, create plan branches for them under give chain.
|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.createOrEnableChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@Nullable String branchName,
@NotNull Function<VcsBranchConfigurator,VcsBranch> vcsBranchProvider,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.createOrEnableChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@Nullable String branchName,
@NotNull Function<VcsBranchConfigurator,VcsBranch> vcsBranchProvider,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch)
Given a branch name and (optionally) vcs branch name, check if branch already exists.
|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.createOrEnableChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@Nullable String branchName,
@NotNull Function<VcsBranchConfigurator,VcsBranch> vcsBranchProvider,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch,
Optional<VcsPullRequest> pullRequest) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.createOrEnableChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@Nullable String branchName,
@NotNull Function<VcsBranchConfigurator,VcsBranch> vcsBranchProvider,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
@NotNull Consumer<PlanKey> branchPlanKeyConsumer,
boolean expectingDivergentBranch,
Optional<VcsPullRequest> pullRequest)
Given a branch name and (optionally) vcs branch name, check if branch already exists.
|
void |
VcsBranchHibernateDao.deleteAll(ImmutableChain chain) |
void |
VcsBranchManagerImpl.deleteAll(@NotNull ImmutableChain chain) |
void |
VcsBranchDao.deleteAll(ImmutableChain chain) |
void |
VcsBranchManager.deleteAll(@NotNull ImmutableChain chain) |
void |
BranchCreationFacadeImpl.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch) |
void |
BranchCreationFacade.enableExistingChainBranch(@NotNull ImmutableChain masterChain,
@NotNull ImmutableChainBranch existingChainBranch)
Enables existing chain branch, queuing RSS execution if required.
|
void |
BranchCreationFacadeImpl.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
Optional<VcsPullRequest> pullRequest) |
void |
BranchCreationFacade.enableExistingChainBranch(@NotNull ImmutableChain masterChain,
@NotNull ImmutableChainBranch existingChainBranch,
Optional<VcsPullRequest> pullRequest)
Enables existing chain branch, queuing RSS execution if required.
|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
@NotNull VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean expectingDivergentBranch) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
@NotNull VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean expectingDivergentBranch)
Enables existing chain branch.
|
List<BambooVcsBranch> |
VcsBranchHibernateDao.findByChain(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchManagerImpl.findByChain(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchDao.findByChain(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchManager.findByChain(@NotNull ImmutableChain chain) |
static @Nullable ImmutableJob |
ChainBranchUtils.findJobByMasterId(@NotNull ImmutableChain chain,
long masterJobId) |
List<BambooVcsBranch> |
VcsBranchHibernateDao.findNotDeletedByChain(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchManagerImpl.findNotDeletedByChain(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchDao.findNotDeletedByChain(@NotNull ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
List<BambooVcsBranch> |
VcsBranchManager.findNotDeletedByChain(@NotNull ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
@NotNull List<ChainBranch> |
ChainBranchManagerImpl.getBranchesForChain(@NotNull ImmutableChain chain) |
@NotNull List<ChainBranch> |
ChainBranchManager.getBranchesForChain(@NotNull ImmutableChain chain)
Get all feature branches associated with the given chain
|
ChainBranchIdentifier |
ChainBranchManagerImpl.getBranchWithName(ImmutableChain masterPlan,
String branchName) |
@Nullable ChainBranchIdentifier |
ChainBranchManager.getBranchWithName(ImmutableChain masterPlan,
String branchName)
|
@Nullable List<VcsBranch> |
BranchCreationFacadeImpl.getOpenBranches(@NotNull ImmutableChain chain,
@Nullable ErrorCollection errorCollection) |
@Nullable List<VcsBranch> |
BranchCreationFacade.getOpenBranches(@NotNull ImmutableChain chain,
@Nullable ErrorCollection errorCollection)
Returns a list of currently open branches for the chain's default repository List ordering determined by
underlying repository (preference is for native ordering e.g.
|
@Nullable List<VcsBranch> |
BranchCreationFacadeImpl.getOpenBranches(@NotNull ImmutableChain chain,
@Nullable ErrorCollection errorCollection,
@NotNull Optional<String> searchTerm) |
@Nullable List<VcsBranch> |
BranchCreationFacade.getOpenBranches(@NotNull ImmutableChain chain,
@Nullable ErrorCollection errorCollection,
@NotNull Optional<String> searchTerm)
Returns a list of currently open branches for the chain's default repository List filtered
by optional case-insensitive searchTerm.
|
void |
ChainBranchManagerImpl.handleVcsBranchDeletedOfPlanBranch(ImmutableChain chainBranch) |
void |
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch(ImmutableChain chainBranch)
Handles deletion of a VCS branch from plan branch's default repository.
|
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.
|
protected boolean |
BranchMetadataBuildPermitter.isPermittedToExecuteImpl(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
boolean |
ChainBranchManagerImpl.isPlanBranchNameConflicting(ImmutableChain masterPlan,
long planIdToIgnore,
String branchName) |
boolean |
ChainBranchManager.isPlanBranchNameConflicting(ImmutableChain masterPlan,
long chainBranchIdToIgnore,
String branchName)
Verifies whether a
ChainBranch name is unique with a given master Chain |
void |
VcsBranchManagerImpl.saveAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> vcsBranches) |
void |
VcsBranchManager.saveAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> requestedBranchesToSave)
Deprecated.
since 5.14 use
VcsBranchManager.createAll(ImmutableChain, Iterable) |
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
|
| Constructor and Description |
|---|
ImmutableChainPropagatingFacade(@NotNull CachedPlanManager cachedPlanManager,
@NotNull ImmutableChain chain) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableChainBranchImpl |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableChainBranchImpl |
ImmutableChainBranchImpl.createImmutableChainBranchBasedOnFlatData(EnrichedPlanDto dto,
List<FlatChainStageDto> chainStages,
Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
Map<Long,EnrichedPlanDto> jobsGroupedById,
Pair<ImmutableChain,EnrichedPlanDto> masterWithMasterDto,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BambooSpecsManager bambooSpecsManager,
NotificationManager notificationManager,
BuildDefinitionManager buildDefinitionManager) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableChainBranch
Interface of an immutable version of
ChainBranch |
interface |
ImmutableTopLevelPlan
Represents a
TopLevelPlan that is immutable. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractImmutableChain |
class |
ImmutableChainImpl
A
ImmutableChain implementation. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
ImmutablePlanManagerImpl.createImmutableChain(@NotNull Chain chain) |
@NotNull ImmutableChain |
ImmutablePlanManager.createImmutableChain(@NotNull Chain chain) |
@NotNull ImmutableChain |
ImmutableResultsSummaryImpl.getImmutableChain() |
@Nullable ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutableChainByKeyIfInCache(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanCacheService.getImmutableChainByKeyIfInCache(@NotNull PlanKey planKey) |
@NotNull ImmutableChain |
ImmutableResultsSummaryImpl.getImmutablePlan() |
@Nullable ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutablePlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanCacheService.getImmutablePlanByKey(@NotNull PlanKey planKey)
Returns a plan if one exists with the key.
|
ImmutableChain |
AbstractImmutableChain.getMaster() |
@Nullable ImmutableChain |
ImmutableChain.getMaster() |
@Nullable ImmutableChain |
CachedPlanManagerImpl.getMasterPlan(@NotNull PlanKey branchKey) |
@Nullable ImmutableChain |
CachedPlanManager.getMasterPlan(@NotNull PlanKey branchKey)
Returns master branch for a given branchKey.
|
@NotNull ImmutableChain |
ImmutableJobImpl.getParent() |
@NotNull ImmutableChain |
ImmutableJob.getParent() |
ImmutableChain |
PlansState.getPlan(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanManager.getPlanByKey(@NotNull PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableChain> |
PlansState.getAllChains() |
Optional<ImmutableChain> |
ImmutablePlanCacheServiceImpl.getAnyPlan(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManagerImpl.getAnyPlan(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManager.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate, permission filtering is applied.
|
Optional<ImmutableChain> |
ImmutablePlanCacheService.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate
|
Optional<ImmutableChain> |
CachedPlanManagerImpl.getAnyPlanUnrestricted(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManager.getAnyPlanUnrestricted(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate.
|
Stream<ImmutableChain> |
CachedPlanManagerImpl.getFilteredPlansWithRepository(PlanRepositoryIndex.Query query) |
Iterable<ImmutableChain> |
CachedPlanManagerImpl.getPlansWithRepository(PlanRepositoryIndex.Query query) |
Iterable<ImmutableChain> |
CachedPlanManager.getPlansWithRepository(PlanRepositoryIndex.Query query)
Returns chains that use repositories with given params
|
com.google.common.collect.ImmutableCollection<ImmutableChain> |
PlansState.getUnsortedPlans() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableJob |
ImmutablePlanManagerImpl.createImmutableJob(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull Job job) |
@NotNull ImmutableJob |
ImmutablePlanManager.createImmutableJob(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull Job job) |
@NotNull ImmutableJob |
ImmutablePlanManagerImpl.createImmutableJobBasedOnDto(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull EnrichedPlanDto jobDto,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
@NotNull ImmutableJob |
ImmutablePlanManager.createImmutableJobBasedOnDto(@NotNull ImmutableChain parent,
@NotNull ImmutableChainStage stage,
@NotNull EnrichedPlanDto job,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight)
Create immutable
ImmutableJob. |
static ImmutableJobImpl |
ImmutableJobImpl.createImmutableJobBasedOnFlatData(ImmutableChain parent,
ImmutableChainStage stage,
EnrichedPlanDto dto,
BuildLoggerManager buildLoggerManager,
VariableDefinitionManager variableDefinitionManager,
TaskManager taskManager,
ResultsSummaryManager resultsSummaryManager,
ImmutableArtifactManager immutableArtifactManager,
RequirementManager requirementManager,
BuildDefinitionManager buildDefinitionManager,
Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
ImmutableChainStage |
ImmutablePlanManagerImpl.createImmutableStage(@NotNull ImmutableChain parent,
@NotNull ChainStage stage) |
ImmutableChainStage |
ImmutablePlanManager.createImmutableStage(@NotNull ImmutableChain parent,
@NotNull ChainStage stage)
Create immutable
ChainStage. |
@NotNull ImmutableChainStage |
ImmutablePlanManagerImpl.createImmutableStageBasedOnDto(@NotNull ImmutableChain parent,
@NotNull FlatChainStageDto stageDto,
@NotNull Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
@NotNull ImmutableChainStage |
ImmutablePlanManager.createImmutableStageBasedOnDto(@NotNull ImmutableChain parent,
@NotNull FlatChainStageDto stage,
@NotNull Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
@NotNull Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight)
Create immutable
ChainStage. |
void |
ImmutablePlanCacheServiceImpl.indexPlan(@NotNull ImmutableChain plan) |
void |
ImmutablePlanCacheService.indexPlan(@NotNull ImmutableChain plan)
Updates plan indexes in cache
|
PlansState |
PlansState.updateState(@NotNull ImmutableChain plan) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableChain> |
ImmutablePlanCacheServiceImpl.getAnyPlan(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManagerImpl.getAnyPlan(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManager.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate, permission filtering is applied.
|
Optional<ImmutableChain> |
ImmutablePlanCacheService.getAnyPlan(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate
|
Optional<ImmutableChain> |
CachedPlanManagerImpl.getAnyPlanUnrestricted(Predicate<? super ImmutableChain> predicate) |
Optional<ImmutableChain> |
CachedPlanManager.getAnyPlanUnrestricted(Predicate<? super ImmutableChain> predicate)
Returns a plan matching the supplied predicate.
|
| Constructor and Description |
|---|
ImmutableJobImpl(ImmutableChain parent,
ImmutableChainStage stage,
EnrichedPlanDto dto,
BuildLoggerManager buildLoggerManager,
VariableDefinitionManager variableDefinitionManager,
TaskManager taskManager,
ResultsSummaryManager resultsSummaryManager,
ImmutableArtifactManager immutableArtifactManager,
RequirementManager requirementManager,
BuildDefinitionManager buildDefinitionManager,
Map<Long,EnrichedPlanDto> jobsGroupedById,
boolean isLightWeight) |
ImmutableJobImpl(ImmutableChain parent,
ImmutableChainStage stage,
Job job,
BuildLoggerManager buildLoggerManager,
LabelManager labelManager,
VariableDefinitionManager variableDefinitionManager,
TaskManager taskManager,
ResultsSummaryManager resultsSummaryManager,
BuildDefinition buildDefinition,
CachedPlanManager cachedPlanManager,
ImmutableArtifactManager immutableArtifactManager) |
| Constructor and Description |
|---|
AbstractImmutableChain(EnrichedPlanDto dto,
Pair<ImmutableChain,EnrichedPlanDto> masterWithMasterDto,
List<FlatChainStageDto> chainStages,
Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
Map<Long,EnrichedPlanDto> jobsGroupedById,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BambooSpecsManager bambooSpecsManager,
NotificationManager notificationManager,
BuildDefinitionManager buildDefinitionManager) |
PlansState(Iterable<? extends ImmutableChain> chainCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanBranchCacheIndexer.index(@NotNull ImmutableChain chain) |
void |
PlanCacheIndicesImpl.index(@NotNull ImmutableChain plan) |
void |
PlanRepositoryIndexer.index(@NotNull ImmutableChain chain) |
void |
PlanIdCacheIndexer.index(@NotNull ImmutableChain chain) |
void |
PlanCacheIndexer.index(@NotNull ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
UniqueRunPerKeyPlanExecutionPermitter.isPermittedToExecuteImpl(@NotNull ImmutableChain chain,
@Nullable PlanResultKey resultKey,
@NotNull ErrorCollection errorCollection) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<VcsPullRequest> |
PullRequestDetectionServiceImpl.getOpenPullRequests(@NotNull ImmutableChain chain,
@NotNull VcsRepositoryData planRepositoryDefinition) |
@NotNull List<VcsPullRequest> |
PullRequestDetectionService.getOpenPullRequests(@NotNull ImmutableChain chain,
@NotNull VcsRepositoryData planRepositoryDefinition)
Returns a list of currently open pull requests for the chain's default repository
List ordering determined by underlying repository (preference is for native ordering e.g.
|
boolean |
PullRequestDetectionServiceImpl.schedulePullRequestDetectionForChain(@NotNull ImmutableChain chain) |
boolean |
PullRequestDetectionService.schedulePullRequestDetectionForChain(@NotNull ImmutableChain chain)
Registers PR detection request for a given Chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BitbucketBuildStatusUpdater.isPlanRelevant(@NotNull ImmutableChain immutableChain) |
| Modifier and Type | Method and Description |
|---|---|
static Function<io.atlassian.fugue.Pair<ImmutableChain,ChainResultsSummary>,PlanSummary> |
PlanSummary.createPlanSummary(@NotNull ArtifactLinkManager artifactLinkManager,
@NotNull CustomVariableContext customVariableContext,
@NotNull Map<PlanResultKey,PlanResultKey> buildFixesBuildMap,
@NotNull String baseUrl) |
| Constructor and Description |
|---|
PlanSummary(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull ArtifactLinkManager artifactLinkManager,
@NotNull CustomVariableContext customVariableContext,
@NotNull Map<PlanResultKey,PlanResultKey> buildFixesBuildMap,
@NotNull String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MavenFunctions.planHasAutomaticDependencyManagementEnabled(ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ImmutableJob |
MavenDependencyHelper.findDependencyProviderJob(@NotNull ImmutableChain chain)
Search for a Job that could be a Maven dependencies provider (uses a MavenDependenciesProcessor task)
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull RestPlanConfig |
PlanConversionFunction.apply(@NotNull ImmutableChain plan,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
PlanRestService.getChainByKey(@NotNull PlanKey planKey)
Returns a
Plan if plan exists and is visible for calling user |
@NotNull ImmutableChain |
PlanRestServiceImpl.getChainByKey(@NotNull PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BitbucketServerBuildStatusUpdater.isPlanRelevant(@NotNull ImmutableChain immutableChain) |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<ImmutableChain> |
StashRepositoryPredicates.branchMonitoringConfigurationMatchesBranchName(@NotNull String vcsBranchName)
Predicate that is fulfilled when plan has automatic branch management enabled
|
static Predicate<ImmutableChain> |
StashRepositoryPredicates.defaultRepositoryMatchesQuery(@NotNull CustomVariableContext customVariableContext,
@NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory applinkStashClientFactory,
PlanRepositoryIndex.Query query)
Predicate that is fulfilled when chain has default repository matching query.
|
| Modifier and Type | Method and Description |
|---|---|
static Predicate<Project> |
ProjectPredicates.withPlansThat(@NotNull CachedPlanManager cachedPlanManager,
Predicate<? super ImmutableChain> planFilter)
Returns predicate that filters project containing plans that match given plan predicate.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImmutableChain |
BuildResultsSummaryImpl.getImmutableChain() |
@NotNull ImmutableChain |
ImmutableResultsSummary.getImmutableChain()
Gets the
ImmutableChain that this result belongs to (directly or not) |
| Modifier and Type | Method and Description |
|---|---|
int |
TestCaseHibernateDao.countCurrentlyQuarantinedTests(ImmutableChain chain) |
int |
TestQuarantineManagerImpl.countCurrentlyQuarantinedTests(ImmutableChain chain) |
int |
TestCaseDao.countCurrentlyQuarantinedTests(ImmutableChain chain) |
int |
TestQuarantineManager.countCurrentlyQuarantinedTests(ImmutableChain chain)
Returns the number of tests current qurantined for this plan
|
@NotNull List<TestCase> |
TestQuarantineManagerImpl.getCurrentlyQuarantinedTests(@NotNull ImmutableChain chain) |
@NotNull List<TestCase> |
TestQuarantineManager.getCurrentlyQuarantinedTests(@NotNull ImmutableChain chain)
Get a list of
TestCase of all the tests currently quarantined for a given plan |
@NotNull List<TestCase> |
TestCaseHibernateDao.getQuarantinedTestCasesForChain(@NotNull ImmutableChain chain) |
@NotNull List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForChain(@NotNull ImmutableChain chain)
Provide a list of the quarantined tests for a job
|
| Modifier and Type | Method and Description |
|---|---|
TagBuildAction |
TagBuildActionFactoryImpl.createTagBuildAction(ImmutableChain chain,
TagAndRevision tag) |
| Modifier and Type | Method and Description |
|---|---|
void |
CronTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
void |
CronTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
AfterSuccessfulPlanTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulPlanTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
void |
AfterSuccessfulStageTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImmutableChain> |
Comparators.getTopLevelPlanNameProviderCaseInsensitiveOrdering() |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<PlanRepositoryDefinition> |
BambooPredicates.isChainTrigger(@NotNull ImmutableChain chain,
@Nullable Set<Long> triggeringRepositories) |
| Modifier and Type | Field and Description |
|---|---|
protected ImmutableChain |
AbstractDependentDetectionAction.chain |
protected ImmutableChain |
AbstractDependentDetectionAction.parentChain |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
TagBuildAction.getChain() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BuildChanges |
DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision) |
@NotNull BuildChanges |
ChangeDetectionManager.collectAllChangesSinceLastBuild(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision)
Collect changes for a plan since the last build, regardless of whether the build triggering repositories have
changes or not.
|
@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. |
@NotNull BuildChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable Set<Long> triggeringRepositories) |
@NotNull BuildChanges |
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable Set<Long> triggeringRepositories)
Collect changes for a plan since the last build.
|
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) |
void |
DefaultChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
void |
ChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
| Constructor and Description |
|---|
AbstractDependentDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext,
ErrorUpdateHandler errorUpdateHandler,
TriggerManager triggerManager,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildLoggerManager buildLoggerManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildContextBuilderFactory buildContextBuilderFactory,
CustomVariableContext customVariableContext,
VcsRepositoryManager vcsRepositoryManager) |
ContinuedBuildDetectionAction(ImmutableChain chain,
@NotNull PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
TriggerReason triggerReason,
Map<String,String> params,
Map<String,String> variables,
ErrorUpdateHandler errorUpdateHandler,
ResultsSummaryManager resultsSummaryManager,
TriggerManager triggerManager,
BranchIntegrationService branchIntegrationService,
BuildContextBuilderFactory buildContextBuilderFactory,
ResultsSummaryVariableAccessor resultsSummaryVariableAccessor,
VcsRepositoryManager vcsRepositoryManager) |
DependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext,
ErrorUpdateHandler errorUpdateHandler,
TriggerManager triggerManager,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildLoggerManager buildLoggerManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildContextBuilderFactory buildContextBuilderFactory,
CustomVariableContext customVariableContext,
VcsRepositoryManager vcsRepositoryManager) |
ManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
@Nullable PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables,
BuildNumberGeneratorService buildNumberGenerator,
ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
VariableDefinitionManager variableDefinitionManager,
BuildContextBuilderFactory buildContextBuilderFactory) |
PluginTriggerBuildDetectionAction(@NotNull PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
@NotNull BuildNumberGeneratorService buildNumberGenerator,
@NotNull VariableDefinitionManager variableDefinitionManager,
@NotNull BuildContextBuilderFactory buildContextBuilderFactory,
@NotNull ImmutableChain chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull TriggerReason triggerReason,
@NotNull PlanTrigger buildTrigger,
@NotNull Map<String,String> params,
@NotNull Map<String,String> variables) |
ScheduledBuildDetectionAction(@NotNull ChangeDetectionManager changeDetectionManager,
@NotNull TriggerManager triggerManager,
@NotNull BuildNumberGeneratorService buildNumberGenerator,
@NotNull BuildLoggerManager buildLoggerManager,
@NotNull ImmutableChain chain,
@NotNull Map<String,String> triggerConditionsConfiguration,
@NotNull Map<String,String> triggerConfiguration,
@NotNull BuildContextBuilderFactory buildContextBuilderFactory) |
TagBuildAction(ImmutableChain chain,
TagAndRevision tagAndRevision,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildContextBuilderFactory buildContextBuilderFactory,
BuildLoggerManager buildLoggerManager,
TriggerManager triggerManager) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationFunction |
ValidationFunctionFactoryImpl.isJobKeyFromChain(@NotNull ImmutableChain chain) |
@NotNull ValidationFunction |
ValidationFunctionFactory.isJobKeyFromChain(@NotNull ImmutableChain chain)
Validation function that verifies if a job key belongs to a specific
ImmutableChain. |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends ImmutableChain> |
StarterAction.filterPlansByLabel(List<T> plans,
List<String> theLabelNames) |
protected <T extends ImmutableChain> |
StarterAction.getPlansWithCheckProjectPermissionFirst(Class<T> clazz)
Optimized version of
FilteringPlanManager.getPlans() |
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableChain> |
StarterAction.getChains() |
Collection<ImmutableChain> |
StarterAction.getFavouriteBuilds() |
Collection<? extends ImmutableChain> |
ViewTelemetryAction.getFilteredBuilds() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StarterAction.isFavourite(ImmutableChain plan) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ImmutableChain |
BambooActionSupport.getPlan(String planKey) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
ChainActionSupport.getImmutableChain() |
ImmutableChain |
ChainAwareContextHolder.getImmutableChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainActionSupport.setChain(ImmutableChain chain) |
void |
ChainAwareContextHolder.setChain(ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ImmutableChain> |
CreateJob.getChainsToClone() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ImmutableChain> |
ViewProjectPlans.getProjectChains() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
ChainAware.getImmutableChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainAware.setChain(ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
DecoratedNavObjectFactory.getSubstitutedBranchName(@NotNull ImmutableChain chain)
Gets the branch name from the default repository if the chain has one.
|
@Nullable String |
DecoratedNavObjectFactoryImpl.getSubstitutedBranchName(@NotNull ImmutableChain chain) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.