Modifier and Type | Method and Description |
---|---|
Collection<ErrorDetails> |
Bamboo.getErrorMessages(@NotNull PlanKey planKey)
Deprecated.
since 5.10
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
AgentConsoleAction.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
void |
AgentConsoleAction.setPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
void |
CommonContextHelperServiceImpl.addPlanInformation(CommonContext context,
PlanKey planKey) |
void |
CommonContextHelperService.addPlanInformation(CommonContext context,
PlanKey planKey) |
List<MutableArtifact> |
ArtifactHibernateDao.findPlanArtifactsReferencedByVersion(@NotNull PlanKey planKey) |
List<MutableArtifact> |
ArtifactDao.findPlanArtifactsReferencedByVersion(@NotNull PlanKey planKey)
Find all artifacts that belong to a plan are part of a deployment version.
|
void |
ArtifactHibernateDao.removeByPlanKey(@NotNull PlanKey planKey) |
void |
ArtifactDao.removeByPlanKey(@NotNull PlanKey planKey)
Remove all artifacts that belong to a plan and are not part of a deployment version.
|
void |
ArtifactHibernateDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
ArtifactHibernateDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
ArtifactDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in Artifact entities when plan key has changed (ie after moving plan)
|
void |
ArtifactDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in Artifact entities when plan key has changed (ie after moving plan)
|
Constructor and Description |
---|
UserRespAddedEvent(Object source,
PlanKey buildKey,
String userResponsible,
@Nullable String userWhoUpdated,
@NotNull TrackingEntry trackingEntry) |
UserResponsibilityEvent(Object source,
PlanKey buildKey,
String userResponsible,
@Nullable String userWhoUpdated,
@NotNull TrackingEntry trackingEntry) |
UserRespRemovedEvent(Object source,
PlanKey buildKey,
String userResponsible,
@Nullable String userWhoUpdated,
TrackingEntry trackingEntry) |
Modifier and Type | Method and Description |
---|---|
void |
StopBuildManager.cancelAllBuilds(@NotNull PlanKey planKey,
boolean abandonResult)
Will stop all builds running for plan identified by
PlanKey |
void |
DefaultStopBuildManager.cancelAllBuilds(@NotNull PlanKey planKey,
boolean abandonResult) |
@NotNull PlanBranchPullRequest |
PlanBranchPullRequestServiceImpl.create(@NotNull PlanKey branchKey,
long pullRequestId) |
@NotNull PlanBranchPullRequest |
PlanBranchPullRequestService.create(@NotNull PlanKey branchKey,
long pullRequestId)
Creates a new link between chain branch and pull request.
|
boolean |
PlanBranchPullRequestDaoImpl.deleteForChainBranch(@NotNull PlanKey planKey) |
boolean |
PlanBranchPullRequestServiceImpl.deleteForChainBranch(@NotNull PlanKey branchKey) |
boolean |
PlanBranchPullRequestService.deleteForChainBranch(@NotNull PlanKey branchKey)
Deletes a link for the given plan branch.
|
boolean |
PlanBranchPullRequestDao.deleteForChainBranch(@NotNull PlanKey branchKey) |
@NotNull Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDaoImpl.findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId) |
@NotNull Optional<PlanBranchPullRequest> |
PlanBranchPullRequestServiceImpl.findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId) |
@NotNull Optional<PlanBranchPullRequest> |
PlanBranchPullRequestService.findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId)
|
@NotNull Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDao.findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDaoImpl.findForChainBranch(@NotNull PlanKey branchKey) |
@NotNull Optional<PlanBranchPullRequest> |
PlanBranchPullRequestServiceImpl.findForChainBranch(@NotNull PlanKey branchKey) |
@NotNull Optional<PlanBranchPullRequest> |
PlanBranchPullRequestService.findForChainBranch(@NotNull PlanKey branchKey)
Retrieves a
PlanBranchPullRequest connection for the given plan branch by branch key. |
@NotNull Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDao.findForChainBranch(@NotNull PlanKey branchKey) |
@NotNull List<LinkedJiraIssue> |
JiraIssueResultsManagerImpl.findJiraIssuesForPlanKey(@NotNull PlanKey planKey) |
@NotNull List<LinkedJiraIssue> |
JiraIssueResultsManager.findJiraIssuesForPlanKey(@NotNull PlanKey planKey)
Finds a list of jira issues linked to a particular build key
|
@NotNull BuildDefinition |
DefaultBuildDefinitionManagerTx.getBuildDefinition(@NotNull PlanKey planKey) |
@NotNull BuildDefinition |
DefaultBuildDefinitionManager.getBuildDefinition(@NotNull PlanKey planKey) |
@NotNull BuildDefinition |
BuildDefinitionManager.getBuildDefinition(@NotNull PlanKey planKey)
Returns a stateful version the build definition for the
Plan . |
Iterable<CurrentlyBuilding> |
DefaultBuildExecutionManager.getCurrentlyExecuting(PlanKey planKey) |
Iterable<CurrentlyBuilding> |
BuildExecutionManager.getCurrentlyExecuting(PlanKey planKey) |
@NotNull BuildDefinition |
DefaultBuildDefinitionManagerTx.getUnmergedBuildDefinition(@NotNull PlanKey planKey) |
@NotNull BuildDefinition |
DefaultBuildDefinitionManager.getUnmergedBuildDefinition(@NotNull PlanKey planKey) |
BuildDefinition |
BuildDefinitionManager.getUnmergedBuildDefinition(@NotNull PlanKey planKey)
Returns a stateful version the build definition for the
Plan . |
void |
BuildLoggerManager.removeBuildLogger(PlanKey planKey)
Removes plan logger for given plan key.
|
Constructor and Description |
---|
BuildStatusHelper(@Nullable ImmutableBuildable buildable,
@NotNull PlanKey planKey,
int buildNumber,
@NotNull ResultsSummaryManager resultsSummaryManager) |
BuildStatusHelper(@Nullable ImmutablePlan plan,
@NotNull PlanKey planKey,
@NotNull ResultsSummary currentBuildResult,
@NotNull ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractArtifactManager.removeArtifactsFromStorage(@NotNull PlanKey planKey) |
void |
LocalArtifactManager.removeArtifactsFromStorage(@NotNull PlanKey planKey) |
void |
ArtifactManager.removeArtifactsFromStorage(@NotNull PlanKey planKey)
Removes artifact files for all results of a single.
|
void |
AbstractLocalArtifactHandler.removeArtifactsFromStorage(@NotNull PlanKey planKey,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
ArtifactHandler.removeArtifactsFromStorage(@NotNull PlanKey planKey,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider)
Removes artifact files for all results of a single.
|
void |
ArtifactHandlerDecoratorSupport.removeArtifactsFromStorage(@NotNull PlanKey planKey,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
S3ArtifactHandler.removeArtifactsFromStorage(@NotNull PlanKey planKey,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
BambooRemoteArtifactHandler.removeArtifactsFromStorage(@NotNull PlanKey planKey,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
Modifier and Type | Method and Description |
---|---|
static @NotNull PlanKey |
ChainParamMapHelper.getChainKey(@NotNull ActionParametersMap params) |
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
JobCreationServiceImpl.createJobAndBranches(@NotNull BuildConfiguration buildConfiguration,
@NotNull ActionParametersMap actionParametersMap,
@NotNull PlanCreationService.EnablePlan enabled) |
List<PlanKey> |
JobCreationService.createJobAndBranches(@NotNull BuildConfiguration buildConfiguration,
@NotNull ActionParametersMap actionParametersMap,
@NotNull PlanCreationService.EnablePlan ifPlanEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
ChainBranchCreationServiceImpl.triggerCreationCompleteEvents(PlanKey planKey) |
void |
ChainCreationServiceImpl.triggerCreationCompleteEvents(PlanKey planKey) |
abstract void |
PlanCreationTemplate.triggerCreationCompleteEvents(PlanKey planKey)
Trigger the appropriate events after the plan has been saved successfully
Calling this method is responsibility of class using this template.
|
void |
JobCreationServiceImpl.triggerCreationCompleteEvents(PlanKey planKey) |
void |
PlanCreationService.triggerCreationCompleteEvents(PlanKey planKey)
Trigger the appropriate events after the plan has been saved successfully
Calling this method is responsibility of class using this service.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBuildLoggerManager.removeBuildLogger(PlanKey planKey) |
Constructor and Description |
---|
FailurePeriod(PlanKey planKey,
int lastRanBuildNumber) |
Modifier and Type | Method and Description |
---|---|
int |
TimeAgoBuildResultsFilter.getFromBuildNumber(@NotNull PlanKey planKey) |
int |
Latest25FiveBuildResultsFilter.getFromBuildNumber(@NotNull PlanKey planKey) |
int |
AllBuildResultsFilter.getFromBuildNumber(@NotNull PlanKey planKey) |
int |
BuildResultsFilter.getFromBuildNumber(@NotNull PlanKey planKey)
The build number (inclusive) that extrenal callers can use to filter for a given plan.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
PlansGreenConditionValidator.validatePlans(List<PlanKey> plans) |
List<String> |
PlansGreenConditionValidatorImpl.validatePlans(List<PlanKey> plans) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Multimap<PlanKey,Long> |
ChainStageTuple.groupByPlanKey(List<ChainStageTuple> list) |
Modifier and Type | Method and Description |
---|---|
@NotNull List<ChainExecution> |
ChainExecutionManagerImpl.getExecutingChains(@NotNull PlanKey planKey) |
@NotNull List<ChainExecution> |
ChainExecutionAccessor.getExecutingChains(@NotNull PlanKey planKey)
Get the Collection of the state of the ChainExecution or empty collection when no chain is executing
|
boolean |
ChainExecutionManagerImpl.isActive(@NotNull PlanKey planKey) |
boolean |
ChainExecutionAccessor.isActive(@NotNull PlanKey planKey)
Checks if the
Chain is "active" ie being queued, or building |
boolean |
ChainExecutionManagerImpl.isExecuting(@NotNull PlanKey planKey) |
boolean |
ChainExecutionAccessor.isExecuting(@NotNull PlanKey planKey)
Checks if the Chain is building
|
int |
ChainExecutionManagerImpl.numberOfChainsExecuting(@NotNull PlanKey planKey) |
int |
ChainExecutionAccessor.numberOfChainsExecuting(@NotNull PlanKey planKey)
Determines the number of
ChainExecution s are active for the given PlanKey |
void |
ChainExecutionManagerImpl.stop(@NotNull PlanKey planKey) |
void |
ChainExecutionManager.stop(@NotNull PlanKey planKey)
|
Constructor and Description |
---|
ChainStageTuple(Long stageId,
PlanKey planKey,
Long masterPlanId) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
ChainMovedEvent.getNewPlanKey() |
PlanKey |
ChainMovingEvent.getNewPlanKey() |
PlanKey |
ChainMovedEvent.getOriginalPlanKey() |
PlanKey |
ChainMovingEvent.getOriginalPlanKey() |
Constructor and Description |
---|
ChainMovedEvent(@NotNull Object source,
@NotNull PlanKey originalPlanKey,
PlanKey newPlanKey) |
ChainMovedEvent(@NotNull Object source,
@NotNull PlanKey originalPlanKey,
PlanKey newPlanKey) |
ChainMovingEvent(@NotNull Object source,
@NotNull PlanKey originalPlanKey,
PlanKey newPlanKey) |
ChainMovingEvent(@NotNull Object source,
@NotNull PlanKey originalPlanKey,
PlanKey newPlanKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull String |
ViewCloverCoverageSummary.getJobName(PlanKey jobResultKey)
Returns name of the specified job using the
CachedPlanManager . |
Modifier and Type | Method and Description |
---|---|
void |
CloverBuildProcessor.customizeBuildRequirements(@NotNull PlanKey planKey,
@NotNull BuildConfiguration buildConfiguration,
@NotNull RequirementSet requirementSet)
This part is executed on server as a part of UI configuration.
|
Modifier and Type | Method and Description |
---|---|
@NotNull List<Comment> |
CommentHibernateDao.getCommentsForBuildResults(@NotNull PlanKey planKey) |
@NotNull List<Comment> |
CommentManagerImpl.getCommentsForBuildResults(@NotNull PlanKey planKey) |
@NotNull List<Comment> |
CommentManager.getCommentsForBuildResults(@NotNull PlanKey planKey)
Get all comments associated with Plan's build results
|
@NotNull List<Comment> |
CommentDao.getCommentsForBuildResults(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanConfigImportService.ImportResult |
PlanConfigImportServiceImpl.switchToLightweightBranch(@NotNull PlanKey planBranchKey) |
@NotNull PlanConfigImportService.ImportResult |
PlanConfigImportService.switchToLightweightBranch(@NotNull PlanKey planBranchKey)
Convert a divergent branch to a lightweight branch.
|
Modifier and Type | Method and Description |
---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporterImpl.exportBranchIntegrationConfiguration(@NotNull BranchIntegrationConfiguration branchIntegrationConfiguration,
@NotNull PlanKey chainKey,
@NotNull PlanBranchWorkflow planBranchWorkflow) |
@NotNull com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporter.exportBranchIntegrationConfiguration(@NotNull BranchIntegrationConfiguration branchIntegrationConfiguration,
@NotNull PlanKey chainKey,
@NotNull PlanBranchWorkflow planBranchWorkflow)
Exports branch merging configuration to properties
|
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
DivergentBranchDataBean.getPlanBranchKey() |
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 |
---|---|
Collection<ErrorDetails> |
BambooContainer.getErrorMessages(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static <V,E extends Throwable> |
ScopedExclusionServiceHelper.withLockedChain(ScopedExclusionService exclusionService,
PlanKey planKey,
ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
Executes the function while holding an exclusive lock on planKey interpreted as chain key.
|
static <V,E extends Throwable> |
ScopedExclusionServiceHelper.withLockedJob(ScopedExclusionService exclusionService,
PlanKey planKey,
ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
Executes the function while holding an exclusive lock on planKey interpreted as job key.
|
Modifier and Type | Method and Description |
---|---|
static <V,E extends Throwable> |
ScopedExclusionServiceHelper.withLockedChain(ScopedExclusionService exclusionService,
PlanKey planKey,
ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
Executes the function while holding an exclusive lock on planKey interpreted as chain key.
|
static <V,E extends Throwable> |
ScopedExclusionServiceHelper.withLockedJob(ScopedExclusionService exclusionService,
PlanKey planKey,
ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
Executes the function while holding an exclusive lock on planKey interpreted as job key.
|
Modifier and Type | Method and Description |
---|---|
Set<PlanKey> |
DeletionServiceImpl.deletePlans(Iterable<String> planKeys) |
Set<PlanKey> |
DeletionService.deletePlans(Iterable<String> planKeys) |
Set<PlanKey> |
DeletionServiceImpl.deleteProjects(Iterable<String> projectKeys) |
Set<PlanKey> |
DeletionService.deleteProjects(Iterable<String> projectKeys) |
Modifier and Type | Method and Description |
---|---|
static InternalDeploymentProject |
DeploymentMocks.mockDeploymentProject(long id,
@NotNull String name,
@Nullable String description,
@Nullable PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheService.getPlanAndBranchesRelatedDeployments(@NotNull PlanKey masterOrBranchKey)
Retrieve list of deployment projects associated with any of the branches in the plan
|
@NotNull List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheServiceImpl.getPlanAndBranchesRelatedDeployments(@NotNull PlanKey masterOrBranchKey) |
@NotNull List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheService.getRelatedDeployments(@NotNull PlanKey planKey) |
@NotNull List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheServiceImpl.getRelatedDeployments(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
EnvironmentTriggerService.getCalculatedTriggeringPlanKey(@NotNull InternalEnvironment environment,
@NotNull DeploymentTriggerBranchSelectionMode branchSelectionMode,
@Nullable PlanKey customBranchKey) |
@Nullable PlanKey |
EnvironmentTriggerServiceImpl.getCalculatedTriggeringPlanKey(@NotNull InternalEnvironment environment,
@NotNull DeploymentTriggerBranchSelectionMode branchSelectionMode,
@Nullable PlanKey customBranchKey) |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
EnvironmentTriggerService.getCalculatedTriggeringPlanKey(@NotNull InternalEnvironment environment,
@NotNull DeploymentTriggerBranchSelectionMode branchSelectionMode,
@Nullable PlanKey customBranchKey) |
@Nullable PlanKey |
EnvironmentTriggerServiceImpl.getCalculatedTriggeringPlanKey(@NotNull InternalEnvironment environment,
@NotNull DeploymentTriggerBranchSelectionMode branchSelectionMode,
@Nullable PlanKey customBranchKey) |
void |
EnvironmentService.updatePlanKey(long deploymentProjectId,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in Environment related configuration when plan key has changed (ie after moving plan).
|
void |
EnvironmentService.updatePlanKey(long deploymentProjectId,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in Environment related configuration when plan key has changed (ie after moving plan).
|
void |
EnvironmentServiceImpl.updatePlanKey(long deploymentProjectId,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
EnvironmentServiceImpl.updatePlanKey(long deploymentProjectId,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
PlanAwareEnvironmentTriggerConfigurator.isAffectedByPlanDeletion(@NotNull PlanKey deletedPlanKey,
@NotNull TriggerDefinition triggerDefinition)
Check if trigger will be affected when Plan is deleted.
|
boolean |
PlanAwareEnvironmentTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition)
Change plan key referenced by a trigger.
|
boolean |
PlanAwareEnvironmentTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition)
Change plan key referenced by a trigger.
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
ExecuteManualDeployment.getMasterPlanKey() |
Modifier and Type | Method and Description |
---|---|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey)
Deprecated.
since 5.10
|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey) |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey,
@NotNull Map<String,String> triggerConfiguration)
Creates
EnvironmentTriggeringAction used during scheduled execution of Environment. |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey,
@NotNull Map<String,String> triggerConfiguration) |
Constructor and Description |
---|
ScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey,
DeploymentExecutionService deploymentExecutionService,
DeploymentVersionService deploymentVersionService,
DeploymentProjectService deploymentProjectService,
CachedPlanManager cachedPlanManager,
TriggerManager triggerManager,
ResultsSummaryManager resultsSummaryManager,
DeploymentResultService deploymentResultService,
Map<String,String> triggerConfiguration) |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
DeploymentProjectIdentifier.getPlanKey() |
@Nullable PlanKey |
InternalDeploymentProject.getPlanKey() |
PlanKey |
DeploymentProjectImpl.getPlanKey() |
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<MutableDeploymentProjectImpl,PlanKey> |
MutableDeploymentProjectImpl_.planKey |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
MutableDeploymentProjectImpl.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
@NotNull List<MutableDeploymentProject> |
DeploymentProjectDao.getDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey)
Get DeploymentProjects linked to Plan with planKey.
|
@NotNull List<MutableDeploymentProject> |
DeploymentProjectDaoImpl.getDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey) |
void |
MutableDeploymentProject.setPlanKey(@Nullable PlanKey planKey) |
void |
MutableDeploymentProjectImpl.setPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull List<DeploymentProject> |
DeploymentProjectService.getDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey)
Retrieve the deployment projects that are linked to a specific plan
|
@NotNull List<DeploymentProject> |
DeploymentProjectServiceImpl.getDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey) |
@NotNull List<DeploymentProject> |
DeploymentProjectService.getDeploymentProjectsRelatedToPlanConfiguration(@NotNull PlanKey masterOrBranchPlanKey)
Retrieve the deployment projects that are linked to a specific plan configuration, taking branch divergency into account.
|
@NotNull List<DeploymentProject> |
DeploymentProjectServiceImpl.getDeploymentProjectsRelatedToPlanConfiguration(@NotNull PlanKey masterOrBranchPlanKey) |
@NotNull List<DeploymentProject> |
DeploymentProjectService.getDeploymentProjectsRelatedToPlanOrBranches(@NotNull PlanKey masterOrBranchPlanKey)
Retrieve the deployment projects that are linked to a specific plan or any of its branches.
|
@NotNull List<DeploymentProject> |
DeploymentProjectServiceImpl.getDeploymentProjectsRelatedToPlanOrBranches(@NotNull PlanKey masterOrBranchPlanKey) |
@NotNull List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectService.getDeploymentProjectsWithStatusesRelatedToPlan(@NotNull PlanKey planKey)
Retrieve the deployment projects that are linked to a specific plan.
|
@NotNull List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectServiceImpl.getDeploymentProjectsWithStatusesRelatedToPlan(@NotNull PlanKey planKey) |
@NotNull List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectService.getDeploymentProjectsWithStatusesRelatedToPlanOrBranches(@NotNull PlanKey masterOrBranchPlanKey)
Retrieve the deployment projects that are linked to a specific plan or any of its branches.
|
@NotNull List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectServiceImpl.getDeploymentProjectsWithStatusesRelatedToPlanOrBranches(@NotNull PlanKey masterOrBranchPlanKey) |
void |
DeploymentProjectService.resetTriggers(@NotNull PlanKey planKey)
Delete and recreate the triggers for every deployment that's related to this planKey.
|
void |
DeploymentProjectServiceImpl.resetTriggers(@NotNull PlanKey planKey) |
void |
DeploymentProjectService.unlinkDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey)
Remove all references to a
Plan from all related deployment projects. |
void |
DeploymentProjectServiceImpl.unlinkDeploymentProjectsRelatedToPlan(@NotNull PlanKey planKey) |
void |
DeploymentProjectService.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentProject when plan key has changed (ie after moving plan).
|
void |
DeploymentProjectService.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentProject when plan key has changed (ie after moving plan).
|
void |
DeploymentProjectServiceImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
DeploymentProjectServiceImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
@NotNull ErrorCollection |
DeploymentProjectService.validateTriggerConfigurationOnPlanChange(long deploymentProjectId,
@NotNull PlanKey newPlanKey,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors)
Validate trigger configuration on deployment project's plan change
|
@NotNull ErrorCollection |
DeploymentProjectServiceImpl.validateTriggerConfigurationOnPlanChange(long deploymentProjectId,
@NotNull PlanKey newPlanKey,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors) |
Modifier and Type | Method and Description |
---|---|
protected @NotNull Pair<DeploymentVersion,PlanResultKey> |
AbstractCreateDeploymentVersion.getLatestVersionWithPlanResultKey(@NotNull PlanKey sourcePlanKey,
long deploymentProjectId) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersionSearchCriteria.Builder |
DeploymentVersionSearchCriteria.Builder.createdFromBranch(@NotNull PlanKey branchKey) |
@Nullable MutableDeploymentVersion |
DeploymentVersionDaoImpl.findLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey) |
@Nullable MutableDeploymentVersion |
DeploymentVersionDao.findLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey)
Find the latest version for a deployment project.
|
int |
DeploymentVersionDaoImpl.getVersionsCountForProjectAndBranch(long deploymentProjectId,
@NotNull PlanKey branchKey) |
int |
DeploymentVersionDao.getVersionsCountForProjectAndBranch(long deploymentProjectId,
@NotNull PlanKey branchKey)
Count versions related to deployment project and a specific plan branch
|
DeploymentVersionSearchCriteria.Builder |
DeploymentVersionSearchCriteria.Builder.notCreatedFromBranch(@NotNull PlanKey branchKey) |
void |
DeploymentVersionDaoImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
DeploymentVersionDaoImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
DeploymentVersionDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
void |
DeploymentVersionDao.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
Modifier and Type | Method and Description |
---|---|
@Nullable DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey)
Find the latest version for a deployment project.
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey) |
int |
DeploymentVersionService.getVersionsCountForProjectAndBranch(@NotNull long deploymentProjectId,
@NotNull PlanKey branchKey)
Count versions related to deployment project and a specified plan branch
|
int |
DeploymentVersionServiceImpl.getVersionsCountForProjectAndBranch(@NotNull long deploymentProjectId,
@NotNull PlanKey branchKey) |
boolean |
DeploymentVersionService.hasVersionsUnrelatedToBranch(long deploymentProjectId,
@NotNull PlanKey branchKey)
Test if there are
DeploymentVersion s in a DeploymentProject that are unrelated to given branch |
boolean |
DeploymentVersionServiceImpl.hasVersionsUnrelatedToBranch(long deploymentProjectId,
@NotNull PlanKey branchKey) |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranch(long deploymentProjectId,
@NotNull PlanKey branchKey)
Deprecated.
since 6.7 for performance reasons use
DeploymentVersionService.searchVersionsByBranchNoVariables(DeploymentProject, PlanKey) |
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranch(long deploymentProjectId,
@NotNull PlanKey branchKey) |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndName(long deploymentProjectId,
@NotNull PlanKey branchKey,
@NotNull String searchTerm)
Deprecated.
since 6.7 for performance reasons use
DeploymentVersionService.searchVersionsByNameNoVariables(DeploymentProject, String) |
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndName(long deploymentProjectId,
@NotNull PlanKey branchKey,
@NotNull String searchTerm) |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndNameNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey,
@NotNull String searchTerm)
Search for deployment versions in a project whose name contains the searchTerm and associated with a specific branch, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndNameNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey,
@NotNull String searchTerm) |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey)
Search for deployment versions in a project associated with a specific branch, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey) |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey,
int startIndex,
int maxResults)
Search for deployment versions in a project associated with a specific branch, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchNoVariables(@NotNull DeploymentProject deploymentProject,
@NotNull PlanKey branchKey,
int startIndex,
int maxResults) |
void |
DeploymentVersionService.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
void |
DeploymentVersionService.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
void |
DeploymentVersionServiceImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
void |
DeploymentVersionServiceImpl.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey) |
Modifier and Type | Field and Description |
---|---|
protected PlanKey |
ChainEvent.planKey |
Modifier and Type | Field and Description |
---|---|
Map<PlanKey,PlanKey> |
BuildsMovedEvent.planKeyChangesMap |
Map<PlanKey,PlanKey> |
BuildsMovedEvent.planKeyChangesMap |
Modifier and Type | Method and Description |
---|---|
PlanKey |
ResultsSummaryUpdatedEvent.getPlanKey() |
PlanKey |
NotificationAddedToPlanEvent.getPlanKey() |
PlanKey |
BuildEvent.getPlanKey()
Gets the
PlanKey |
@NotNull PlanKey |
ChainEvent.getPlanKey()
|
@NotNull PlanKey |
PlanSuspensionRequestedEvent.getPlanKey()
|
PlanKey |
PlanEvent.getPlanKey()
|
Modifier and Type | Method and Description |
---|---|
Map<PlanKey,PlanKey> |
BuildsMovedEvent.getPlanKeyChangesMap()
Gets the mapping between old and new plan keys.
|
Map<PlanKey,PlanKey> |
BuildsMovedEvent.getPlanKeyChangesMap()
Gets the mapping between old and new plan keys.
|
Iterable<PlanKey> |
MultipleJobsDeletedEvent.getPlanKeys() |
Constructor and Description |
---|
BuildConfigurationUpdatedEvent(Object source,
PlanKey planKey) |
BuildEvent(Object source,
PlanKey planKey) |
BuildRequirementUpdatedEvent(Object source,
PlanKey planKey) |
ChainBranchConfigUpdatedEvent(Object source,
PlanKey planKey,
@NotNull BranchMonitoringConfiguration branchMonitoringConfiguration) |
ChainCreatedEvent(Object source,
PlanKey planKey) |
ChainDeletedEvent(Object source,
PlanKey planKey,
long id,
Set<String> affectedJiraIssues) |
ChainEvent(Object source,
PlanKey chainKey) |
ChainUpdatedEvent(Object source,
PlanKey planKey) |
NotificationAddedToPlanEvent(PlanKey planKey,
String notificationRecipientType,
long notificationId) |
PlanFavouriteAddedEvent(Object source,
PlanKey chainKey,
com.atlassian.user.User user) |
PlanFavouriteEvent(Object source,
PlanKey chainKey,
com.atlassian.user.User user) |
PlanFavouriteRemovedEvent(Object source,
PlanKey chainKey,
com.atlassian.user.User user) |
PlanSuspensionRequestedEvent(Object source,
PlanKey chainKey,
String message) |
Constructor and Description |
---|
BuildsMovedEvent(Object object,
Map<PlanKey,PlanKey> planKeyChangesMap) |
BuildsMovedEvent(Object object,
Map<PlanKey,PlanKey> planKeyChangesMap) |
MultipleJobsDeletedEvent(Iterable<PlanKey> planKeys) |
Constructor and Description |
---|
PlanArtifactDefinitionAddedEvent(Object source,
@NotNull PlanKey chainKey,
@NotNull ArtifactDefinition artifactDefinition) |
PlanArtifactDefinitionEvent(Object source,
@NotNull PlanKey chainKey,
@NotNull ArtifactDefinition artifactDefinition) |
PlanArtifactDefinitionUpdatedEvent(Object source,
@NotNull PlanKey chainKey,
@NotNull ArtifactDefinition artifactDefinition) |
PlanSharedArtifactDefinitionListModified(Object source,
PlanKey chainKey,
Map<Long,ArtifactDefinition> sharedArtifacts) |
Constructor and Description |
---|
PlanBranchResetToLightweight(Object source,
PlanKey chainKey) |
PlansDefaultVcsRepositoryChanged(Object source,
PlanKey chainKey) |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.bamboo.specs.api.model.plan.PlanProperties |
ConfigImportTestUtils.exportPlan(BambooEnvironmentData bambooEnvironmentData,
PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static Map<PlanKey,ChainStorageTag> |
StorageTagUtils.gatherNeededStorageTags(@NotNull StorageTagService storageTagService,
@Nullable List<TaskDefinition> taskDefinitions,
@Nullable BuildIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
File |
ArtifactStorage.getArtifactDestinationDirectory(PlanKey planKey,
String version,
@Nullable ArtifactDefinitionContext artifact)
Deprecated.
|
File |
ArtifactStorage.getArtifactDirectory(PlanKey planKey)
Deprecated.
|
File |
ArtifactStorage.getArtifactRootDirectory(PlanKey planKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
UrlRewriteFilter.getPlanKey(String path) |
Modifier and Type | Method and Description |
---|---|
protected Set<PlanKey> |
BranchMetadataInvalidator.getAffectedPlanKeys(@NotNull com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
@NotNull PlanCacheIndices planCacheIndices) |
static Set<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
Modifier and Type | Method and Description |
---|---|
static Set<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
Modifier and Type | Method and Description |
---|---|
void |
JiraBranchLinkingServiceImpl.linkBranchToIssueIfRequiredAsync(@NotNull PlanKey planKey,
@Nullable String username) |
void |
JiraBranchLinkingService.linkBranchToIssueIfRequiredAsync(@NotNull PlanKey planKey,
@Nullable String username)
Looks for an issue key in the branch name.
|
Modifier and Type | Method and Description |
---|---|
int |
LabelManagerImpl.addLabel(@Nullable String labelName,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user) |
int |
LabelManager.addLabel(@Nullable String labelName,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user)
Creates a normal label for a plan
|
boolean |
LabelManagerImpl.addLabels(List<String> labelNames,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user) |
boolean |
LabelManager.addLabels(List<String> labelNames,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user)
Creates multiple normal labels for a plan
|
int |
LabelManagerImpl.removeLabel(@Nullable String labelName,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user) |
int |
LabelManager.removeLabel(@Nullable String labelName,
@Nullable PlanKey planKey,
@Nullable com.atlassian.user.User user)
Remove the standard label for a plan (not all the labels for that plan)
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
DecoratedErrorDetailsImpl.getParentPlanKey() |
Modifier and Type | Method and Description |
---|---|
static <T extends PlanIdentifier> |
BambooTestMatchers.hasPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static <T extends ResultDetails> |
TriggerReasonMatchers.triggeredByChild(PlanKey triggeringPlan) |
static <T extends ResultDetails> |
TriggerReasonMatchers.triggeredByParent(PlanKey triggeringPlan,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(org.hamcrest.Matcher<PlanKey> textMatcher) |
Constructor and Description |
---|
BuildResultKeyHolder(PlanKey planKey,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
static ArtifactDefinition |
BambooMocks.mockArtifactDefinition(long id,
String name,
String location,
String copyPattern,
boolean sharedArtifact,
PlanKey producerJobKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
RssAffectedPlan.getPlanKey() |
Constructor and Description |
---|
RssAffectedPlan(String projectName,
PlanKey planKey,
String planName,
boolean disabled) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanHelper.createBranch(@NotNull TestBuildDetails plan,
@NotNull String branchVcsName,
@NotNull String branchName)
Deprecated.
since 5.10, use
PlansControl.createBranch(PlanKey, String, String) |
PlanKey |
PlanHelper.createBranchManually(@NotNull TestBuildDetails plan,
@NotNull String branchVcsName,
@NotNull String branchName)
Deprecated.
since 5.10, use
PlansControl.createBranch(PlanKey, String, String) |
Modifier and Type | Method and Description |
---|---|
ResultSummaryPage |
PlanHelper.runPlanAndWaitForSuccessfulResult(@NotNull PlanKey planKey)
Deprecated.
since 5.9, use backdoor.plans().triggerBuildAndAwaitSuccess(PlanKey)
|
Modifier and Type | Method and Description |
---|---|
MovePlansPage |
MovePlansPage.withPlan(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanElement.getPlanKey() |
Constructor and Description |
---|
PlanBranchOverview(PlanKey planKey) |
PlanHistoryPage(PlanKey planKey) |
PlanSummaryPage(PlanKey planKey) |
QuarantinedTestsPage(PlanKey planKey) |
ResultSummaryPage(PlanKey planKey) |
ResultSummaryPage(PlanKey planKey,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
BranchConfigurationDetailsPage.getPlanKey() |
Constructor and Description |
---|
BranchConfigurationDetailsPage(PlanKey planKey)
Constructor used in .visit
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
CreatePlanDetailsComponent.getNewPlanKey() |
@Nullable PlanKey |
DependenciesConfigurationPage.PlanDependencyElement.getPlanKey() |
PlanKey |
VariableConfigurationPage.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
Iterable<PlanKey> |
DependenciesConfigurationPage.getChildPlanKeys() |
Modifier and Type | Method and Description |
---|---|
boolean |
RequirementDetailsPage.canBeRemovedFrom(PlanKey jobKey) |
StageConfigurationPage |
StageConfigurationPage.changePlanBranchToDivBranch(String planBranch,
PlanKey planBranchKey) |
BranchConfigurationDetailsPage |
AbstractBranchNavigatorPage.changePlanBranchToLightBranch(String planBranch,
PlanKey planBranchKey) |
RequirementDetailsPage |
RequirementDetailsPage.deleteFromJob(PlanKey jobKey)
delete requirement for a particular job
|
com.atlassian.pageobjects.elements.PageElement |
StageElement.getJobByKey(PlanKey key) |
boolean |
RequirementDetailsPage.hasRequirement(PlanKey jobKey) |
CreatePlanTasksPage |
CreatePlanRepositoryPage.submitNewPlan(@NotNull PlanKey jobKey) |
CreatePlanTasksPage |
CreatePlanRepositoryPage.submitNewPlanWithNoRepo(@NotNull PlanKey jobKey) |
Constructor and Description |
---|
ArtifactConfigurationPage(@NotNull PlanKey jobKey) |
AuditLogPage(@NotNull PlanKey planKey) |
BranchesConfigurationPage(PlanKey planKey) |
ConfigureJobDockerPage(PlanKey planKey) |
ConfigurePlanTriggersPage(PlanKey planKey) |
CreatePlanTasksPage(PlanKey planKey) |
DeletePlanPage(@NotNull PlanKey planKey) |
DependenciesConfigurationPage(@NotNull PlanKey planKey) |
EditPlanDetailsPage(PlanKey planKey) |
JobRequirementsConfigurationPage(PlanKey jobKey) |
JobTaskConfigurationPage(PlanKey jobKey) |
MiscellaneousConfigurationPage(PlanKey planKey) |
StageConfigurationPage(PlanKey planKey) |
StageElement(PlanKey planKey,
com.atlassian.pageobjects.elements.PageElement element) |
VariableConfigurationPage(PlanKey planKey) |
VariableConfigurationPage(PlanKey planKey,
boolean isBranch) |
Constructor and Description |
---|
ConfigureBranchNotificationsPage(@NotNull PlanKey branchPlanKey) |
ConfigurePlanNotificationsPage(@NotNull PlanKey planKey) |
Constructor and Description |
---|
ConfigurePlanPermissionsPage(PlanKey planKey) |
Constructor and Description |
---|
PlanRepositoryConfigurationPage(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanElement |
ProjectSummaryPage.getPlanByKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
AbstractTriggerComponent.getConditionPlans() |
Modifier and Type | Method and Description |
---|---|
CronTriggerComponent |
CronTriggerComponent.assertCustomSourceBranch(@NotNull PlanKey branchKey) |
AfterSuccessfulPlanTriggerComponent |
AfterSuccessfulPlanTriggerComponent.assertCustomTriggeringBranch(@NotNull PlanKey branchKey) |
Modifier and Type | Method and Description |
---|---|
AbstractTriggerComponent |
AbstractTriggerComponent.withConditionPlans(List<PlanKey> plans) |
Modifier and Type | Method and Description |
---|---|
void |
Persister.addBuildResults(PlanKey planKey,
BuildResults buildResults)
Associate the given buildResults with the given build.
|
void |
CachedBuildPersisterDecorator.deleteBuildResults(PlanKey planKey,
long buildNumber)
Remove a specific build build
|
void |
Persister.deleteBuildResults(PlanKey planKey,
long buildNumber)
Remove a specific build result MXL
|
void |
CachedBuildPersisterDecorator.saveBuildResults(PlanKey planKey,
BuildResults buildResults)
Simply pass this request onto the parent
|
Modifier and Type | Method and Description |
---|---|
void |
FileBasedPersister.addBuildResults(PlanKey planKey,
BuildResults buildResults) |
void |
XStreamBuildPersister.deleteBuildResults(PlanKey planKey,
long buildNumber)
Remove the build files for the given build buildNumber.
|
void |
BuildPersisterDecorator.deleteBuildResults(PlanKey planKey,
long buildNumber)
Remove a specific build result
|
void |
FileBasedPersister.deleteBuildResults(PlanKey planKey,
long buildNumber) |
void |
XStreamBuildPersister.saveBuildResults(PlanKey planKey,
BuildResults buildResults)
Save the build results
|
void |
BuildPersisterDecorator.saveBuildResults(PlanKey planKey,
BuildResults buildResults)
Save the given build's given buildResults
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<PlanKey,PlanKey> |
PlanKeys.CHAIN_KEY_FROM_JOB_KEY |
static com.google.common.base.Function<PlanKey,PlanKey> |
PlanKeys.CHAIN_KEY_FROM_JOB_KEY |
static com.google.common.base.Function<PlanKey,String> |
PlanKeys.PARTIAL_JOB_KEY_FROM_JOB_KEY |
static Comparator<PlanKey> |
PlanKeys.PLAN_KEY_COMPARATOR |
static javax.persistence.metamodel.SingularAttribute<AbstractPlan,PlanKey> |
AbstractPlan_.planKey |
static com.google.common.base.Function<PlanKey,String> |
PlanKeys.SHORT_KEY_FROM_PLAN_KEY |
Modifier and Type | Method and Description |
---|---|
static PlanKey |
PlanKeys.asDeletedPlanKey(@NotNull PlanKey planKey) |
static PlanKey |
PlanKeys.asNonDeletedPlanKey(@NotNull PlanKey planKey) |
PlanKey |
PlanKeyUserType.fromString(@NotNull String key) |
static @NotNull PlanKey |
PlanKeys.getChainKeyFromJobKey(@NotNull PlanKey jobKey)
|
static @Nullable PlanKey |
PlanKeys.getChainKeyIfJobKey(@NotNull PlanKey jobKey)
|
@Nullable PlanKey |
PlanStatusHistoryAction.getJobKey() |
static @NotNull PlanKey |
PlanKeys.getJobKey(@NotNull PlanKey chainPlanKey,
@NotNull String jobKey)
|
static @NotNull PlanKey |
PlanHelper.getMasterPlanKey(@NotNull ImmutablePlan plan)
Get planKey of master plan if plan has master or planKey of passed plan otherwise.
|
PlanKey |
PlanStatusHistoryAction.getPlanKey() |
@NotNull PlanKey |
AbstractPlan.getPlanKey() |
PlanKey |
PlanAwareContextImpl.getPlanKey() |
@NotNull PlanKey |
PlanIdentifierImpl.getPlanKey() |
@Nullable PlanKey |
TriggerableInternalKeyImpl.getPlanKey() |
@Nullable PlanKey |
PlanAwareContext.getPlanKey() |
@NotNull PlanKey |
PlanResultKey.getPlanKey()
Returns the key component of this
PlanResultKey |
@Nullable PlanKey |
PlanKeyProvider.getPlanKey() |
@NotNull PlanKey |
PlanIdentifier.getPlanKey()
|
static PlanKey |
PlanKeys.getPlanKey(com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier planIdentifier)
Creates a
PlanKey from PlanIdentifier |
static PlanKey |
PlanKeys.getPlanKey(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties planIdentifier)
Creates a
PlanKey from PlanIdentifierProperties |
static PlanKey |
PlanKeys.getPlanKey(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
Creates a
PlanKey from PlanProperties |
static @NotNull PlanKey |
PlanKeys.getPlanKey(@NotNull String planKey)
Creates a
PlanKey from its string form 'BAM-BOO' or from the result key form 'BAM-BOO-123' |
static PlanKey |
PlanKeys.getPlanKey(@NotNull String projectKey,
@NotNull String buildKey)
Creates a
PlanKey from project key and build key |
static PlanKey |
PlanKeys.getPlanKey(@NotNull String projectKey,
@Nullable String chainKey,
@NotNull String buildKey)
Creates a
PlanKey from project key, parent chain key and build key |
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(@NotNull PlanKey branchKey,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update plan key part in branch key
|
Modifier and Type | Method and Description |
---|---|
<T extends Plan> |
PlanHibernateDao.getPlanKeysPlanIdsMapping(@NotNull Class<T> aClass) |
<T extends Plan> |
PlanDao.getPlanKeysPlanIdsMapping(@NotNull Class<T> aClass) |
Map<PlanKey,PlanKey> |
MovePlansException.getSuccessfulPlanKeyChanges() |
Map<PlanKey,PlanKey> |
MovePlansException.getSuccessfulPlanKeyChanges() |
Map<PlanKey,PlanKey> |
MovePlanService.movePlansToProject(Collection<TopLevelPlan> plans,
Project project,
Map<String,String> planIdMappings,
Map<String,String> planKeyMappings,
Map<String,String> planNameMappings)
Moves a list of plans to a new project.
|
Map<PlanKey,PlanKey> |
MovePlanService.movePlansToProject(Collection<TopLevelPlan> plans,
Project project,
Map<String,String> planIdMappings,
Map<String,String> planKeyMappings,
Map<String,String> planNameMappings)
Moves a list of plans to a new project.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanParticleManagerImpl.adjustPlanParticles(@NotNull PlanKey planKey,
@NotNull Collection<? extends PlanParticle> consumedParticles,
@NotNull Collection<? extends PlanParticle> producedParticles) |
void |
PlanParticleManager.adjustPlanParticles(@NotNull PlanKey planKey,
@NotNull Collection<? extends PlanParticle> consumedParticles,
@NotNull Collection<? extends PlanParticle> producedParticles)
Adjust list of plan's consumed and produced particles.
|
static PlanKey |
PlanKeys.asDeletedPlanKey(@NotNull PlanKey planKey) |
static PlanKey |
PlanKeys.asNonDeletedPlanKey(@NotNull PlanKey planKey) |
int |
PlanKey.compareTo(PlanKey planKey) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forPlanKey(@NotNull PlanKey planKey) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forStageId(@NotNull PlanKey planKey,
long stageId) |
@NotNull Stream<ImmutableChainBranch> |
FilteringPlanManager.getBranchesOfChain(@NotNull PlanKey chainKey)
Get all feature branches associated with the given chain, unsorted
|
static @NotNull PlanKey |
PlanKeys.getChainKeyFromJobKey(@NotNull PlanKey jobKey)
|
static @Nullable PlanKey |
PlanKeys.getChainKeyIfJobKey(@NotNull PlanKey jobKey)
|
@NotNull Set<PlanKey> |
PlanParticleManagerImpl.getConsumersPlanKeys(@NotNull PlanKey planKey) |
@NotNull Set<PlanKey> |
PlanParticleManager.getConsumersPlanKeys(@NotNull PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
@NotNull List<CurrentlyBuilding> |
DelegatingPlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey) |
@NotNull List<CurrentlyBuilding> |
PlanExecutionManagerImpl.getCurrentlyBuildingForPlan(PlanKey planKey) |
@NotNull List<CurrentlyBuilding> |
PlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey)
|
@NotNull Collection<? extends ExecutionStatus> |
DelegatingPlanExecutionManager.getExecutionStatus(@NotNull PlanKey planKey) |
@NotNull Collection<? extends ExecutionStatus> |
ExecutionStatusProviderImpl.getExecutionStatus(@NotNull PlanKey planKey) |
@NotNull Collection<? extends ExecutionStatus> |
PlanExecutionManagerImpl.getExecutionStatus(@NotNull PlanKey planKey) |
@NotNull Collection<? extends ExecutionStatus> |
ExecutionStatusProvider.getExecutionStatus(@NotNull PlanKey planKey)
Returns a collection of current
ExecutionStatus s for PlanKey |
static @NotNull PlanKey |
PlanKeys.getJobKey(@NotNull PlanKey chainPlanKey,
@NotNull String jobKey)
|
@NotNull List<PlanKey> |
PlanHibernateDao.getJobKeys(@NotNull PlanKey chainKey) |
@NotNull List<PlanKey> |
PlanDao.getJobKeys(@NotNull PlanKey chainKey)
Return all plan keys of Jobs that belong to a Chain
|
static @NotNull Set<PlanKey> |
PlanHelper.getMasterAndBranchesKeys(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey masterOrBranchKey)
Get keys of all branches and master plan.
|
static Optional<Long> |
PlanKeys.getNumberSuffixFromBranch(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey)
Extract numerical branch suffix
|
static Optional<Long> |
PlanKeys.getNumberSuffixFromBranch(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey)
Extract numerical branch suffix
|
static String |
PlanKeys.getPartialJobKey(PlanKey jobKey)
Return a partial job key from a full job key, e.g.
|
@Nullable ImmutableChain |
PlanServiceImpl.getPlan(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
PlanService.getPlan(@NotNull PlanKey planKey)
Get an individual stage from a plan
|
Plan |
PlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey) |
@Nullable Plan |
PlanManager.getPlanByKey(@NotNull PlanKey planKey)
|
<T extends Plan> |
PlanHibernateDao.getPlanByKey(@NotNull PlanKey planKey,
Class<T> aClass) |
<T extends Plan> |
PlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey,
Class<T> planType) |
<T extends Plan> |
PlanDao.getPlanByKey(@NotNull PlanKey planKey,
Class<T> aClass)
Return a
Plan that matches the given key |
<T extends Plan> |
PlanManager.getPlanByKey(@NotNull PlanKey planKey,
Class<T> planType)
|
<T extends Plan> |
PlanManagerImpl.getPlanByKeyIfOfType(@NotNull PlanKey planKey,
@NotNull Class<T> planType) |
<T extends Plan> |
PlanManager.getPlanByKeyIfOfType(@NotNull PlanKey planKey,
@NotNull Class<T> planType)
|
<T extends Plan> |
PlanHibernateDao.getPlanByPartialKeyAndName(@NotNull PlanKey partialPlanKey,
@NotNull String planName,
Class<T> planType) |
<T extends Plan> |
PlanManagerImpl.getPlanByPartialKeyAndName(@NotNull PlanKey partialPlanKey,
@NotNull String planName,
Class<T> planType) |
<T extends Plan> |
PlanDao.getPlanByPartialKeyAndName(@NotNull PlanKey partialPlanKey,
@NotNull String planName,
Class<T> planType)
|
<T extends Plan> |
PlanManager.getPlanByPartialKeyAndName(@NotNull PlanKey partialPlanKey,
@NotNull String planName,
Class<T> planType)
Deprecated.
since 4.2
|
Class<? extends Plan> |
PlanHibernateDao.getPlanClass(@NotNull PlanKey planKey) |
Class<? extends Plan> |
PlanManagerImpl.getPlanClass(@NotNull PlanKey planKey) |
@Nullable Class<? extends Plan> |
PlanDao.getPlanClass(@NotNull PlanKey planKey) |
@Nullable Class<? extends Plan> |
PlanManager.getPlanClass(@NotNull PlanKey planKey) |
static @NotNull String |
PlanKeys.getPlanKeyPart(@NotNull PlanKey planKey)
Returns plan key part for given
PlanKey |
static @NotNull Set<PlanKey> |
PlanHelper.getPlanKeysOfBranchesSharingConfiguration(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey masterOrBranchKey)
Get keys of all branches (including master plan if applicable) that share the configuration.
|
static PlanResultKey |
PlanKeys.getPlanResultKey(PlanKey planKey,
int buildNumber)
Creates a
PlanResultKey from the given PlanKey and buildNumber |
@NotNull Set<PlanKey> |
PlanParticleManagerImpl.getProducersPlanKeys(@NotNull PlanKey planKey) |
@NotNull Set<PlanKey> |
PlanParticleManager.getProducersPlanKeys(@NotNull PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
static @NotNull String |
PlanKeys.getProjectKeyPart(@NotNull PlanKey planKey)
Returns project key part for given
PlanKey |
static String |
PlanKeys.getShortKeyFromPlanKey(PlanKey planKey)
Return a last part of the plan key, e.g PROJ-CHAIN would reduce CHAIN and PROJ-CHAIN-HOB would return JOB
|
static Predicate<PlanIdentifier> |
PlanPredicates.hasEqualPlanKey(@NotNull PlanKey planKey) |
static boolean |
PlanHelper.hasMultipleBranches(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey planKey) |
static boolean |
PlanHelper.haveTheSameMaster(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey masterOrBranchKeyA,
@NotNull PlanKey masterOrBranchKeyB) |
static boolean |
PlanHelper.haveTheSameMaster(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey masterOrBranchKeyA,
@NotNull PlanKey masterOrBranchKeyB) |
boolean |
DelegatingPlanExecutionManager.isBusy(@NotNull PlanKey planKey) |
boolean |
PlanExecutionManagerImpl.isBusy(@NotNull PlanKey planKey) |
boolean |
PlanExecutionManager.isBusy(@NotNull PlanKey planKey)
|
static boolean |
PlanKeys.isChainKey(@NotNull PlanKey planKey)
|
static boolean |
PlanKeys.isJobKey(@NotNull PlanKey planKey)
|
boolean |
PlanHibernateDao.isPlanKeyConflicting(@NotNull PlanKey planKey) |
boolean |
PlanManagerImpl.isPlanKeyConflicting(@NotNull PlanKey planKey) |
boolean |
PlanDao.isPlanKeyConflicting(@NotNull PlanKey planKey)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanManager.isPlanKeyConflicting(@NotNull PlanKey planKey)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanHibernateDao.isPlanKeyConflicting(@NotNull PlanKey planKey,
long idOfChainBeingVerified) |
boolean |
PlanManagerImpl.isPlanKeyConflicting(@NotNull PlanKey planKey,
long planIdToIgnore) |
boolean |
PlanDao.isPlanKeyConflicting(@NotNull PlanKey planKey,
long idOfChainBeingVerified)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanManager.isPlanKeyConflicting(@NotNull PlanKey planKey,
long planIdToIgnore)
Verifies whether a
Plan key is unique within whole Bamboo installation |
void |
PlanHibernateDao.markPlanForDeletion(PlanKey planKey) |
void |
PlanDao.markPlanForDeletion(PlanKey planKey)
Efficiently marks a plan to be deleted
|
void |
PlanManagerImpl.markPlansForDeletion(PlanKey planKey) |
void |
PlanManager.markPlansForDeletion(PlanKey planKey)
Efficiently marks a plan to be deleted
|
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(@NotNull CachedPlanManager cachedPlanManager,
@NotNull PlanKey planKey,
Class<T> planClass) |
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) |
static <T extends Plan> |
PlanTestHelper.mockPlan(@NotNull PlanDao planDao,
@NotNull PlanKey planKey,
Class<T> planClass) |
static <T extends Plan> |
PlanTestHelper.mockPlan(@NotNull PlanDao planDao,
@NotNull PlanKey planKey,
long id,
Class<T> planClass) |
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(@NotNull PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(@NotNull PlanKey planKey,
Long id,
Class<T> planClass) |
static <T extends Plan> |
PlanTestHelper.mockPlan(@NotNull PlanManager planManager,
@NotNull PlanKey planKey,
Class<T> planClass) |
static <T extends Plan> |
PlanTestHelper.mockPlan(@NotNull PlanManager planManager,
@NotNull PlanKey planKey,
long id,
Class<T> planClass) |
int |
DelegatingPlanExecutionManager.numberOfExecutions(@NotNull PlanKey planKey) |
int |
ExecutionStatusProviderImpl.numberOfExecutions(@NotNull PlanKey planKey) |
int |
PlanExecutionManagerImpl.numberOfExecutions(@NotNull PlanKey planKey) |
int |
ExecutionStatusProvider.numberOfExecutions(@NotNull PlanKey planKey)
Returns the number of current
ExecutionStatus s available for PlanKey |
boolean |
ExecutableAgentsHelperImpl.planHasExecutableAgents(@NotNull PlanKey planKey,
boolean includeDisabled)
Checks if a Buildable can be built on any active agent.
|
boolean |
ExecutableAgentsHelper.planHasExecutableAgents(@NotNull PlanKey planKey,
boolean includeDisabled)
Checks if a Buildable can be built on any defined agent.
|
void |
PlanParticleManagerImpl.removePlanParticles(@NotNull PlanKey planKey) |
void |
PlanParticleManager.removePlanParticles(@NotNull PlanKey planKey)
Removes all plan particles for a given plan.
|
void |
PlanManagerImpl.removeStages(@NotNull PlanKey key,
@NotNull Collection<Long> stageIds) |
void |
PlanManager.removeStages(@NotNull PlanKey key,
@NotNull Collection<Long> stageIds)
Remove the tages from the plan specified.
|
void |
PlanStatusHistoryAction.setPlanKey(PlanKey planKey) |
void |
AbstractPlan.setPlanKey(@NotNull PlanKey planKey) |
void |
PlanAwareContextImpl.setPlanKey(@Nullable PlanKey planKey) |
void |
PlanAwareContext.setPlanKey(@Nullable PlanKey planKey) |
void |
Plan.setPlanKey(@NotNull PlanKey planKey) |
void |
PlanManagerImpl.setPlanSuspendedState(PlanKey planKey,
boolean isSuspended) |
void |
PlanManager.setPlanSuspendedState(PlanKey planKey,
boolean isSuspended) |
void |
DelegatingPlanExecutionManager.stopPlan(@NotNull PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManagerImpl.stopPlan(@NotNull PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManager.stopPlan(@NotNull PlanKey planKey,
boolean abandonResult,
String userName) |
void |
DelegatingPlanExecutionManager.stopRequest(@NotNull PlanKey planKey) |
void |
PlanExecutionManagerImpl.stopRequest(@NotNull PlanKey planKey) |
void |
PlanExecutionManager.stopRequest(@NotNull PlanKey planKey)
Stops a build requests for the given
PlanKey |
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(@NotNull PlanKey branchKey,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update plan key part in branch key
|
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(@NotNull PlanKey branchKey,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update plan key part in branch key
|
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(@NotNull PlanKey branchKey,
@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey)
Update plan key part in branch key
|
Constructor and Description |
---|
PlanIdentifierImpl(Long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
long projectId,
String projectKey,
String projectName,
String projectDescription,
Long masterId) |
TriggerableInternalKeyImpl(@NotNull PlanKey planKey) |
TriggerableInternalKeyImpl(@NotNull PlanKey planKey,
long stageId) |
Constructor and Description |
---|
MovePlansException(String s,
Map<PlanKey,PlanKey> successfulPlanKeyChanges) |
MovePlansException(String s,
Map<PlanKey,PlanKey> successfulPlanKeyChanges) |
MovePlansException(String s,
Throwable throwable,
Map<PlanKey,PlanKey> successfulPlanKeyChanges) |
MovePlansException(String s,
Throwable throwable,
Map<PlanKey,PlanKey> successfulPlanKeyChanges) |
Modifier and Type | Method and Description |
---|---|
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
|
@Nullable PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(@NotNull PlanKey featureBranch) |
@Nullable PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(@NotNull PlanKey featureBranch)
Deprecated.
|
@Nullable PlanKey |
BranchIntegrationConfigurationImpl.getIntegrationPlanBranchKey() |
@Nullable PlanKey |
BranchIntegrationPointImpl.getIntegrationPlanBranchKey() |
@Nullable PlanKey |
BranchIntegrationConfiguration.getIntegrationPlanBranchKey()
Deprecated.
since 6.0. Use
BranchIntegrationConfiguration.getIntegrationPoint() . |
@Nullable PlanKey |
BranchIntegrationPoint.getIntegrationPlanBranchKey() |
@NotNull PlanKey |
BranchIntegrationConfigurationImpl.getMergeResultDestinationBranch(@NotNull PlanKey planBranch) |
@NotNull PlanKey |
BranchIntegrationConfiguration.getMergeResultDestinationBranch(@NotNull PlanKey featureBranch)
Returns the PlanKey of the relevant VCS branch we want to perform the merge on.
|
@NotNull PlanKey |
ChainBranchCreationResult.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
ChainPropagatingFacade.createJob(JobCreationService jobCreationService,
BuildConfiguration buildConfiguration,
Map<String,?> actionParametersMap,
PlanCreationService.EnablePlan isPlanEnabled) |
Modifier and Type | Method and Description |
---|---|
@NotNull String |
BranchIntegrationConfigurationImpl.findBranchToMergeWith(@NotNull PlanKey featureBranch) |
@NotNull String |
BranchIntegrationConfiguration.findBranchToMergeWith(@NotNull PlanKey featureBranch)
Returns the PlanKey or branch name of the relevant vcs branch we want to merge with.
|
static @NotNull BranchIntegrationPointImpl |
BranchIntegrationPointImpl.forPlanBranch(@NotNull PlanKey branchKey)
Creates an integration point for a given plan branch.
|
@Nullable PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(@NotNull PlanKey featureBranch) |
@Nullable PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(@NotNull PlanKey featureBranch)
Deprecated.
|
static @Nullable String |
ChainBranchUtils.getChainBranchName(@NotNull CachedPlanManager cachedPlanManager,
@NotNull CustomVariableContext customVariableContext,
@NotNull PlanKey planKey) |
@NotNull PlanKey |
BranchIntegrationConfigurationImpl.getMergeResultDestinationBranch(@NotNull PlanKey planBranch) |
@NotNull PlanKey |
BranchIntegrationConfiguration.getMergeResultDestinationBranch(@NotNull PlanKey featureBranch)
Returns the PlanKey of the relevant VCS branch we want to perform the merge on.
|
void |
ChainBranchManagerImpl.markMetadataInvalid(@NotNull PlanKey branchKey) |
void |
ChainBranchManager.markMetadataInvalid(@NotNull PlanKey branchKey)
Marks the chain as 'invalid', which means metadata no longer match vcs data.
|
void |
ChainBranchManagerImpl.updatePlanBranchMetadata(@NotNull PlanKey branchKey) |
void |
ChainBranchManager.updatePlanBranchMetadata(@NotNull PlanKey branchKey)
Update plan branch metadata to reflect the current state of chain.
|
Constructor and Description |
---|
BranchIntegrationConfigurationImpl(BranchIntegrationStrategy strategy,
PlanKey integrationPlanKey,
boolean pushEnabled)
|
ChainBranchCreationResult(@NotNull PlanKey planKey,
@NotNull VcsBranch vcsBranch) |
ChainBranchCreationResult(@NotNull PlanKey planKey,
@NotNull VcsBranch vcsBranch,
@NotNull Future<Boolean> specsDetectionFuture) |
ChainBranchIdentifierImpl(long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
long projectId,
String projectKey,
String projectName,
String projectDescription,
Long masterId,
String linkedJiraIssue,
boolean remoteIssueLinkRequired) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanBranchGist.getKey() |
@NotNull PlanKey |
ImmutableResultsSummaryImpl.getPlanKey() |
@NotNull PlanKey |
AbstractImmutablePlan.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
void |
ImmutablePlanCacheServiceImpl.cascadeInvalidate(@NotNull PlanKey planKey) |
void |
ImmutablePlanCacheService.cascadeInvalidate(@NotNull PlanKey planKey)
Removes the cached reference for the passed plan and its children.
|
@NotNull Stream<ImmutableChainBranch> |
CachedPlanManagerImpl.getBranchesOfChain(@NotNull PlanKey chainKey) |
@NotNull Set<PlanBranchGist> |
CachedPlanManagerImpl.getBranchGistsOfChain(@NotNull PlanKey chainKey) |
@NotNull Set<PlanBranchGist> |
CachedPlanManager.getBranchGistsOfChain(@NotNull PlanKey chainKey)
Returns basic data of all branches for the supplied chain.
|
@NotNull Set<PlanKey> |
CachedPlanManagerImpl.getBranchKeysOfChain(@NotNull PlanKey chainKey) |
@NotNull Set<PlanKey> |
CachedPlanManager.getBranchKeysOfChain(@NotNull PlanKey chainKey)
Returns keys of all branches for the supplied chain.
|
@NotNull Range<Integer> |
ImmutablePlanCacheServiceImpl.getBuildNumbersRange(PlanKey planKey) |
@NotNull Range<Integer> |
ImmutablePlanCacheService.getBuildNumbersRange(PlanKey planKey)
Deprecated.
since 5.10
|
@Nullable ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutableChainByKeyIfInCache(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanCacheService.getImmutableChainByKeyIfInCache(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutablePlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanCacheService.getImmutablePlanByKey(@NotNull PlanKey planKey)
Returns a plan if one exists with the key.
|
@Nullable ImmutableResultsSummary |
ImmutablePlanManagerImpl.getLatestResultForPlan(PlanKey planKey) |
@Nullable ImmutableResultsSummary |
ImmutablePlanManager.getLatestResultForPlan(PlanKey planKey) |
@Nullable ImmutableJob |
CachedPlanManagerImpl.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
@Nullable ImmutableJob |
CachedPlanManagerImpl.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
@Nullable ImmutableJob |
CachedPlanManager.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
@Nullable ImmutableJob |
CachedPlanManager.getMasterOfJob(@NotNull PlanKey masterChainKey,
@NotNull PlanKey jobKey) |
@Nullable ImmutableChain |
CachedPlanManagerImpl.getMasterPlan(@NotNull PlanKey branchKey) |
@Nullable ImmutableChain |
CachedPlanManager.getMasterPlan(@NotNull PlanKey branchKey)
Returns master branch for a given branchKey.
|
ImmutableChain |
PlansState.getPlan(@NotNull PlanKey planKey) |
@Nullable ImmutablePlan |
CachedPlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutableChain |
ImmutablePlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutablePlan |
CachedPlanManager.getPlanByKey(@NotNull PlanKey planKey)
Returns a
ImmutablePlan by its planKey |
@Nullable ImmutableChain |
ImmutablePlanManager.getPlanByKey(@NotNull PlanKey planKey) |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKey(@NotNull PlanKey planKey,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKey(@NotNull PlanKey planKey,
Class<T> planType)
Returns a
ImmutablePlan by its planKey and Class |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKeyIfOfType(@NotNull PlanKey planKey,
@NotNull Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKeyIfOfType(@NotNull PlanKey planKey,
@NotNull Class<T> planType)
|
void |
ImmutablePlanCacheServiceImpl.hideDeletedPlan(PlanKey planKey) |
void |
ImmutablePlanCacheService.hideDeletedPlan(PlanKey planKey)
Hides the plan.
|
void |
ImmutablePlanCacheServiceImpl.invalidate(@NotNull PlanKey planKey) |
void |
ImmutablePlanCacheService.invalidate(@NotNull PlanKey planKey)
Removes the cached Plan.
|
void |
ImmutablePlanCacheServiceImpl.invalidateBuildNumbersRange(PlanKey planKey,
int buildNumber,
boolean trueForSaveFalseForDelete) |
void |
ImmutablePlanCacheService.invalidateBuildNumbersRange(PlanKey planKey,
int buildNumber,
boolean trueForSaveFalseForDelete)
Deprecated.
since 5.10
|
void |
ImmutablePlanCacheServiceImpl.invalidateSpecsStateForPlan(@NotNull PlanKey planKey,
@Nullable ImmutableVcsBambooSpecsSource immutableVcsBambooSpecsSource) |
void |
ImmutablePlanCacheService.invalidateSpecsStateForPlan(@NotNull PlanKey planKey,
@Nullable ImmutableVcsBambooSpecsSource immutableVcsBambooSpecsSource)
Invalidate specs state.
|
boolean |
CachedPlanManagerImpl.isBranchOf(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey) |
boolean |
CachedPlanManagerImpl.isBranchOf(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey) |
boolean |
CachedPlanManager.isBranchOf(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey)
Test if plan identified by branchKey is a branch of plan identified by chainKey.
|
boolean |
CachedPlanManager.isBranchOf(@NotNull PlanKey chainKey,
@NotNull PlanKey branchKey)
Test if plan identified by branchKey is a branch of plan identified by chainKey.
|
boolean |
ImmutablePlanCacheServiceImpl.isPlanBeingDeleted(PlanKey planKey) |
boolean |
ImmutablePlanCacheService.isPlanBeingDeleted(PlanKey planKey) |
void |
ImmutablePlanCacheServiceImpl.remove(@NotNull PlanKey planKey) |
void |
ImmutablePlanCacheService.remove(@NotNull PlanKey planKey)
Removes the cached Plan and its metadata.
|
PlansState |
PlansState.removePlanFromState(@NotNull PlanKey planKey)
Removes the plan from the cache
|
Modifier and Type | Method and Description |
---|---|
void |
ImmutablePlanCacheServiceImpl.getChainsToInvalidateAndReindex(ImmutablePlanCacheService.CacheInvalidator invalidator,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex) |
void |
ImmutablePlanCacheServiceImpl.getChainsToInvalidateAndReindex(ImmutablePlanCacheService.CacheInvalidator invalidator,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex) |
void |
ImmutablePlanCacheService.getChainsToInvalidateAndReindex(ImmutablePlanCacheService.CacheInvalidator invalidator,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex)
Internal.
|
void |
ImmutablePlanCacheService.getChainsToInvalidateAndReindex(ImmutablePlanCacheService.CacheInvalidator invalidator,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex)
Internal.
|
<T> T |
ImmutablePlanCacheServiceImpl.withHiddenPlans(Collection<PlanKey> planKeys,
Supplier<T> supplier) |
<V> V |
ImmutablePlanCacheService.withHiddenPlans(Collection<PlanKey> planKeys,
Supplier<V> supplier)
Invokes supplier while marking the specified plan keys as unavailable.
|
Constructor and Description |
---|
AbstractImmutablePlan(Long id,
EnrichedPlanDto dto,
PlanKey planKey,
String name,
BuildLoggerManager buildLoggerManager,
VariableDefinitionManager variableDefinitionManager,
ResultsSummaryManager resultsSummaryManager) |
AbstractImmutablePlan(@Nullable Long databaseId,
@NotNull ImmutablePlan plan,
@NotNull PlanKey planKey,
@NotNull String name,
BuildLoggerManager buildLoggerManager,
@NotNull LabelManager labelManager,
VariableDefinitionManager variableDefinitionManager,
@NotNull BuildDefinition buildDefinition,
ResultsSummaryManager resultsSummaryManager) |
PlanBranchGist(long id,
PlanKey key,
String buildName,
boolean suspendedFromBuilding,
PlanBranchWorkflow planBranchWorkflow,
boolean divergent) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanIdCacheIndexer.getChain(long chainId) |
PlanKey |
PlanIdCacheIndex.getChain(long chainId) |
PlanKey |
PlanIdCacheIndexer.getChainOfJob(long jobId) |
PlanKey |
PlanIdCacheIndex.getChainOfJob(long jobId) |
Modifier and Type | Method and Description |
---|---|
Set<PlanKey> |
PlanIdCacheIndexer.getAllChainKeys() |
Set<PlanKey> |
PlanIdCacheIndex.getAllChainKeys() |
Modifier and Type | Method and Description |
---|---|
void |
PlanBranchCacheIndexer.deindex(@NotNull PlanKey planKey) |
void |
PlanIdCacheIndexer.deindex(@NotNull PlanKey planKey) |
void |
PlanCacheIndicesImpl.deindex(@NotNull PlanKey planKey) |
void |
PlanRepositoryIndexer.deindex(@NotNull PlanKey planKey) |
void |
PlanCacheIndexer.deindex(@NotNull PlanKey planKey) |
@NotNull com.google.common.collect.ImmutableSet<PlanBranchGist> |
PlanBranchCacheIndexer.getBranchGists(PlanKey planKey) |
@NotNull com.google.common.collect.ImmutableSet<PlanBranchGist> |
PlanBranchCacheIndex.getBranchGists(PlanKey planKey) |
@NotNull com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndexer.getBranchKeys(@NotNull PlanKey planKey) |
@NotNull com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndex.getBranchKeys(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanDtoImpl.getPlanKey() |
PlanKey |
PlanDto.getPlanKey() |
Constructor and Description |
---|
PlanDtoImpl(Long id,
String buildType,
Date creationDate,
PlanKey planKey,
String buildKey,
String buildName,
String description,
Boolean suspendedFromBuilding,
Boolean markedForDeletion,
BambooEntityOid oid,
Project project,
Long masterId,
ChainStorageTag storageTag,
String linkedJiraIssue,
Boolean remoteJiraLinkRequired,
Boolean divergent,
Long stageId,
String buildDefinitionXmlData,
Long notificationSetId,
Long requirementSetId) |
Modifier and Type | Method and Description |
---|---|
@NotNull ImmutableJob |
JobServiceImpl.addJob(@NotNull PlanKey chainKey,
long stageId,
@Nullable String jobKeyString,
@Nullable String name,
@Nullable String description,
boolean suspended) |
@NotNull ImmutableJob |
JobService.addJob(@NotNull PlanKey chainKey,
long stageId,
@NotNull String jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended)
Add a job to an existing stage in the plan
|
ImmutableJob |
JobServiceImpl.cloneJob(@NotNull String sourceJobKeyString,
@NotNull PlanKey chainKey,
long stageId,
@NotNull String newJobKeyString,
@NotNull String name,
@Nullable String description,
boolean suspended) |
@NotNull ImmutableJob |
JobService.cloneJob(@NotNull String sourceJobKey,
@NotNull PlanKey chainKey,
long stageId,
@NotNull String newJobKey,
@NotNull String name,
@Nullable String description,
boolean suspended)
Copy the given job and give the copy the key, name, description and suspended state provided.
|
void |
JobServiceImpl.deleteJob(@NotNull PlanKey jobKey,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
void |
JobService.deleteJob(@NotNull PlanKey jobKey,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Remove a job.
|
@NotNull ImmutableJob |
JobServiceImpl.getJob(@NotNull PlanKey jobKey) |
@NotNull ImmutableJob |
JobService.getJob(@NotNull PlanKey jobKey)
Get an individual job
|
@NotNull List<ImmutableJob> |
JobServiceImpl.getJobsForPlan(@NotNull PlanKey planKey)
Assumption is made that
AbstractImmutableChain.getAllJobs() will return 2-level sorted list of jobs |
@NotNull List<ImmutableJob> |
JobService.getJobsForPlan(@NotNull PlanKey planKey)
Get all jobs in a plan, ordered alphabetically
|
@NotNull List<ImmutableJob> |
JobServiceImpl.getJobsForStage(@NotNull PlanKey planKey,
long stageId) |
@NotNull List<ImmutableJob> |
JobService.getJobsForStage(@NotNull PlanKey planKey,
long stageId)
Get all jobs in a particular stage, ordered alphabetically
|
@NotNull ImmutableJob |
JobServiceImpl.updateJob(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
@NotNull ImmutableJob |
JobService.updateJob(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Update the details of a job
|
ErrorCollection |
JobServiceImpl.validateJobForAdd(@NotNull PlanKey planKey,
long stageId,
@Nullable String jobKey,
@Nullable String name,
@Nullable String description,
boolean suspended) |
@NotNull ErrorCollection |
JobService.validateJobForAdd(@NotNull PlanKey chainKey,
long stageId,
@Nullable String jobKey,
@Nullable String name,
@Nullable String description,
boolean suspended)
Validates the parameters for adding a job.
|
ErrorCollection |
JobServiceImpl.validateJobForClone(@Nullable String sourceJobKeyString,
@NotNull PlanKey chainKey,
long stageId,
@Nullable String newJobKey,
@Nullable String name,
@Nullable String description,
@Nullable Boolean suspended) |
@NotNull ErrorCollection |
JobService.validateJobForClone(@Nullable String sourceJobKey,
@NotNull PlanKey chainKey,
long stageId,
@Nullable String newJobKey,
@Nullable String name,
@Nullable String description,
@Nullable Boolean suspended)
Validates the parameters for cloning a job.
|
@NotNull ErrorCollection |
JobServiceImpl.validateJobForUpdate(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId) |
@NotNull ErrorCollection |
JobService.validateJobForUpdate(@NotNull PlanKey jobKey,
@NotNull String name,
@Nullable String description,
boolean suspended,
long stageId)
Validate editing of a job
|
Modifier and Type | Method and Description |
---|---|
Map<PlanKey,PlanKey> |
MovePlanServiceImpl.movePlansToProject(Collection<TopLevelPlan> plans,
Project newProject,
Map<String,String> planIdMappings,
Map<String,String> planKeyMappings,
Map<String,String> planNameMappings) |
Map<PlanKey,PlanKey> |
MovePlanServiceImpl.movePlansToProject(Collection<TopLevelPlan> plans,
Project newProject,
Map<String,String> planIdMappings,
Map<String,String> planKeyMappings,
Map<String,String> planNameMappings) |
Modifier and Type | Method and Description |
---|---|
@NotNull ImmutableChainStage |
StageServiceImpl.addStage(@NotNull PlanKey planKey,
@NotNull String stageName,
@Nullable String stageDescription,
boolean isManual,
boolean isFinal) |
@NotNull ImmutableChainStage |
StageService.addStage(@NotNull PlanKey planKey,
@NotNull String name,
@Nullable String description,
boolean isManual,
boolean isFinal)
Adds a new stage to the specified plan.
|
void |
StageServiceImpl.deleteStage(@NotNull PlanKey planKey,
long stageId,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore) |
void |
StageService.deleteStage(@NotNull PlanKey planKey,
long stageId,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore)
Deletes the given stage and any jobs under the stage.
|
@NotNull ImmutableChainStage |
StageServiceImpl.getStage(@NotNull PlanKey planKey,
long stageId) |
@NotNull ImmutableChainStage |
StageService.getStage(@NotNull PlanKey planKey,
long stageId)
Get an individual stage from a plan
|
@NotNull List<ImmutableChainStage> |
StageServiceImpl.getStagesForPlan(@NotNull PlanKey planKey) |
@NotNull List<ImmutableChainStage> |
StageService.getStagesForPlan(@NotNull PlanKey planKey)
Get all stages in a plan, in order
|
@NotNull ImmutableChainStage |
StageServiceImpl.moveStage(@NotNull PlanKey planKey,
long stageId,
int index) |
@NotNull ImmutableChainStage |
StageService.moveStage(@NotNull PlanKey planKey,
long stageId,
int index)
Moves stage to a different position in the plan structure.
|
@NotNull ImmutableChainStage |
StageServiceImpl.updateStage(@NotNull PlanKey planKey,
long stageId,
@NotNull String name,
@NotNull String description,
boolean manual,
boolean isFinal,
@Nullable Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore) |
@NotNull ImmutableChainStage |
StageService.updateStage(@NotNull PlanKey planKey,
long stageId,
@NotNull String name,
@NotNull String description,
boolean manual,
boolean isFinal,
@Nullable Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore)
Update the details of a stage.
|
@NotNull ErrorCollection |
StageServiceImpl.validateStageForAdd(@NotNull PlanKey planKey,
@Nullable String stageName,
@Nullable String stageDescription,
boolean isManual,
boolean isFinal) |
@NotNull ErrorCollection |
StageService.validateStageForAdd(@NotNull PlanKey planKey,
@Nullable String name,
@Nullable String description,
boolean isManual,
boolean isFinal)
Validates a new stage for the specified plan.
|
@NotNull ErrorCollection |
StageServiceImpl.validateStageForUpdate(@NotNull PlanKey planKey,
long stageId,
@Nullable String name,
@Nullable String description,
boolean manual,
boolean isFinal) |
@NotNull ErrorCollection |
StageService.validateStageForUpdate(@NotNull PlanKey planKey,
long stageId,
@Nullable String name,
@Nullable String description,
boolean manual,
boolean isFinal)
Validates editing of a stage.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<PlanVcsRevisionHistoryItem,PlanKey> |
PlanVcsRevisionHistoryItem_.planKey |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanVcsRevisionHistoryItem.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
void |
PlanVcsRevisionHistoryHibernateDao.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryServiceImpl.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryManagerImpl.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryManager.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
PlanVcsRevisionHistoryService.cleanupUnusedEntriesForPlan(@NotNull PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
PlanVcsRevisionHistoryServiceImpl.clearRevisionHistoryForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryService.clearRevisionHistoryForPlan(@NotNull PlanKey planKey)
Removes all history entries for the plan.
|
void |
PlanVcsRevisionHistoryManagerImpl.clearRevisionHistoryForPlanNewTx(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryManager.clearRevisionHistoryForPlanNewTx(@NotNull PlanKey planKey)
Removes all history entries for the plan.
|
void |
PlanVcsRevisionHistoryHibernateDao.deleteVcsRevisionHistoryForPlan(@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.deleteVcsRevisionHistoryForPlan(@NotNull PlanKey planKey)
Deletes entire revision history for a plan.
|
@NotNull List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryHibernateDao.findLatestVcsRevisionHistoryItems(@NotNull PlanKey planKey) |
@NotNull List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryDao.findLatestVcsRevisionHistoryItems(@NotNull PlanKey planKey)
Retrieves a list of history items with the highest build number.
|
@NotNull List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryHibernateDao.findLatestVcsRevisionHistoryItemsBeforeBuildNumber(@NotNull PlanKey planKey,
int buildNumber) |
@NotNull List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryDao.findLatestVcsRevisionHistoryItemsBeforeBuildNumber(@NotNull PlanKey planKey,
int buildNumber)
Retrieves a list of history items with the highest build number that is lower than the argument.
|
PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryHibernateDao.findVcsRevisionHistoryItem(@NotNull PlanKey planKey,
long repositoryId,
int buildNumber) |
@Nullable PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryDao.findVcsRevisionHistoryItem(@NotNull PlanKey planKey,
long repositoryId,
int buildNumber)
Retrieves a specific history item.
|
@NotNull PlanVcsRevisionDataSet |
PlanVcsRevisionHistoryServiceImpl.getLastVcsRevisionKeys(@NotNull PlanKey planKey) |
@NotNull Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManagerImpl.getLastVcsRevisionKeys(@NotNull PlanKey planKey) |
@NotNull Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManager.getLastVcsRevisionKeys(@NotNull PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
@NotNull PlanVcsRevisionDataSet |
PlanVcsRevisionHistoryService.getLastVcsRevisionKeys(@NotNull PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
@NotNull Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManagerImpl.getLastVcsRevisionKeysBeforeBuildNumber(@NotNull PlanKey planKey,
int buildNumber) |
@NotNull Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManager.getLastVcsRevisionKeysBeforeBuildNumber(@NotNull PlanKey planKey,
int buildNumber)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last change detection performed before given build.
|
void |
PlanVcsRevisionHistoryServiceImpl.markChangeDetectionCompleted(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
void |
PlanVcsRevisionHistoryService.markChangeDetectionCompleted(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData revisionData,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryManagerImpl.markChangeDetectionCompletedNewTx(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
void |
PlanVcsRevisionHistoryManager.markChangeDetectionCompletedNewTx(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData vcsRevisionKey,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryHibernateDao.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryHibernateDao.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryServiceImpl.moveRevisionHistoryForPlan(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryServiceImpl.moveRevisionHistoryForPlan(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryDao.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManagerImpl.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManagerImpl.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManager.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManager.moveRevisionHistoryForPlan(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryService.moveRevisionHistoryForPlan(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey planKey)
Moves history entries that are related to a moved plan.
|
void |
PlanVcsRevisionHistoryService.moveRevisionHistoryForPlan(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey planKey)
Moves history entries that are related to a moved plan.
|
void |
PlanVcsRevisionHistoryItem.setPlanKey(PlanKey planKey) |
void |
PlanVcsRevisionHistoryHibernateStandaloneDao.updateRepositoryIdForPlan(@NotNull PlanKey planKey,
long oldRepositoryId,
long repositoryId) |
void |
PlanVcsRevisionHistoryStandaloneDao.updateRepositoryIdForPlan(@NotNull PlanKey planKey,
long oldRepositoryId,
long repositoryId)
Update all repository entries for PlanKey re-setting repository id in all of them.
|
Constructor and Description |
---|
PlanVcsRevisionHistoryItem(@NotNull PlanKey planKey,
int buildNumber,
@NotNull PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
BitbucketRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
GitHubRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
GitRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
GitChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
GitChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
GitChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
GitHubChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
BuildResultForAggregate.getPlanKey() |
Constructor and Description |
---|
PlanStatusJsonBean(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<PlanKey> |
MavenFunctions.planHasAutomaticDependencyManagementEnabled(@NotNull CachedPlanManager cachedPlanManager) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
InputParserImpl.parseChainKey(@Nullable String chainKeyString)
Parse a chain key from the input string.
|
@NotNull PlanKey |
InputParserImpl.parseJobKey(@NotNull PlanKey chainKey,
@Nullable String jobKeyString)
Parse a job key from the input string.
|
@NotNull PlanKey |
InputParserImpl.parseJobKey(@Nullable String jobKeyString)
Parse a job key from the input string.
|
Modifier and Type | Method and Description |
---|---|
static void |
RestHelper.assertExecutePermission(PlanKey planKey,
BambooPermissionManager bambooPermissionManager) |
static void |
RestHelper.assertNotRssPlan(@NotNull PlanKey planKey,
@NotNull PlanRestService planRestService)
Asserts plan is not managed by repository stored specs.
|
static void |
RestHelper.assertPlanPermission(@NotNull BambooPermission permission,
@NotNull PlanKey planKey,
BambooPermissionManager bambooPermissionManager)
Check user has provided or ADMINISTRATION permission on given plan
|
@NotNull PlanKey |
InputParserImpl.parseJobKey(@NotNull PlanKey chainKey,
@Nullable String jobKeyString)
Parse a job key from the input string.
|
Modifier and Type | Method and Description |
---|---|
void |
RestStageService.deleteStage(@NotNull PlanKey planKey,
long stageId,
@NotNull io.atlassian.fugue.Option<ConfirmationToken> confirmationToken,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Deletes the given stage.
|
void |
RestStageServiceImpl.deleteStage(@NotNull PlanKey planKey,
long stageId,
@NotNull io.atlassian.fugue.Option<ConfirmationToken> confirmationToken,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestStageService.getStageDeletionWarnings(@NotNull PlanKey planKey,
long stageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to stage deletion.
|
@NotNull RestWarnings |
RestStageServiceImpl.getStageDeletionWarnings(@NotNull PlanKey planKey,
long stageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestStageService.getStageMoveWarnings(@NotNull PlanKey planKey,
long stageId,
int index,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Returns warnings related to a stage move action.
|
@NotNull RestWarnings |
RestStageServiceImpl.getStageMoveWarnings(@NotNull PlanKey planKey,
long stageId,
int index,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestStage |
RestStageService.updateStage(@NotNull PlanKey planKey,
long stageId,
@NotNull RestStage restStage,
@NotNull io.atlassian.fugue.Option<ConfirmationToken> token,
@Nullable Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Performs a partial update on a stage, updating just the fields that are specified while the rest will remain the same.
|
@NotNull RestStage |
RestStageServiceImpl.updateStage(@NotNull PlanKey planKey,
long stageId,
@NotNull RestStage updatedStage,
@NotNull io.atlassian.fugue.Option<ConfirmationToken> token,
@Nullable Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
@NotNull RestJob |
RestJobService.addJob(@NotNull PlanKey planKey,
long stageId,
@Nullable RestJob restJob,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Create a new job
|
@NotNull RestJob |
RestJobServiceImpl.addJob(@NotNull PlanKey planKey,
long stageId,
@Nullable RestJob restJob,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
void |
RestJobService.deleteJob(@NotNull PlanKey jobKey,
@NotNull Optional<ConfirmationToken> confirmationToken,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Remove a job.
|
void |
RestJobServiceImpl.deleteJob(@NotNull PlanKey jobKey,
@NotNull Optional<ConfirmationToken> confirmationToken,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull Token |
RestJobService.getDeleteConfirmationToken(@NotNull PlanKey jobKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Generate the delete confirmation token to be used for the given job key.
|
@NotNull Token |
RestJobServiceImpl.getDeleteConfirmationToken(@NotNull PlanKey jobKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestWarnings |
RestJobService.getJobDeletionWarnings(@NotNull PlanKey jobKey,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to job deletion.
|
@NotNull RestWarnings |
RestJobServiceImpl.getJobDeletionWarnings(@NotNull PlanKey jobKey,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestWarnings |
RestJobService.getJobMoveWarnings(@NotNull PlanKey jobKey,
long targetStageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to job move.
|
@NotNull RestWarnings |
RestJobServiceImpl.getJobMoveWarnings(@NotNull PlanKey jobKey,
long targetStageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestJob |
RestJobService.updateJob(@NotNull PlanKey jobKey,
@Nullable RestJob restJob,
@NotNull Optional<ConfirmationToken> confirmationToken,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Updates the details of a specific job.
|
@NotNull RestJob |
RestJobServiceImpl.updateJob(@NotNull PlanKey jobKey,
@Nullable RestJob restJob,
@NotNull Optional<ConfirmationToken> confirmationToken,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
@NotNull List<RestArtifactSubscriptions> |
RestArtifactServiceImpl.getAffectedArtifactSubscriptionsByJobMove(@NotNull PlanKey jobKey,
long stageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull List<RestArtifactSubscriptions> |
RestArtifactService.getAffectedArtifactSubscriptionsByJobMove(@NotNull PlanKey jobKey,
long stageId,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Returns all artifact subscriptions that will be broken if we move a given job.
|
@NotNull List<RestArtifactSubscriptions> |
RestArtifactServiceImpl.getConsumersOfArtifacts(@NotNull PlanKey jobKey,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull List<RestArtifactSubscriptions> |
RestArtifactService.getConsumersOfArtifacts(@NotNull PlanKey jobKey,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Returns the full list of artifact subscriptions in the same stage for a job's artifacts, returning one entry for each job.
|
@NotNull RestPageModel<RestJob> |
RestArtifactServiceImpl.getJobsConsumingArtifact(@NotNull PlanKey jobKey,
long artifactId,
@NotNull PageRequest pageRequest,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull RestPageModel<RestJob> |
RestArtifactService.getJobsConsumingArtifact(@NotNull PlanKey jobKey,
long artifactId,
@NotNull PageRequest pageRequest,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated lists of jobs subscribing to a specified artifact.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanRestService.assertPlanExistsAndVisible(@NotNull PlanKey planKey)
Checks if
Plan exists and is visible for calling user |
void |
PlanRestServiceImpl.assertPlanExistsAndVisible(@NotNull PlanKey planKey) |
void |
PlanRestService.assertPlanExistsAndVisible(@NotNull PlanKey planKey,
@NotNull Class<? extends ImmutablePlan> clazz)
Checks if
Plan exists, has correct type and is visible for calling user |
void |
PlanRestServiceImpl.assertPlanExistsAndVisible(@NotNull PlanKey planKey,
@NotNull Class<? extends ImmutablePlan> clazz) |
@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) |
List<ImmutableJob> |
PlanRestService.getJobsForPlan(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of jobs of specified plan.
|
List<ImmutableJob> |
PlanRestServiceImpl.getJobsForPlan(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
@NotNull ImmutablePlan |
PlanRestService.getPlanByKey(@NotNull PlanKey planKey)
Returns a
Plan if plan exists and is visible for calling user |
@NotNull ImmutablePlan |
PlanRestServiceImpl.getPlanByKey(@NotNull PlanKey planKey) |
@Nullable ImmutablePlan |
PlanRestService.getPlanByKeyUnchecked(@NotNull PlanKey planKey)
Returns a
Plan if plan exists. |
ImmutablePlan |
PlanRestServiceImpl.getPlanByKeyUnchecked(@NotNull PlanKey planKey) |
List<ImmutableChainStage> |
PlanRestService.getStagesForPlan(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of stages of specified plan.
|
List<ImmutableChainStage> |
PlanRestServiceImpl.getStagesForPlan(@NotNull PlanKey planKey,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
StashRepositoryImpl.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
@NotNull DeploymentProject |
DeploymentsTestService.createDeploymentProjectWithEnvironments(@NotNull PlanKey planKey) |
@NotNull DeploymentProject |
DeploymentsTestServiceImpl.createDeploymentProjectWithEnvironments(@NotNull PlanKey planKey) |
@NotNull DeploymentProject |
DeploymentsTestService.createSimpleDeployment(@NotNull PlanKey planKey) |
@NotNull DeploymentProject |
DeploymentsTestServiceImpl.createSimpleDeployment(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanTestService.createChain(@NotNull String projectKey,
@Nullable String projectName,
@NotNull String chainName) |
PlanKey |
PlanTestServiceImpl.createChain(@NotNull String projectKey,
@Nullable String projectName,
@NotNull String chainName) |
PlanKey |
PlanTestService.createJob(@NotNull PlanKey chainKey,
@NotNull String jobSubKey) |
PlanKey |
PlanTestServiceImpl.createJob(@NotNull PlanKey chainKey,
@NotNull String jobSubKey) |
PlanKey |
PlanTestService.createSimpleChain() |
PlanKey |
PlanTestServiceImpl.createSimpleChain() |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanTestService.createJob(@NotNull PlanKey chainKey,
@NotNull String jobSubKey) |
PlanKey |
PlanTestServiceImpl.createJob(@NotNull PlanKey chainKey,
@NotNull String jobSubKey) |
Modifier and Type | Method and Description |
---|---|
static Optional<PlanKey> |
ConditionHelper.getPlanKey(@NotNull Map<String,Object> context)
Retrieve plan result key from Freemarker context
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
AbstractRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision)
Deprecated.
|
@NotNull BuildRepositoryChanges |
OnceOffCapableRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision)
Collects the changes for the targetRevision.
|
void |
AbstractRepository.customizeBuildRequirements(@NotNull PlanKey planKey,
@NotNull BuildConfiguration buildConfiguration,
@NotNull RequirementSet requirementSet)
Deprecated.
|
@NotNull File |
AbstractRepository.getSourceCodeDirectory(@NotNull PlanKey planKey)
Deprecated.
For Subversion, we use the build name's directory within the system's working directory
|
static boolean |
InvalidRepositoryException.handleInvalidRepositoryIfAppropriate(@Nullable PlanKey planKey,
Throwable e,
ErrorCollection errorCollection,
com.atlassian.event.api.EventPublisher eventPublisher,
@Nullable ErrorHandler errorHandler)
Returns if the
InvalidRepositoryException was handled (if the passed exception or the cause of it is of
the right type. |
void |
AbstractRepository.removeBuildRequirements(@NotNull PlanKey planKey,
@NotNull BuildConfiguration buildConfiguration,
@NotNull RequirementSet requirementSet)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
PerforceRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@Nullable String targetRevision) |
@NotNull File |
PerforceRepository.getSourceCodeDirectory(@NotNull PlanKey planKey)
Retrieves the location that the build will occur.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
SvnRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
SvnChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
SvnChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData revisionData) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanKeyAdapter.unmarshal(@Nullable String planKey) |
Modifier and Type | Method and Description |
---|---|
String |
PlanKeyAdapter.marshal(@Nullable PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
InputParser.parseChainKey(@Nullable String chainKeyString) |
@NotNull PlanKey |
InputParser.parseJobKey(@NotNull PlanKey chainKey,
@Nullable String jobKeyString) |
@NotNull PlanKey |
InputParser.parseJobKey(@Nullable String jobKeyString) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
InputParser.parseJobKey(@NotNull PlanKey chainKey,
@Nullable String jobKeyString) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanKeyRestKeyAdapter.unmarshal(RestKey restKey) |
Modifier and Type | Method and Description |
---|---|
RestKey |
PlanKeyRestKeyAdapter.marshal(PlanKey key) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
RestCreateDeploymentProjectRequest.getPlanKey() |
PlanKey |
RestUpdateDeploymentProjectRequest.getPlanKey() |
PlanKey |
RestDeploymentProject.getPlanKey() |
Modifier and Type | Field and Description |
---|---|
protected PlanKey |
MutableExpiryCriteria.planKey |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
AbstractResultsSummary.getPlanKey() |
@NotNull PlanKey |
ImmutableResultsSummary.getPlanKey()
Full key of the plan.
|
@NotNull PlanKey |
MutableExpiryCriteria.getPlanKey() |
@NotNull PlanKey |
ExpiryCriteria.getPlanKey()
A plan key by which the
result summaries should be filtered. |
Modifier and Type | Method and Description |
---|---|
Iterable<PlanKey> |
BuildResultsSummaryHibernateDao.findPlanKeysFromAllOrphanedResultSummaries() |
Iterable<PlanKey> |
BuildResultsSummaryDao.findPlanKeysFromAllOrphanedResultSummaries()
Scans database for all the
ChainResultsSummary objects in the database that do not have a matching Chain |
Modifier and Type | Method and Description |
---|---|
int |
BuildResultsSummaryHibernateDao.countResultsWithState(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
@NotNull BuildState buildState) |
int |
BuildResultsSummaryManagerImpl.countResultsWithState(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
@NotNull BuildState buildState) |
int |
BuildResultsSummaryDao.countResultsWithState(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
@NotNull BuildState buildState)
Counts results with a given state in a given build number range for plan.
|
int |
ResultsSummaryManager.countResultsWithState(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
@NotNull BuildState buildState)
Counts results with a given state in a given build number range for plan.
|
List<Integer> |
BuildResultsSummaryHibernateDao.findAllBuildResultsNumbers(PlanKey planKey) |
@NotNull List<Integer> |
BuildResultsSummaryManagerImpl.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
BuildResultsSummaryDao.findAllBuildResultsNumbers(PlanKey planKey) |
@NotNull List<Integer> |
ResultsSummaryManager.findAllBuildResultsNumbers(PlanKey planKey) |
@NotNull Range<Integer> |
BuildResultsSummaryManagerImpl.findBuildResultNumbersRange(@NotNull PlanKey planKey) |
@NotNull Range<Integer> |
ResultsSummaryManager.findBuildResultNumbersRange(@NotNull PlanKey planKey)
Finds minimum and maximum build number for a plan.
|
@NotNull Range<Integer> |
BuildResultsSummaryHibernateDao.findBuildResultsNumberRange(PlanKey planKey) |
@NotNull Range<Integer> |
BuildResultsSummaryDao.findBuildResultsNumberRange(PlanKey planKey)
Finds minimum and maximum build number for a plan.
|
@Nullable ResultsSummary |
BuildResultsSummaryManagerImpl.findFirstFailedBuildResultBetween(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber) |
@Nullable ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultBetween(@NotNull PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber)
Finds the first failed build between the upper and lower build numbers inclusively.*
|
@NotNull List<LinkedJiraIssue> |
BuildResultsSummaryManagerImpl.findJiraIssuesForPlanKey(@NotNull PlanKey planKey) |
@NotNull List<LinkedJiraIssue> |
ResultsSummaryManager.findJiraIssuesForPlanKey(@NotNull PlanKey planKey)
Retrieves a list of
LinkedJiraIssue linked to the given plan key |
@NotNull List<PlanKey> |
BuildResultsSummaryHibernateDao.findJobKeysFromExistingChainResults(@NotNull PlanKey chainKey) |
@NotNull List<PlanKey> |
BuildResultsSummaryManagerImpl.findJobKeysFromExistingChainResults(@NotNull PlanKey chainKey) |
@NotNull List<PlanKey> |
BuildResultsSummaryDao.findJobKeysFromExistingChainResults(@NotNull PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
@NotNull List<PlanKey> |
ResultsSummaryManager.findJobKeysFromExistingChainResults(@NotNull PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
@Nullable ResultsSummary |
BuildResultsSummaryManagerImpl.findLastFailingBuildResultBefore(@NotNull PlanKey planKey,
int buildNumber) |
@Nullable ResultsSummary |
ResultsSummaryManager.findLastFailingBuildResultBefore(@NotNull PlanKey planKey,
int buildNumber)
Finds the last failing
ResultsSummary before buildNumber |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass,
boolean ignoreSpecsResults) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass,
boolean ignoreSpecsResults) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass,
boolean ignoreSpecsResults) |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultSummaryWithState(@NotNull PlanKey planKey,
@NotNull BuildState buildState,
@NotNull Class<T> aClass,
boolean ignoreSpecsResults) |
int |
BuildResultsSummaryHibernateDao.findMinimumBuildNumberForNLatest(@NotNull PlanKey planKey,
int n) |
int |
BuildResultsSummaryManagerImpl.findMinimumBuildNumberForNLatest(@NotNull PlanKey planKey,
int n) |
int |
BuildResultsSummaryDao.findMinimumBuildNumberForNLatest(@NotNull PlanKey planKey,
int n)
Find a build number for which exist n non-specs results with a build number greater or equal.
|
int |
ResultsSummaryManager.findMinimumBuildNumberForNLatest(@NotNull PlanKey planKey,
int n)
Find a build number for which exist n non-specs results with a build number greater or equal.
|
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.PENDING , LifeCycleState.QUEUED , LifeCycleState.IN_PROGRESS state with the given Class
See also LifeCycleState.isActive(LifeCycleState) and ImmutableResultsSummary.isActive() |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class . |
<T extends ResultsSummary> |
ResultsSummaryManager.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class . |
BuildResultsSummary |
BuildResultsSummaryHibernateDao.getFirstBuildSummary(@NotNull PlanKey planKey) |
@Nullable BuildResultsSummary |
BuildResultsSummaryDao.getFirstBuildSummary(@NotNull PlanKey planKey)
Returns the first available
BuildResultsSummary for the given PlanKey |
@NotNull List<LinkedJiraIssue> |
BuildResultsSummaryHibernateDao.getJiraIssuesForPlanKey(@NotNull PlanKey planKey) |
List<LinkedJiraIssue> |
BuildResultsSummaryDao.getJiraIssuesForPlanKey(@NotNull PlanKey planKey)
Retrieves a list of
LinkedJiraIssue that are linked to the given build. |
ResultsSummary |
BuildResultsSummaryManagerImpl.getLastSuccessfulResultSummary(@NotNull PlanKey planKey) |
@Nullable ResultsSummary |
ResultsSummaryManager.getLastSuccessfulResultSummary(@NotNull PlanKey planKey)
Get the last successful
ResultsSummary for planKey |
Collection<LinkedJiraIssue> |
LinkedJiraIssueHibernateDao.getLinkedJiraIssuesForBuildNumberRange(@NotNull PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber) |
Collection<LinkedJiraIssue> |
LinkedJiraIssueDao.getLinkedJiraIssuesForBuildNumberRange(@NotNull PlanKey planKey,
int firstBuildNumber,
int currentBuildNumber)
Find and retrieve all jira issues related to build results from specified range.
|
int |
BuildResultsSummaryHibernateDao.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey) |
int |
BuildResultsSummaryManagerImpl.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey) |
int |
BuildResultsSummaryDao.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Get the number of concurrently running builds for planKey
|
int |
ResultsSummaryManager.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Gets the number of concurrently running builds
|
long |
BuildResultsSummaryHibernateDao.getNumberOfFinalizedResults(@NotNull PlanKey planKey) |
long |
BuildResultsSummaryManagerImpl.getNumberOfFinalizedResults(@NotNull PlanKey planKey) |
long |
BuildResultsSummaryDao.getNumberOfFinalizedResults(@NotNull PlanKey planKey)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
long |
ResultsSummaryManager.getNumberOfFinalizedResults(@NotNull PlanKey planKey)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
int |
BuildResultsSummaryHibernateDao.markResultSummariesForDeletion(@NotNull PlanKey planKey) |
int |
BuildResultsSummaryManagerImpl.markResultSummariesForDeletion(@NotNull PlanKey planKey) |
int |
BuildResultsSummaryDao.markResultSummariesForDeletion(@NotNull PlanKey planKey)
Mass update of all
ResultsSummary records in the database related to a Plan identified by planKey. |
int |
ResultsSummaryManager.markResultSummariesForDeletion(@NotNull PlanKey planKey)
Mass update of all
ResultsSummary records in the database related to a Plan identified by planKey. |
int |
BuildResultsSummaryHibernateDao.moveResultSummaries(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
int |
BuildResultsSummaryHibernateDao.moveResultSummaries(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
int |
BuildResultsSummaryDao.moveResultSummaries(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
int |
BuildResultsSummaryDao.moveResultSummaries(@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
void |
BuildResultsSummaryManagerImpl.moveResultSummaries(@NotNull Plan newParentPlan,
@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
BuildResultsSummaryManagerImpl.moveResultSummaries(@NotNull Plan newParentPlan,
@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey) |
void |
ResultsSummaryManager.moveResultSummaries(@NotNull Plan newParentPlan,
@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
void |
ResultsSummaryManager.moveResultSummaries(@NotNull Plan newParentPlan,
@NotNull PlanKey oldPlanKey,
@NotNull PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
int |
BuildResultsSummaryHibernateDao.removeResultsSummariesForPlan(@NotNull PlanKey planKey) |
int |
BuildResultsSummaryDao.removeResultsSummariesForPlan(@NotNull PlanKey planKey)
Remove all resultSummary objects for the given plan.
|
void |
MutableBuildKeyResultsSummary.setPlanKey(@NotNull PlanKey planKey) |
void |
AbstractResultsSummary.setPlanKey(PlanKey planKey) |
@NotNull ResultsSummaryCriteriaBuilder |
ResultsSummaryCriteriaBuilder.setPlanKey(@NotNull PlanKey planKey) |
Constructor and Description |
---|
MutableExpiryCriteria(@NotNull PlanKey planKey) |
PlanKeyResultDeletionSQLAdapter(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
ResultSummarySearchCriteria.getPlanKeys()
List of related plan keys.
|
Modifier and Type | Method and Description |
---|---|
@Nullable ChainResultsSummary |
PlanResultSearcherImpl.findLatestRelevantBuildResult(@NotNull PlanKey planKey,
long beforeLastCompletedTimestamp) |
@Nullable ChainResultsSummary |
PlanResultSearcher.findLatestRelevantBuildResult(@NotNull PlanKey planKey,
long beforeLastCompletedTimestamp)
Find the last finished build of a plan that completed before given time
|
ResultSummarySearchCriteria.Builder |
ResultSummarySearchCriteria.Builder.planKeys(PlanKey... planKeys) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
TestCaseSummaryImpl.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
long |
TestResultsHibernateDao.countTestClassResults(@NotNull PlanKey planKey) |
long |
TestResultsDao.countTestClassResults(@NotNull PlanKey planKey)
Count TestClassResults for a Plan
|
@NotNull List<Pair<Long,Long>> |
TestCaseHibernateDao.getTopBrokenTests(@NotNull PlanKey planKey,
BuildResultsFilter filter) |
List<Pair<TestCase,Long>> |
TestsManagerImpl.getTopBrokenTests(@NotNull PlanKey planKey,
BuildResultsFilter filter) |
@NotNull List<Pair<Long,Long>> |
TestCaseDao.getTopBrokenTests(@NotNull PlanKey planKey,
BuildResultsFilter filter) |
List<Pair<TestCase,Long>> |
TestsManager.getTopBrokenTests(@NotNull PlanKey planKey,
BuildResultsFilter filter)
Returns a pai of the top 10 tests that's broken + the count for a given filter period
|
int |
TestsManagerImpl.removeResultsByPlan(@NotNull PlanKey planKey) |
int |
TestsManager.removeResultsByPlan(PlanKey planKey)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
int |
TestResultsHibernateDao.removeTestClassResultsByPlan(@NotNull PlanKey planKey) |
int |
TestResultsDao.removeTestClassResultsByPlan(@NotNull PlanKey planKey)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
Constructor and Description |
---|
TestCaseSummaryImpl(@NotNull TestCase testCase,
@NotNull PlanKey planKey,
@Nullable List<BuildResultsSummary> filteredBuildResults,
TestsManager testsManager,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryChangeset> |
RepositoryChangesetHibernateDao.getChangesetsForBuildNumberRange(@NotNull PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber) |
List<RepositoryChangeset> |
RepositoryChangesetDao.getChangesetsForBuildNumberRange(@NotNull PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber)
Finds and returns all repository change sets related with build results from specified range.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BambooPermissionManagerImpl.canRunCustomBuild(@NotNull PlanKey planKey) |
boolean |
BambooPermissionManager.canRunCustomBuild(@NotNull PlanKey planKey) |
Collection<org.acegisecurity.acls.Permission> |
BambooPermissionManagerImpl.getPermissionsForPlan(@NotNull PlanKey planKey) |
Collection<org.acegisecurity.acls.Permission> |
BambooPermissionManager.getPermissionsForPlan(@NotNull PlanKey planKey) |
boolean |
BambooCachingPermissionManagerFacadeImpl.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
boolean |
BambooCachingPermissionManagerFacade.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
boolean |
BambooPermissionManagerImpl.hasPlanPermission(@NotNull org.acegisecurity.acls.Permission permission,
@NotNull PlanKey planKey) |
boolean |
BambooPermissionManager.hasPlanPermission(@NotNull org.acegisecurity.acls.Permission permission,
@NotNull PlanKey planKey)
Verify plan access
|
Modifier and Type | Method and Description |
---|---|
File |
ArtifactDirectoryBuilder.getChainDirectory(PlanKey planKey)
Returns [artifact-root] / [chain-part]
|
String |
ArtifactPathBuilder.getChainPath(PlanKey planKey)
Returns [artifact-root] / [chain-storage-tag]
|
File |
ArtifactDirectoryBuilder.getJobOrSharedDirectory(PlanKey planKey)
Returns [artifact-root] / [chain-part] / [job-part]
[job-part] will be "shared" if the parameter points to a chain rather than a job.
|
String |
ArtifactPathBuilder.getJobOrSharedPath(PlanKey planKey)
Returns [artifact-root] / [chain-storage-tag] / [job-part]
[job-part] will be "shared" if the parameter points to a chain rather than a job.
|
Modifier and Type | Method and Description |
---|---|
File |
ArtifactDirectoryBuilderImpl.getChainDirectory(PlanKey planKey) |
String |
ArtifactPathBuilderImpl.getChainPath(PlanKey planKey) |
@Nullable ChainStorageTag |
StorageTagServiceImpl.getChainStorageTag(@NotNull PlanKey chainKey) |
@Nullable ChainStorageTag |
StorageTagService.getChainStorageTag(@NotNull PlanKey chainKey) |
File |
ArtifactDirectoryBuilderImpl.getJobOrSharedDirectory(PlanKey planKey) |
String |
ArtifactPathBuilderImpl.getJobOrSharedPath(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(@NotNull PlanKey planKey,
@NotNull TaskModuleDescriptor taskDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
void |
TaskConfigurationServiceImpl.createTaskList(PlanKey planKey,
@NotNull List<TaskDefinition> taskDefinitions) |
void |
TaskConfigurationService.createTaskList(PlanKey planKey,
@NotNull List<TaskDefinition> taskDefinitions)
Initializes task list of a plan with the provided list.
|
void |
TaskConfigurationServiceImpl.deleteTask(@NotNull PlanKey planKey,
long taskId) |
void |
TaskConfigurationService.deleteTask(@NotNull PlanKey planKey,
long taskId)
Delete a given taskDefinition
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(@NotNull PlanKey planKey,
long taskId,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> taskConfigurationMap,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
@NotNull Collection<Requirement> |
TaskConfigurationServiceImpl.getTasksRequirements(@NotNull PlanKey planKey) |
@NotNull Collection<Requirement> |
TaskConfigurationService.getTasksRequirements(@NotNull PlanKey planKey)
|
void |
TaskConfigurationServiceImpl.moveFinalBar(PlanKey planKey,
long beforeId,
long afterId) |
void |
TaskConfigurationService.moveFinalBar(PlanKey planKey,
long beforeId,
long afterId)
Moves the final Bar to a specific location in the list.
|
void |
TaskConfigurationServiceImpl.moveTask(@NotNull PlanKey planKey,
long taskId,
long beforeId,
long afterId,
boolean isFinal) |
void |
TaskConfigurationService.moveTask(@NotNull PlanKey planKey,
long taskId,
long beforeId,
long afterId,
boolean isFinal)
Move a taskDefinition from one spot in its list, to another.
|
TaskDefinition |
TaskConfigurationServiceImpl.setTaskState(@NotNull PlanKey planKey,
long taskId,
boolean disabled) |
TaskDefinition |
TaskConfigurationService.setTaskState(@NotNull PlanKey planKey,
long taskId,
boolean isEnabled)
Update the disable state of specific taskDefinition
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlansControl.createPlan(TestBuildDetails buildDetails) |
Modifier and Type | Method and Description |
---|---|
PlansControl |
PlansControl.addCreatedPlan(PlanKey planKey)
Register plan created outside backdoor, so it would be removed on cleanup
|
PlansControl |
PlansControl.addCustomRequirement(@NotNull PlanKey jobKey,
@NotNull String requirementKey) |
RestRequirement |
PlansControl.addGetCustomRequirement(@NotNull PlanKey jobKey,
@NotNull String requirementKey) |
PlansControl |
PlansControl.addPlanVariable(PlanKey planKey,
String variableName,
String variableValue) |
void |
PermissionsControl.checkPlanPermissions(PlanKey planKey,
BambooRole role,
List<BambooPermission> has,
List<BambooPermission> hasNot) |
RestPlan |
PlansControl.clonePlan(PlanKey planKeyToClone,
PlanKey newPlanKey)
Clone plan
|
int |
IndexControl.countPlanResults(PlanKey planKey) |
PlansControl |
PlansControl.createArtifact(PlanKey producerJobKey,
Consumer<TestArtifactDetails.Builder> consumer) |
RestPlanBranch |
PlansControl.createBranch(PlanKey planKey,
String vcsBranch,
String branchName) |
PlansControl |
PlansControl.deletePlan(@NotNull PlanKey planKey)
Delete plan
|
PlansControl |
PlansControl.deletePlanQuietly(@NotNull PlanKey planKey)
Delete plan quietly
|
PlansControl |
PlansControl.deletePlanVariable(PlanKey planKey,
String variableName) |
PlansControl |
PlansControl.disablePlan(@NotNull PlanKey planKey)
Disable plan
|
boolean |
PlansControl.doesPlanExistAsRecord(@NotNull PlanKey planKey) |
PlansControl |
PlansControl.enablePlan(@NotNull PlanKey planKey)
Enable plan
|
RestBranches |
PlansControl.getAllBranches(PlanKey key)
Get all branches for chain
|
RestPlanBranch |
PlansControl.getBranchByName(PlanKey key,
String branchName)
Get branches with given name for chain
|
com.atlassian.pageobjects.elements.query.TimedQuery<RestPlanBranch> |
PlansControl.getBranchByNameTimed(PlanKey key,
String branchName)
Get branches with given name for chain as a timed query
|
String |
LogControl.getBuildLog(PlanKey planKey,
String jobKeyStr,
int buildNumber)
Returns build log for job result (should be used to analyse failing tasks within tests)
|
Result |
PlansControl.getBuildResult(PlanKey planKey,
int buildNumber)
Get build result
|
io.restassured.response.Response |
BuildResultsControl.getBuildResultAsResponse(@NotNull PlanKey planKey,
int buildNumber)
Get build result via REST
|
List<RestJob> |
PlansControl.getJobs(PlanKey planKey) |
int |
BuildResultsControl.getLatestBuildNumber(PlanKey planKey) |
io.restassured.response.Response |
BuildResultsControl.getLatestResultResponse(PlanKey planKey) |
long |
PlansControl.getPlanId(PlanKey key) |
List<String> |
PlansControl.getPlanLabels(@NotNull PlanKey planKey) |
List<RestRepository> |
PlansControl.getPlanRepositories(@NotNull PlanKey planKey) |
String |
PlansControl.getPlanRootArtifactDirectory(PlanKey planKey)
Get the plan directory information for the plan
|
@NotNull List<RestVariableDefinition> |
PlansControl.getPlanVariables(@NotNull PlanKey planKey) |
List<RestRequirement> |
PlansControl.getRequirementsForJob(@NotNull PlanKey jobKey) |
@NotNull ResultDetails |
BuildResultsControl.getResultDetails(@NotNull PlanKey planKey,
int buildNumber) |
@NotNull RestBuildLabels |
BuildResultsControl.getResultLabels(@NotNull PlanKey planKey,
int buildNumber) |
io.restassured.response.Response |
BuildResultsControl.getResultsResponse(PlanKey planKey) |
RestStageList |
PlansControl.getStages(PlanKey planKey) |
@NotNull Long |
DatabaseControl.getTestCasesCount(PlanKey planKey) |
@NotNull List<String> |
PlansControl.getTriggerNames(@NotNull PlanKey planKey) |
@NotNull List<RestTrigger> |
PlansControl.getTriggers(@NotNull PlanKey planKey) |
void |
PermissionsControl.grantPlanPermission(@NotNull PlanKey planKey,
@NotNull BambooTestPermission permission)
|
boolean |
PermissionsControl.hasPlanPermission(@NotNull PlanKey planKey,
@NotNull BambooTestPermission permission) |
boolean |
CacheControl.isPlanCached(PlanKey planKey) |
boolean |
PlansControl.isPlanEnabled(@NotNull PlanKey planKey) |
boolean |
DatabaseControl.isVcsBranchMarkedAsDeleted(@NotNull PlanKey planKey,
@NotNull String vcsBranchName)
Checks if a given VCS branch for the specified plan is marked as deleted in the database, indicating that all
plan branches referring to it should be cleaned up.
|
void |
TestsControl.quarantine(@NotNull PlanKey planKey,
long testCaseId) |
void |
PermissionsControl.revokePlanPermission(@NotNull PlanKey planKey,
@NotNull BambooTestPermission permission)
|
void |
PlansControl.setPlanLabels(@NotNull PlanKey planKey,
@NotNull List<String> labels) |
void |
PermissionsControl.setPlanPermissions(@NotNull PlanKey planKey,
@NotNull com.atlassian.bamboo.specs.api.builders.permission.Permissions permissions)
Set complete plan permissions
|
PlansControl |
PlansControl.triggerBuild(PlanKey planKey)
Trigger build
|
PlansControl |
PlansControl.triggerBuild(PlanKey planKey,
Map<String,String> params)
Trigger build
|
PlansControl |
PlansControl.triggerBuildAndAwaitCompletion(PlanKey planKey)
Trigger build and wait for the completion
|
PlansControl |
PlansControl.triggerBuildAndAwaitCompletion(PlanKey planKey,
com.atlassian.pageobjects.elements.query.Poller.WaitTimeout timeout)
Trigger build and wait for the completion
|
PlansControl |
PlansControl.triggerBuildAndAwaitFailure(PlanKey planKey,
int expectStatusCode) |
PlansControl |
PlansControl.triggerBuildAndAwaitSuccess(@NotNull PlanKey planKey) |
RestQueuedBuild |
PlansControl.triggerBuildWithResponse(PlanKey planKey,
Map<String,String> parameters) |
void |
TestsControl.unleash(@NotNull PlanKey planKey,
long testCaseId) |
PlansControl |
PlansControl.waitForCompletedBuild(PlanKey planKey,
int buildNumber)
Waits for a build that is completed (builds stopped are not included)
|
PlansControl |
PlansControl.waitForCompletedBuild(PlanKey planKey,
int buildNumber,
com.atlassian.pageobjects.elements.query.Poller.WaitTimeout waitTimeout) |
PlansControl |
PlansControl.waitForFailedBuild(@NotNull PlanKey planKey,
int buildNumber) |
PlansControl |
PlansControl.waitForFinishedBuild(PlanKey planKey,
int buildNumber)
Wait until build is finished (either completed or stopped)
|
PlansControl |
PlansControl.waitForStartedBuild(PlanKey planKey,
int buildNumber) |
PlansControl |
PlansControl.waitForSuccessfulBuild(@NotNull PlanKey planKey,
int buildNumber) |
RestPlanBranch |
PlansControl.waitUntilBranchIsCreated(PlanKey key,
String branchName)
Wait unit plan branch with given name is created for chain
|
RestPlanBranch |
PlansControl.waitUntilBranchIsCreatedAndEnabled(PlanKey key,
String branchName)
Wait unit plan branch with given name is created and enabled for chain
|
String |
PlansControl.waitUntilPlanIsAffectedInFailedSpecsRun(PlanKey planKey,
int buildNumber) |
void |
PlansControl.waitUntilPlanIsAffectedInSuccessfulSpecsRun(PlanKey planKey,
int buildNumber) |
void |
PlansControl.waitUntilPlanIsUpdated(PlanKey planKey,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
Consumer<TestArtifactDetails> |
ArtifactsControl.createArtifact(@NotNull PlanKey producerJobKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
RestPlanBranch.getBranchKey() |
Modifier and Type | Method and Description |
---|---|
TriggerPlanBuilder |
TriggerPlanBuilder.withPlan(@NotNull PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
void |
BuildLoggerManagerForTesting.removeBuildLogger(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
TestJobDetails.getKey() |
PlanKey |
TestBuildDetails.getKey() |
Modifier and Type | Method and Description |
---|---|
TestJobDetails |
TestBuildDetails.getJob(@NotNull PlanKey jobKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
TestDeploymentProjectDetails.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
Optional<PlanKey> |
TestDeploymentProjectDetails.getBranchKey() |
Modifier and Type | Method and Description |
---|---|
TestDeploymentProjectDetails.Builder |
TestDeploymentProjectDetails.Builder.branch(PlanKey branchKey) |
void |
TestDeploymentProjectDetails.setPlanKey(PlanKey planKey) |
TestDeploymentProjectDetails.Builder |
TestDeploymentProjectDetails.Builder.withPlan(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
void |
TestDeploymentProjectDetails.setBranchKey(Optional<PlanKey> branchKey) |
Modifier and Type | Method and Description |
---|---|
static PlanKey |
TestPlanSpecsHelper.getDefaultJobKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) |
static PlanKey |
TestPlanSpecsHelper.getJobKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan,
com.atlassian.bamboo.specs.api.model.plan.JobProperties job) |
static PlanKey |
TestPlanSpecsHelper.getPlanKey(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) |
static PlanKey |
TestPlanSpecsHelper.getPlanKey(com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties plan) |
static PlanKey |
TestPlanSpecsHelper.getPlanKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) |
Modifier and Type | Method and Description |
---|---|
@Nullable PlanKey |
TriggerableInternalKey.getPlanKey()
|
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
TriggerConfigurationServiceImpl.createTrigger(@NotNull PlanKey planKey,
@NotNull TriggerModuleDescriptor triggerDescriptor,
@NotNull String userDescription,
boolean isEnabled,
@Nullable Set<Long> triggeringRepositories,
@NotNull Map<String,String> configuration,
@NotNull Map<String,String> triggerConditionsConfiguration) |
TriggerDefinition |
TriggerConfigurationService.createTrigger(@NotNull PlanKey planKey,
@NotNull TriggerModuleDescriptor triggerModuleDescriptor,
@Nullable String userDescription,
boolean isEnabled,
@Nullable Set<Long> triggeringRepositories,
@NotNull Map<String,String> configuration,
@NotNull Map<String,String> triggerConditionsConfiguration)
Create a trigger Definition and save it against the plan
|
void |
TriggerConfigurationServiceImpl.createTriggerList(PlanKey planKey,
@NotNull List<TriggerDefinition> triggerDefinitions) |
void |
TriggerConfigurationService.createTriggerList(PlanKey planKey,
@NotNull List<TriggerDefinition> triggerDefinitions)
Initializes trigger list of a plan with the provided list.
|
void |
TriggerConfigurationServiceImpl.deleteTrigger(@NotNull PlanKey planKey,
long triggerId) |
void |
TriggerConfigurationService.deleteTrigger(@NotNull PlanKey planKey,
long triggerId)
Delete a given trigger Definition
|
TriggerDefinition |
TriggerConfigurationServiceImpl.editTrigger(@NotNull PlanKey planKey,
long triggerId,
@Nullable String userDescription,
boolean isEnabled,
@Nullable Set<Long> triggeringRepositories,
@NotNull Map<String,String> triggerConfigurationMap,
@NotNull Map<String,String> triggerConditionsConfiguration) |
TriggerDefinition |
TriggerConfigurationService.editTrigger(@NotNull PlanKey planKey,
long triggerId,
@Nullable String userDescription,
boolean isEnabled,
@Nullable Set<Long> triggeringRepositories,
@NotNull Map<String,String> triggerConfigurationMap,
@NotNull Map<String,String> triggerConditionsConfiguration)
Update the details of specific triggerDefinition
|
Modifier and Type | Method and Description |
---|---|
boolean |
CronTriggerConfigurator.isAffectedByPlanDeletion(@NotNull PlanKey deletedPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
CronTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
CronTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
boolean |
AfterSuccessfulPlanTriggerConfigurator.isAffectedByPlanDeletion(@NotNull PlanKey deletedPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.isAffectedByPlanDeletion(@NotNull PlanKey deletedPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.updatePlanKey(@NotNull PlanKey originalPlanKey,
@NotNull PlanKey newPlanKey,
@NotNull TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
static String |
UrlUtils.replacePlanResultKeyInUrl(String url,
PlanKey planKey,
int newBuildNumber) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
BuildIdentifierImpl.getTypedPlanKey() |
@NotNull PlanKey |
BuildIdentifier.getTypedPlanKey()
Full plan key (e.g.
|