Modifier and Type | Method and Description |
---|---|
Collection<ErrorDetails> |
Bamboo.getErrorMessages(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(PlanKey planKey) |
List<MutableArtifact> |
ArtifactDao.findPlanArtifactsReferencedByVersion(PlanKey planKey)
Find all artifacts that belong to a plan are part of a deployment version.
|
void |
ArtifactHibernateDao.removeByPlanKey(PlanKey planKey) |
void |
ArtifactDao.removeByPlanKey(PlanKey planKey)
Remove all artifacts that belong to a plan and are not part of a deployment version.
|
void |
ArtifactHibernateDao.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey) |
void |
ArtifactDao.updatePlanKey(PlanKey originalPlanKey,
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,
String userWhoUpdated,
TrackingEntry trackingEntry) |
UserResponsibilityEvent(Object source,
PlanKey buildKey,
String userResponsible,
String userWhoUpdated,
TrackingEntry trackingEntry) |
UserRespRemovedEvent(Object source,
PlanKey buildKey,
String userResponsible,
String userWhoUpdated,
TrackingEntry trackingEntry) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultStopBuildManager.cancelAllBuilds(PlanKey planKey,
boolean abandonResult) |
void |
StopBuildManager.cancelAllBuilds(PlanKey planKey,
boolean abandonResult)
Will stop all builds running for plan identified by
PlanKey |
PlanBranchPullRequest |
PlanBranchPullRequestServiceImpl.create(PlanKey branchKey,
long pullRequestId) |
PlanBranchPullRequest |
PlanBranchPullRequestService.create(PlanKey branchKey,
long pullRequestId)
Creates a new link between chain branch and pull request.
|
boolean |
PlanBranchPullRequestDaoImpl.deleteForChainBranch(PlanKey planKey) |
boolean |
PlanBranchPullRequestServiceImpl.deleteForChainBranch(PlanKey branchKey) |
boolean |
PlanBranchPullRequestService.deleteForChainBranch(PlanKey branchKey)
Deletes a link for the given plan branch.
|
boolean |
PlanBranchPullRequestDao.deleteForChainBranch(PlanKey branchKey) |
Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDaoImpl.findForChainAndPullRequest(PlanKey chainKey,
long pullRequestId) |
Optional<PlanBranchPullRequest> |
PlanBranchPullRequestServiceImpl.findForChainAndPullRequest(PlanKey chainKey,
long pullRequestId) |
Optional<PlanBranchPullRequest> |
PlanBranchPullRequestService.findForChainAndPullRequest(PlanKey chainKey,
long pullRequestId)
|
Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDao.findForChainAndPullRequest(PlanKey chainKey,
long pullRequestId) |
Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDaoImpl.findForChainBranch(PlanKey branchKey) |
Optional<PlanBranchPullRequest> |
PlanBranchPullRequestServiceImpl.findForChainBranch(PlanKey branchKey) |
Optional<PlanBranchPullRequest> |
PlanBranchPullRequestService.findForChainBranch(PlanKey branchKey)
Retrieves a
PlanBranchPullRequest connection for the given plan branch by branch key. |
Optional<MutablePlanBranchPullRequest> |
PlanBranchPullRequestDao.findForChainBranch(PlanKey branchKey) |
List<LinkedJiraIssue> |
LuceneBasedJiraIssueResultsManagerImpl.findJiraIssuesForPlanKey(PlanKey planKey) |
List<LinkedJiraIssue> |
JiraIssueResultsManager.findJiraIssuesForPlanKey(PlanKey planKey)
Finds a list of jira issues linked to a particular build key
|
BuildDefinition |
DefaultBuildDefinitionManagerTx.getBuildDefinition(PlanKey planKey) |
BuildDefinition |
DefaultBuildDefinitionManager.getBuildDefinition(PlanKey planKey) |
BuildDefinition |
BuildDefinitionManager.getBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the
Plan . |
Iterable<CurrentlyBuilding> |
DefaultBuildExecutionManager.getCurrentlyExecuting(PlanKey planKey) |
Iterable<CurrentlyBuilding> |
BuildExecutionManager.getCurrentlyExecuting(PlanKey planKey) |
BuildDefinition |
DefaultBuildDefinitionManagerTx.getUnmergedBuildDefinition(PlanKey planKey) |
BuildDefinition |
DefaultBuildDefinitionManager.getUnmergedBuildDefinition(PlanKey planKey) |
BuildDefinition |
BuildDefinitionManager.getUnmergedBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the
Plan . |
void |
BuildLoggerManager.removeBuildLogger(PlanKey planKey)
Removes plan logger for given plan key.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanDependencyManagerImpl.adjustChildDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting) |
void |
PlanDependencyManager.adjustChildDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting)
Update the existing children dependencies of the given plan and dependency Type to match the provided list of new children.
|
void |
PlanDependencyManagerImpl.adjustParentDependencyList(String dependencyKey,
Plan childPlan,
Set<PlanKey> newParentPlanKeys,
boolean overwriteExisting) |
void |
PlanDependencyManager.adjustParentDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newParentPlanKeys,
boolean overwriteExisting)
Update the existing parent dependencies of the given plan and dependency Type to match the provided list of new parents.
|
ErrorCollection |
PlanDependencyManagerImpl.validateChildDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting) |
ErrorCollection |
PlanDependencyManager.validateChildDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting)
Validate child dependency list
|
Constructor and Description |
---|
BuildStatusHelper(ImmutableBuildable buildable,
PlanKey planKey,
int buildNumber,
ResultsSummaryManager resultsSummaryManager) |
BuildStatusHelper(ImmutablePlan plan,
PlanKey planKey,
ResultsSummary currentBuildResult,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractArtifactManager.removeArtifactsFromStorage(PlanKey planKey) |
void |
LocalArtifactManager.removeArtifactsFromStorage(PlanKey planKey) |
void |
ArtifactManager.removeArtifactsFromStorage(PlanKey planKey)
Removes artifact files for all results of a single.
|
void |
BambooRemoteArtifactHandler.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
S3ArtifactHandler.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
AbstractLocalArtifactHandler.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
ArtifactHandlerDecoratorSupport.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
void |
ArtifactHandler.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider)
Removes artifact files for all results of a single.
|
Modifier and Type | Method and Description |
---|---|
static PlanKey |
ChainParamMapHelper.getChainKey(ActionParametersMap params) |
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
JobCreationServiceImpl.createJobAndBranches(BuildConfiguration buildConfiguration,
ActionParametersMap actionParametersMap,
PlanCreationService.EnablePlan enabled) |
List<PlanKey> |
JobCreationService.createJobAndBranches(BuildConfiguration buildConfiguration,
ActionParametersMap actionParametersMap,
PlanCreationService.EnablePlan ifPlanEnabled) |
Modifier and Type | Method and Description |
---|---|
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 |
ChainBranchCreationServiceImpl.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 |
---|---|
PlanKey |
CronTriggerBuildStrategy.getSourceBranch()
Deprecated.
|
PlanKey |
CronTriggerBuildStrategy.getSourcePlan()
Deprecated.
|
PlanKey |
CronTriggerBuildStrategy.getSourcePlanKey(Triggerable triggerable)
Deprecated.
|
PlanKey |
AfterSuccessfulPlanTrigger.getTriggeringBranchKey()
Deprecated.
|
PlanKey |
AfterSuccessfulPlanTrigger.getTriggeringPlanKey()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
CronTriggerBuildStrategy.setSourceBranch(PlanKey sourceBranch)
Deprecated.
|
void |
CronTriggerBuildStrategy.setSourcePlan(PlanKey sourcePlan)
Deprecated.
|
void |
AfterSuccessfulPlanTrigger.setTriggeringBranchKey(PlanKey triggeringBranchKey)
Deprecated.
|
void |
AfterSuccessfulPlanTrigger.setTriggeringPlanKey(PlanKey triggeringPlanKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
Latest25FiveBuildResultsFilter.getFromBuildNumber(PlanKey planKey) |
int |
TimeAgoBuildResultsFilter.getFromBuildNumber(PlanKey planKey) |
int |
AllBuildResultsFilter.getFromBuildNumber(PlanKey planKey) |
int |
BuildResultsFilter.getFromBuildNumber(PlanKey planKey)
The build number (inclusive) that extrenal callers can use to filter for a given plan.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<PlanKey,Long> |
ChainStageHibernateDao.getChainStagesMarkedForDeletion() |
com.google.common.collect.Multimap<PlanKey,Long> |
ChainStageDao.getChainStagesMarkedForDeletion() |
static com.google.common.collect.Multimap<PlanKey,Long> |
ChainStageTuple.groupByPlanKey(List<ChainStageTuple> list) |
Modifier and Type | Method and Description |
---|---|
List<ChainExecution> |
ChainExecutionManagerImpl.getExecutingChains(PlanKey planKey) |
List<ChainExecution> |
ChainExecutionAccessor.getExecutingChains(PlanKey planKey)
Get the Collection of the state of the ChainExecution or empty collection when no chain is executing
|
boolean |
ChainExecutionManagerImpl.isActive(PlanKey planKey) |
boolean |
ChainExecutionAccessor.isActive(PlanKey planKey)
Checks if the
Chain is "active" ie being queued, or building |
boolean |
ChainExecutionManagerImpl.isExecuting(PlanKey planKey) |
boolean |
ChainExecutionAccessor.isExecuting(PlanKey planKey)
Checks if the Chain is building
|
int |
ChainExecutionManagerImpl.numberOfChainsExecuting(PlanKey planKey) |
int |
ChainExecutionAccessor.numberOfChainsExecuting(PlanKey planKey)
Determines the number of
ChainExecution s are active for the given PlanKey |
void |
ChainExecutionManagerImpl.stop(PlanKey planKey) |
void |
ChainExecutionManager.stop(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(Object source,
PlanKey originalPlanKey,
PlanKey newPlanKey) |
ChainMovingEvent(Object source,
PlanKey originalPlanKey,
PlanKey newPlanKey) |
Modifier and Type | Method and Description |
---|---|
String |
ViewCloverCoverageSummary.getJobName(PlanKey jobResultKey)
Returns name of the specified job using the
CachedPlanManager . |
Modifier and Type | Method and Description |
---|---|
void |
CloverBuildProcessor.customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
This part is executed on server as a part of UI configuration.
|
Modifier and Type | Method and Description |
---|---|
List<Comment> |
CommentHibernateDao.getCommentsForBuildResults(PlanKey planKey) |
List<Comment> |
CommentManagerImpl.getCommentsForBuildResults(PlanKey planKey) |
List<Comment> |
CommentDao.getCommentsForBuildResults(PlanKey planKey) |
List<Comment> |
CommentManager.getCommentsForBuildResults(PlanKey planKey)
Get all comments associated with Plan's build results
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporterImpl.exportBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration,
PlanKey chainKey,
PlanBranchWorkflow planBranchWorkflow) |
com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporter.exportBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration,
PlanKey chainKey,
PlanBranchWorkflow planBranchWorkflow)
Exports branch merging configuration to properties
|
Modifier and Type | Method and Description |
---|---|
Collection<ErrorDetails> |
BambooContainer.getErrorMessages(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,
String name,
String description,
PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheServiceImpl.getPlanAndBranchesRelatedDeployments(PlanKey masterOrBranchKey) |
List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheService.getPlanAndBranchesRelatedDeployments(PlanKey masterOrBranchKey)
Retrieve list of deployment projects associated with any of the branches in the plan
|
List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheServiceImpl.getRelatedDeployments(PlanKey planKey) |
List<LinkedDeploymentProject> |
LinkedDeploymentProjectCacheService.getRelatedDeployments(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
EnvironmentTriggerServiceImpl.getCalculatedTriggeringPlanKey(InternalEnvironment environment,
DeploymentTriggerBranchSelectionMode branchSelectionMode,
PlanKey customBranchKey) |
PlanKey |
EnvironmentTriggerService.getCalculatedTriggeringPlanKey(InternalEnvironment environment,
DeploymentTriggerBranchSelectionMode branchSelectionMode,
PlanKey customBranchKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
EnvironmentTriggerServiceImpl.getCalculatedTriggeringPlanKey(InternalEnvironment environment,
DeploymentTriggerBranchSelectionMode branchSelectionMode,
PlanKey customBranchKey) |
PlanKey |
EnvironmentTriggerService.getCalculatedTriggeringPlanKey(InternalEnvironment environment,
DeploymentTriggerBranchSelectionMode branchSelectionMode,
PlanKey customBranchKey) |
void |
EnvironmentServiceImpl.updatePlanKey(long deploymentProjectId,
PlanKey originalPlanKey,
PlanKey newPlanKey) |
void |
EnvironmentService.updatePlanKey(long deploymentProjectId,
PlanKey originalPlanKey,
PlanKey newPlanKey)
Update planKey in Environment related configuration when plan key has changed (ie after moving plan).
|
Modifier and Type | Method and Description |
---|---|
boolean |
PlanAwareEnvironmentTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition)
Check if trigger will be affected when Plan is deleted.
|
boolean |
PlanAwareEnvironmentTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition)
Change plan key referenced by a trigger.
|
Modifier and Type | Method and Description |
---|---|
Map<PlanKey,ChainStorageTag> |
DeploymentContextImpl.getChainStorageTags() |
Constructor and Description |
---|
DeploymentContextImpl(DeploymentProject deploymentProject,
DeploymentResult deploymentResult,
List<TaskDefinition> taskDefinitions,
Map<String,String> artifactHandlerConfiguration,
VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials,
Map<PlanKey,ChainStorageTag> necessaryStorageTags,
Map<String,Map<String,String>> pluginConfigMap,
DockerPipelineConfiguration dockerPipelineConfiguration) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
ExecuteManualDeployment.getMasterPlanKey() |
Modifier and Type | Method and Description |
---|---|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey) |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey)
Deprecated.
since 5.10
|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey,
Map<String,String> triggerConfiguration) |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey,
Map<String,String> triggerConfiguration)
Creates
EnvironmentTriggeringAction used during scheduled execution of Environment. |
Constructor and Description |
---|
ScheduledEnvironmentTriggeringAction(Environment environment,
PlanKey sourceBranchKey,
DeploymentExecutionService deploymentExecutionService,
DeploymentVersionService deploymentVersionService,
DeploymentProjectService deploymentProjectService,
CachedPlanManager cachedPlanManager,
TriggerManager triggerManager,
ResultsSummaryManager resultsSummaryManager,
Map<String,String> triggerConfiguration) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
DeploymentProjectImpl.getPlanKey() |
PlanKey |
InternalDeploymentProject.getPlanKey() |
PlanKey |
DeploymentProjectIdentifier.getPlanKey() |
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<MutableDeploymentProjectImpl,PlanKey> |
MutableDeploymentProjectImpl_.planKey |
Modifier and Type | Method and Description |
---|---|
PlanKey |
MutableDeploymentProjectImpl.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
List<MutableDeploymentProject> |
DeploymentProjectDaoImpl.getDeploymentProjectsRelatedToPlan(PlanKey planKey) |
List<MutableDeploymentProject> |
DeploymentProjectDao.getDeploymentProjectsRelatedToPlan(PlanKey planKey)
Get DeploymentProjects linked to Plan with planKey.
|
void |
MutableDeploymentProjectImpl.setPlanKey(PlanKey planKey) |
void |
MutableDeploymentProject.setPlanKey(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
List<MutableDeploymentProject> |
DeploymentProjectDaoImpl.getDeploymentProjectsRelatedToPlans(Set<PlanKey> planKeyFamily) |
List<MutableDeploymentProject> |
DeploymentProjectDao.getDeploymentProjectsRelatedToPlans(Set<PlanKey> planKeyFamily)
Get DeploymentProjects linked to Plan identified with any of plan keys.
|
Modifier and Type | Method and Description |
---|---|
List<DeploymentProject> |
DeploymentProjectServiceImpl.getDeploymentProjectsRelatedToPlan(PlanKey planKey) |
List<DeploymentProject> |
DeploymentProjectService.getDeploymentProjectsRelatedToPlan(PlanKey planKey)
Retrieve the deployment projects that are linked to a specific plan
|
List<DeploymentProject> |
DeploymentProjectServiceImpl.getDeploymentProjectsRelatedToPlanOrBranches(PlanKey masterOrBranchPlanKey) |
List<DeploymentProject> |
DeploymentProjectService.getDeploymentProjectsRelatedToPlanOrBranches(PlanKey masterOrBranchPlanKey)
Retrieve the deployment projects that are linked to a specific plan or any of its branches
|
List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectServiceImpl.getDeploymentProjectsWithStatusesRelatedToPlan(PlanKey planKey) |
List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectService.getDeploymentProjectsWithStatusesRelatedToPlan(PlanKey planKey)
Retrieve the deployment projects that are linked to a specific plan.
|
List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectServiceImpl.getDeploymentProjectsWithStatusesRelatedToPlanOrBranches(PlanKey masterOrBranchPlanKey) |
List<DeploymentProjectWithEnvironmentStatuses> |
DeploymentProjectService.getDeploymentProjectsWithStatusesRelatedToPlanOrBranches(PlanKey masterOrBranchPlanKey)
Retrieve the deployment projects that are linked to a specific plan or any of its branches.
|
void |
DeploymentProjectServiceImpl.resetTriggers(PlanKey planKey) |
void |
DeploymentProjectService.resetTriggers(PlanKey planKey)
Delete and recreate the triggers for every deployment that's related to this planKey.
|
void |
DeploymentProjectServiceImpl.unlinkDeploymentProjectsRelatedToPlan(PlanKey planKey) |
void |
DeploymentProjectService.unlinkDeploymentProjectsRelatedToPlan(PlanKey planKey)
Remove all references to a
Plan from all related deployment projects. |
void |
DeploymentProjectServiceImpl.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey) |
void |
DeploymentProjectService.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey)
Update planKey in DeploymentProject when plan key has changed (ie after moving plan).
|
ErrorCollection |
DeploymentProjectServiceImpl.validateTriggerConfigurationOnPlanChange(long deploymentProjectId,
PlanKey newPlanKey,
List<EnvironmentTriggerValidationError> triggerValidationErrors) |
ErrorCollection |
DeploymentProjectService.validateTriggerConfigurationOnPlanChange(long deploymentProjectId,
PlanKey newPlanKey,
List<EnvironmentTriggerValidationError> triggerValidationErrors)
Validate trigger configuration on deployment project's plan change
|
Modifier and Type | Method and Description |
---|---|
protected Pair<DeploymentVersion,PlanResultKey> |
AbstractCreateDeploymentVersion.getLatestVersionWithPlanResultKey(PlanKey sourcePlanKey,
long deploymentProjectId) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersionSearchCriteria.Builder |
DeploymentVersionSearchCriteria.Builder.createdFromBranch(PlanKey branchKey) |
MutableDeploymentVersion |
DeploymentVersionDao.findLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey)
Find the latest version for a deployment project.
|
MutableDeploymentVersion |
DeploymentVersionDaoImpl.findLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey) |
DeploymentVersionSearchCriteria.Builder |
DeploymentVersionSearchCriteria.Builder.notCreatedFromBranch(PlanKey branchKey) |
void |
DeploymentVersionDao.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
void |
DeploymentVersionDaoImpl.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey) |
DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey)
Find the latest version for a deployment project.
|
boolean |
DeploymentVersionServiceImpl.hasVersionsUnrelatedToBranch(long deploymentProjectId,
PlanKey branchKey) |
boolean |
DeploymentVersionService.hasVersionsUnrelatedToBranch(long deploymentProjectId,
PlanKey branchKey)
Test if there are
DeploymentVersion s in a DeploymentProject that are unrelated to given branch |
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranch(long deploymentProjectId,
PlanKey branchKey) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranch(long deploymentProjectId,
PlanKey branchKey)
Deprecated.
since 6.7 for performance reasons use
DeploymentVersionService.searchVersionsByBranchNoVariables(DeploymentProject, PlanKey) |
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm)
Deprecated.
since 6.7 for performance reasons use
DeploymentVersionService.searchVersionsByNameNoVariables(DeploymentProject, String) |
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndNameNoVariables(DeploymentProject deploymentProject,
PlanKey branchKey,
String searchTerm) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndNameNoVariables(DeploymentProject deploymentProject,
PlanKey branchKey,
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)
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchNoVariables(DeploymentProject deploymentProject,
PlanKey branchKey) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchNoVariables(DeploymentProject deploymentProject,
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)
|
void |
DeploymentVersionServiceImpl.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey) |
void |
DeploymentVersionService.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey)
Update planKey in DeploymentVersion's related entities when plan key has changed (ie after moving plan)
|
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 |
ChainEvent.getPlanKey()
|
PlanKey |
ResultsSummaryUpdatedEvent.getPlanKey() |
PlanKey |
PlanEvent.getPlanKey()
|
PlanKey |
BuildEvent.getPlanKey()
Gets the
PlanKey |
PlanKey |
PlanSuspensionRequestedEvent.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> |
MultipleChainsDeletedEvent.getPlanKeys() |
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,
BranchMonitoringConfiguration branchMonitoringConfiguration) |
ChainCreatedEvent(Object source,
PlanKey planKey) |
ChainDeletedEvent(Object source,
PlanKey planKey,
long id) |
ChainEvent(Object source,
PlanKey chainKey) |
ChainUpdatedEvent(Object source,
PlanKey planKey) |
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) |
MultipleChainsDeletedEvent(Iterable<PlanKey> planKeys) |
MultipleJobsDeletedEvent(Iterable<PlanKey> planKeys) |
Constructor and Description |
---|
PlanArtifactDefinitionAddedEvent(Object source,
PlanKey chainKey,
ArtifactDefinition artifactDefinition) |
PlanArtifactDefinitionEvent(Object source,
PlanKey chainKey,
ArtifactDefinition artifactDefinition) |
PlanArtifactDefinitionUpdatedEvent(Object source,
PlanKey chainKey,
ArtifactDefinition artifactDefinition) |
PlanSharedArtifactDefinitionListModified(Object source,
PlanKey chainKey,
Map<Long,ArtifactDefinition> sharedArtifacts) |
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(StorageTagService storageTagService,
List<TaskDefinition> taskDefinitions,
BuildIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
File |
ArtifactStorage.getArtifactDestinationDirectory(PlanKey planKey,
String version,
ArtifactDefinitionContext artifact)
Deprecated.
|
File |
ArtifactStorage.getArtifactDirectory(PlanKey planKey)
Deprecated.
|
File |
ArtifactStorage.getArtifactRootDirectory(PlanKey planKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
UrlRewriteFilter.getPlanKey(String path) |
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 |
---|---|
static Set<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
Modifier and Type | Method and Description |
---|---|
void |
BuildResultsIndexer.deIndexBuild(PlanKey planKey) |
void |
BuildResultsIndexer.deIndexBuild(PlanKey planKey,
Set<String> affectedJiraIssuesKeys) |
long |
BuildResultsIndexer.indexJob(ImmutableChain immutableChain,
PlanKey jobKey)
Indexes the job.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBuildResultsIndexer.deIndexBuild(PlanKey planKey) |
void |
DefaultBuildResultsIndexer.deIndexBuild(PlanKey planKey,
Set<String> affectedJiraIssuesKeys) |
long |
DefaultBuildResultsIndexer.indexJob(ImmutableChain immutableChain,
PlanKey jobKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
ChainDeindexedEvent.getPlanKey() |
PlanKey |
ChainIndexedEvent.getPlanKey() |
Constructor and Description |
---|
ChainDeindexedEvent(Indexer source,
PlanKey planKey,
Set<String> jiraIssueKeys) |
ChainIndexedEvent(Indexer source,
PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
void |
JiraBranchLinkingServiceImpl.linkBranchToIssueIfRequiredAsync(PlanKey planKey,
String username) |
void |
JiraBranchLinkingService.linkBranchToIssueIfRequiredAsync(PlanKey planKey,
String username)
Looks for an issue key in the branch name.
|
Modifier and Type | Method and Description |
---|---|
int |
LabelManagerImpl.addLabel(String labelName,
PlanKey planKey,
com.atlassian.user.User user) |
int |
LabelManager.addLabel(String labelName,
PlanKey planKey,
com.atlassian.user.User user)
Creates a normal label for a plan
|
boolean |
LabelManagerImpl.addLabels(List<String> labelNames,
PlanKey planKey,
com.atlassian.user.User user) |
boolean |
LabelManager.addLabels(List<String> labelNames,
PlanKey planKey,
com.atlassian.user.User user)
Creates multiple normal labels for a plan
|
int |
LabelManagerImpl.removeLabel(String labelName,
PlanKey planKey,
com.atlassian.user.User user) |
int |
LabelManager.removeLabel(String labelName,
PlanKey planKey,
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 |
---|---|
PlanKey |
RssAffectedPlan.getPlanKey() |
Constructor and Description |
---|
RssAffectedPlan(String projectName,
PlanKey planKey,
String planName,
boolean disabled) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanHelper.createBranch(TestBuildDetails plan,
String branchVcsName,
String branchName)
Deprecated.
since 5.10, use
PlansControl.createBranch(PlanKey, String, String) |
PlanKey |
PlanHelper.createBranchManually(TestBuildDetails plan,
String branchVcsName,
String branchName)
Deprecated.
since 5.10, use
PlansControl.createBranch(PlanKey, String, String) |
Modifier and Type | Method and Description |
---|---|
ResultSummaryPage |
PlanHelper.runPlanAndWaitForSuccessfulResult(PlanKey planKey)
Deprecated.
since 5.9, use backdoor.plans().triggerBuildAndAwaitSuccess(PlanKey)
|
Modifier and Type | Method and Description |
---|---|
MovePlansPage |
MovePlansPage.withPlan(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() |
PlanKey |
VariableConfigurationPage.getPlanKey() |
PlanKey |
DependenciesConfigurationPage.PlanDependencyElement.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
Iterable<PlanKey> |
DependenciesConfigurationPage.getChildPlanKeys() |
Modifier and Type | Method and Description |
---|---|
boolean |
RequirementDetailsPage.canBeRemovedFrom(PlanKey jobKey) |
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 |
CreatePlanPage.submitNewPlan(PlanKey planKey) |
Constructor and Description |
---|
ArtifactConfigurationPage(PlanKey jobKey) |
AuditLogPage(PlanKey planKey) |
BranchesConfigurationPage(PlanKey planKey) |
ConfigureJobDockerPage(PlanKey planKey) |
ConfigurePlanTriggersPage(PlanKey planKey) |
CreatePlanTasksPage(PlanKey planKey) |
DeletePlanPage(PlanKey planKey) |
DependenciesConfigurationPage(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(PlanKey branchPlanKey) |
ConfigurePlanNotificationsPage(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 |
---|---|
CronTriggerComponent |
CronTriggerComponent.assertCustomSourceBranch(PlanKey branchKey) |
AfterSuccessfulPlanTriggerComponent |
AfterSuccessfulPlanTriggerComponent.assertCustomTriggeringBranch(PlanKey branchKey) |
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 |
FileBasedPersister.deleteBuildResults(PlanKey planKey,
long buildNumber) |
void |
BuildPersisterDecorator.deleteBuildResults(PlanKey planKey,
long buildNumber)
Remove a specific build result
|
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<PlanKeyProvider,PlanKey> |
PlanKeyProvider.getPlanKey
Deprecated.
since Bamboo 6.2, use reference to
PlanKeyProvider.getPlanKey() |
static com.google.common.base.Function<PlanIdentifier,PlanKey> |
PlanIdentifier.getPlanKeyFunction
Deprecated.
since 5.10 use PlanIdentifier::getPlanKey
|
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(PlanKey planKey) |
static PlanKey |
PlanKeys.asNonDeletedPlanKey(PlanKey planKey) |
PlanKey |
PlanKeyUserType.fromString(String key) |
static PlanKey |
PlanKeys.getChainKeyFromJobKey(PlanKey jobKey)
|
static PlanKey |
PlanKeys.getChainKeyIfJobKey(PlanKey jobKey)
|
PlanKey |
ItemDetections.getDetectionRequest() |
PlanKey |
PlanStatusHistoryAction.getJobKey() |
static PlanKey |
PlanKeys.getJobKey(PlanKey chainPlanKey,
String jobKey)
|
static PlanKey |
PlanHelper.getMasterPlanKey(ImmutablePlan plan)
Get planKey of master plan if plan has master or planKey of passed plan otherwise.
|
PlanKey |
PlanStatusHistoryAction.getPlanKey() |
PlanKey |
PlanIdentifierImpl.getPlanKey() |
PlanKey |
PlanAwareContextImpl.getPlanKey() |
PlanKey |
AbstractPlan.getPlanKey() |
PlanKey |
TriggerableInternalKeyImpl.getPlanKey() |
PlanKey |
PlanIdentifier.getPlanKey()
|
PlanKey |
PlanAwareContext.getPlanKey() |
PlanKey |
PlanKeyProvider.getPlanKey() |
PlanKey |
PlanResultKey.getPlanKey()
Returns the key component of this
PlanResultKey |
static PlanKey |
PlanKeys.getPlanKey(com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier planIdentifier)
Creates a
PlanKey from PlanIdentifier |
static PlanKey |
PlanKeys.getPlanKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
Creates a
PlanKey from PlanProperties |
static PlanKey |
PlanKeys.getPlanKey(String planKey)
Creates a
PlanKey from its string form 'BAM-BOO' or from the result key form 'BAM-BOO-123' |
static PlanKey |
PlanKeys.getPlanKey(String projectKey,
String buildKey)
Creates a
PlanKey from project key and build key |
static PlanKey |
PlanKeys.getPlanKey(String projectKey,
String chainKey,
String buildKey)
Creates a
PlanKey from project key, parent chain key and build key |
PlanKey |
DetectionQueue.pop() |
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(PlanKey branchKey,
PlanKey originalPlanKey,
PlanKey newPlanKey)
Update plan key part in branch key
|
Modifier and Type | Method and Description |
---|---|
<T extends Plan> |
PlanHibernateDao.getAllPlanKeys(Class<T> planType) |
<T extends Plan> |
PlanManagerImpl.getAllPlanKeys(Class<T> planType) |
<T extends Plan> |
PlanManager.getAllPlanKeys(Class<T> planType)
Deprecated.
since 6.2 with no replacement
|
<T extends Plan> |
PlanDao.getAllPlanKeys(Class<T> planType)
Returns all plan keys of a particular type, including the plans marked for deletion.
|
Set<PlanKey> |
PlanParticleManagerImpl.getConsumersPlanKeys(Iterable<? extends PlanParticle> planParticles) |
Set<PlanKey> |
PlanParticleManager.getConsumersPlanKeys(Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle consumers
|
Set<PlanKey> |
PlanParticleManagerImpl.getConsumersPlanKeys(PlanKey planKey) |
Set<PlanKey> |
PlanParticleManager.getConsumersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
List<PlanKey> |
PlanHibernateDao.getJobKeys(PlanKey chainKey) |
List<PlanKey> |
PlanDao.getJobKeys(PlanKey chainKey)
Return all plan keys of Jobs that belong to a Chain
|
static Set<PlanKey> |
PlanHelper.getMasterAndBranchesKeys(CachedPlanManager cachedPlanManager,
PlanKey masterOrBranchKey)
Get keys of all branches and master plan.
|
<T extends Plan> |
PlanHibernateDao.getPlanKeys(Class<T> planType) |
<T extends Plan> |
PlanDao.getPlanKeys(Class<T> planType)
Returns all plan keys of a particular type, NOT including the plans marked for deletion.
|
Set<PlanKey> |
PlanParticleManagerImpl.getProducersPlanKeys(Iterable<? extends PlanParticle> planParticles) |
Set<PlanKey> |
PlanParticleManager.getProducersPlanKeys(Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle producers
|
Set<PlanKey> |
PlanParticleManagerImpl.getProducersPlanKeys(PlanKey planKey) |
Set<PlanKey> |
PlanParticleManager.getProducersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
Map<PlanKey,PlanKey> |
MovePlansException.getSuccessfulPlanKeyChanges() |
Map<PlanKey,PlanKey> |
MovePlansException.getSuccessfulPlanKeyChanges() |
Map<PlanKey,PlanKey> |
MovePlanService.movePlansToProject(Collection<TopLevelPlan> plans,
Project project,
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> planKeyMappings,
Map<String,String> planNameMappings)
Moves a list of plans to a new project.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanParticleManagerImpl.adjustPlanParticles(PlanKey planKey,
Collection<? extends PlanParticle> consumedParticles,
Collection<? extends PlanParticle> producedParticles) |
void |
PlanParticleManager.adjustPlanParticles(PlanKey planKey,
Collection<? extends PlanParticle> consumedParticles,
Collection<? extends PlanParticle> producedParticles)
Adjust list of plan's consumed and produced particles.
|
static PlanKey |
PlanKeys.asDeletedPlanKey(PlanKey planKey) |
static PlanKey |
PlanKeys.asNonDeletedPlanKey(PlanKey planKey) |
int |
PlanKey.compareTo(PlanKey planKey) |
void |
ItemDetections.end(PlanKey planKey) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forPlanKey(PlanKey planKey) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forStageId(PlanKey planKey,
long stageId) |
Stream<ImmutableChainBranch> |
FilteringPlanManager.getBranchesOfChain(PlanKey chainKey)
Get all feature branches associated with the given chain, unsorted
|
static com.atlassian.fugue.Option<Long> |
PlanKeys.getBranchNumberSuffix(PlanKey chainKey,
PlanKey branchKey)
Deprecated.
since 6.2 use
PlanKeys.getNumberSuffixFromBranch(PlanKey, PlanKey) |
static PlanKey |
PlanKeys.getChainKeyFromJobKey(PlanKey jobKey)
|
static PlanKey |
PlanKeys.getChainKeyIfJobKey(PlanKey jobKey)
|
Set<PlanKey> |
PlanParticleManagerImpl.getConsumersPlanKeys(PlanKey planKey) |
Set<PlanKey> |
PlanParticleManager.getConsumersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
List<CurrentlyBuilding> |
DelegatingPlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey) |
List<CurrentlyBuilding> |
PlanExecutionManagerImpl.getCurrentlyBuildingForPlan(PlanKey planKey) |
List<CurrentlyBuilding> |
PlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey)
|
Collection<? extends ExecutionStatus> |
ExecutionStatusProviderImpl.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
DelegatingPlanExecutionManager.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
PlanExecutionManagerImpl.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
ExecutionStatusProvider.getExecutionStatus(PlanKey planKey)
Returns a collection of current
ExecutionStatus s for PlanKey |
static PlanKey |
PlanKeys.getJobKey(PlanKey chainPlanKey,
String jobKey)
|
List<PlanKey> |
PlanHibernateDao.getJobKeys(PlanKey chainKey) |
List<PlanKey> |
PlanDao.getJobKeys(PlanKey chainKey)
Return all plan keys of Jobs that belong to a Chain
|
static Set<PlanKey> |
PlanHelper.getMasterAndBranchesKeys(CachedPlanManager cachedPlanManager,
PlanKey masterOrBranchKey)
Get keys of all branches and master plan.
|
static Optional<Long> |
PlanKeys.getNumberSuffixFromBranch(PlanKey chainKey,
PlanKey branchKey)
Extract numerical branch suffix
|
static String |
PlanKeys.getPartialJobKey(PlanKey jobKey)
Return a partial job key from a full job key, e.g.
|
ImmutableChain |
PlanServiceImpl.getPlan(PlanKey planKey) |
ImmutableChain |
PlanService.getPlan(PlanKey planKey)
Get an individual stage from a plan
|
Plan |
PlanManagerImpl.getPlanByKey(PlanKey planKey) |
Plan |
PlanManager.getPlanByKey(PlanKey planKey)
|
<T extends Plan> |
PlanHibernateDao.getPlanByKey(PlanKey planKey,
Class<T> aClass) |
<T extends Plan> |
PlanManagerImpl.getPlanByKey(PlanKey planKey,
Class<T> planType) |
<T extends Plan> |
PlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
|
<T extends Plan> |
PlanDao.getPlanByKey(PlanKey planKey,
Class<T> aClass)
Return a
Plan that matches the given key |
<T extends Plan> |
PlanManagerImpl.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType) |
<T extends Plan> |
PlanManager.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType)
|
<T extends Plan> |
PlanHibernateDao.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType) |
<T extends Plan> |
PlanManagerImpl.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType) |
<T extends Plan> |
PlanManager.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
Deprecated.
since 4.2
|
<T extends Plan> |
PlanDao.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
|
Class<? extends Plan> |
PlanHibernateDao.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanManagerImpl.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanManager.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanDao.getPlanClass(PlanKey planKey) |
static String |
PlanKeys.getPlanKeyPart(PlanKey planKey)
Returns plan key part for given
PlanKey |
static PlanResultKey |
PlanKeys.getPlanResultKey(PlanKey planKey,
int buildNumber)
Creates a
PlanResultKey from the given PlanKey and buildNumber |
Set<PlanKey> |
PlanParticleManagerImpl.getProducersPlanKeys(PlanKey planKey) |
Set<PlanKey> |
PlanParticleManager.getProducersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
static String |
PlanKeys.getProjectKeyPart(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(PlanKey planKey) |
static boolean |
PlanHelper.hasMultipleBranches(CachedPlanManager cachedPlanManager,
PlanKey planKey) |
static boolean |
PlanHelper.haveTheSameMaster(CachedPlanManager cachedPlanManager,
PlanKey masterOrBranchKeyA,
PlanKey masterOrBranchKeyB) |
boolean |
DelegatingPlanExecutionManager.isBusy(PlanKey planKey) |
boolean |
PlanExecutionManagerImpl.isBusy(PlanKey planKey) |
boolean |
PlanExecutionManager.isBusy(PlanKey planKey)
|
static boolean |
PlanKeys.isChainKey(PlanKey planKey)
|
static boolean |
PlanKeys.isJobKey(PlanKey planKey)
|
boolean |
PlanHibernateDao.isPlanKeyConflicting(PlanKey planKey) |
boolean |
PlanManagerImpl.isPlanKeyConflicting(PlanKey planKey) |
boolean |
PlanManager.isPlanKeyConflicting(PlanKey planKey)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanDao.isPlanKeyConflicting(PlanKey planKey)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanHibernateDao.isPlanKeyConflicting(PlanKey planKey,
long idOfChainBeingVerified) |
boolean |
PlanManagerImpl.isPlanKeyConflicting(PlanKey planKey,
long planIdToIgnore) |
boolean |
PlanManager.isPlanKeyConflicting(PlanKey planKey,
long planIdToIgnore)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanDao.isPlanKeyConflicting(PlanKey planKey,
long idOfChainBeingVerified)
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(CachedPlanManager cachedPlanManager,
PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(CachedPlanManager cachedPlanManager,
PlanKey planKey,
Class<T> planClass,
ImmutableChain masterPlan) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(ImmutablePlanCacheService immutablePlanCacheService,
PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutableChain> |
PlanTestHelper.mockPlan(ImmutablePlanManager immutablePlanManager,
PlanKey planKey,
Class<T> planClass) |
static <T extends Plan> |
PlanTestHelper.mockPlan(PlanDao planDao,
PlanKey planKey,
Class<T> planClass) |
static <T extends ImmutablePlan> |
PlanTestHelper.mockPlan(PlanKey planKey,
Class<T> planClass) |
static <T extends Plan> |
PlanTestHelper.mockPlan(PlanManager planManager,
PlanKey planKey,
Class<T> planClass) |
int |
ExecutionStatusProviderImpl.numberOfExecutions(PlanKey planKey) |
int |
DelegatingPlanExecutionManager.numberOfExecutions(PlanKey planKey) |
int |
PlanExecutionManagerImpl.numberOfExecutions(PlanKey planKey) |
int |
ExecutionStatusProvider.numberOfExecutions(PlanKey planKey)
Returns the number of current
ExecutionStatus s available for PlanKey |
boolean |
ExecutableAgentsHelperImpl.planHasExecutableAgents(PlanKey planKey,
boolean includeDisabled)
Checks if a Buildable can be built on any active agent.
|
boolean |
ExecutableAgentsHelper.planHasExecutableAgents(PlanKey planKey,
boolean includeDisabled)
Checks if a Buildable can be built on any defined agent.
|
boolean |
DetectionQueue.push(PlanKey planKey) |
boolean |
DetectionQueue.pushFront(PlanKey planKey) |
boolean |
ItemDetections.queue(PlanKey planKey) |
boolean |
ItemDetections.queue(PlanKey planKey,
boolean withTopPriority) |
void |
PlanParticleManagerImpl.removePlanParticles(PlanKey planKey) |
void |
PlanParticleManager.removePlanParticles(PlanKey planKey)
Removes all plan particles for a given plan.
|
void |
PlanManagerImpl.removeStages(PlanKey key,
Collection<Long> stageIds) |
void |
PlanManager.removeStages(PlanKey key,
Collection<Long> stageIds)
Remove the tages from the plan specified.
|
void |
PlanStatusHistoryAction.setPlanKey(PlanKey planKey) |
void |
PlanAwareContextImpl.setPlanKey(PlanKey planKey) |
void |
AbstractPlan.setPlanKey(PlanKey planKey) |
void |
PlanAwareContext.setPlanKey(PlanKey planKey) |
void |
Plan.setPlanKey(PlanKey planKey) |
void |
PlanManagerImpl.setPlanSuspendedState(PlanKey planKey,
boolean isSuspended) |
void |
PlanManager.setPlanSuspendedState(PlanKey planKey,
boolean isSuspended) |
boolean |
ItemDetections.start(PlanKey planKey) |
void |
DelegatingPlanExecutionManager.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManagerImpl.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManager.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
DelegatingPlanExecutionManager.stopRequest(PlanKey planKey) |
void |
PlanExecutionManagerImpl.stopRequest(PlanKey planKey) |
void |
PlanExecutionManager.stopRequest(PlanKey planKey)
Stops a build requests for the given
PlanKey |
static PlanKey |
PlanKeys.updatePlanKeyInBranchKey(PlanKey branchKey,
PlanKey originalPlanKey,
PlanKey newPlanKey)
Update plan key part in branch key
|
void |
ItemDetections.waitForEnd(PlanKey planKey) |
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(PlanKey planKey) |
TriggerableInternalKeyImpl(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 |
---|---|
default PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer)
/**
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, create Plan Branches with overriding repository
definitions.
|
PlanKey |
BranchDetectionServiceImpl.createOrEnableChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer) |
PlanKey |
BranchDetectionService.createOrEnableChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer)
Given a branch name and (optionally) vcs branch name, check if branch already exists.
|
PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(PlanKey featureBranch) |
PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(PlanKey featureBranch)
Deprecated.
|
PlanKey |
BranchIntegrationConfigurationImpl.getIntegrationPlanBranchKey() |
PlanKey |
BranchIntegrationPointImpl.getIntegrationPlanBranchKey() |
PlanKey |
BranchIntegrationPoint.getIntegrationPlanBranchKey() |
PlanKey |
BranchIntegrationConfiguration.getIntegrationPlanBranchKey()
Deprecated.
since 6.0. Use
BranchIntegrationConfiguration.getIntegrationPoint() . |
PlanKey |
BranchIntegrationConfigurationImpl.getMergeResultDestinationBranch(PlanKey planBranch) |
PlanKey |
BranchIntegrationConfiguration.getMergeResultDestinationBranch(PlanKey featureBranch)
Returns the PlanKey of the relevant VCS branch we want to perform the merge on.
|
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
ChainPropagatingFacade.createJob(JobCreationService jobCreationService,
BuildConfiguration buildConfiguration,
Map<String,?> actionParametersMap,
PlanCreationService.EnablePlan isPlanEnabled) |
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
default Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branch names, create plan branches for these, with overriding repository definitions.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
Consumer<PlanKey> consumer) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
Consumer<PlanKey> planBranchConsumer)
Given a list of branch names, create plan branches for these, with overriding repository definitions.
|
Modifier and Type | Method and Description |
---|---|
String |
BranchIntegrationConfigurationImpl.findBranchToMergeWith(PlanKey featureBranch) |
String |
BranchIntegrationConfiguration.findBranchToMergeWith(PlanKey featureBranch)
Returns the PlanKey or branch name of the relevant vcs branch we want to merge with.
|
static BranchIntegrationPointImpl |
BranchIntegrationPointImpl.forPlanBranch(PlanKey branchKey)
Creates an integration point for a given plan branch.
|
PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(PlanKey featureBranch) |
PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(PlanKey featureBranch)
Deprecated.
|
static String |
ChainBranchUtils.getChainBranchName(CachedPlanManager cachedPlanManager,
CustomVariableContext customVariableContext,
PlanKey planKey) |
PlanKey |
BranchIntegrationConfigurationImpl.getMergeResultDestinationBranch(PlanKey planBranch) |
PlanKey |
BranchIntegrationConfiguration.getMergeResultDestinationBranch(PlanKey featureBranch)
Returns the PlanKey of the relevant VCS branch we want to perform the merge on.
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer)
/**
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
protected void |
BranchDetectionServiceImpl.createNewBranchesForChainNoLock(ImmutableChain chain,
PlanRepositoryDefinition defaultRepositoryDefinition,
boolean ignoreChainConfig,
Consumer<PlanKey> consumer) |
PlanKey |
BranchDetectionServiceImpl.createOrEnableChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer) |
PlanKey |
BranchDetectionService.createOrEnableChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry,
Consumer<PlanKey> planBranchConsumer)
Given a branch name and (optionally) vcs branch name, check if branch already exists.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
Consumer<PlanKey> consumer) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan,
Consumer<PlanKey> planBranchConsumer)
Given a list of branch names, create plan branches for these, with overriding repository definitions.
|
Constructor and Description |
---|
BranchIntegrationConfigurationImpl(BranchIntegrationStrategy strategy,
PlanKey integrationPlanKey,
boolean pushEnabled)
|
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() |
PlanKey |
AbstractImmutablePlan.getPlanKey() |
PlanKey |
ImmutableResultsSummaryImpl.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
Set<PlanKey> |
CachedPlanManagerImpl.getBranchKeysOfChain(PlanKey chainKey) |
Set<PlanKey> |
CachedPlanManager.getBranchKeysOfChain(PlanKey chainKey)
Returns keys of all branches for the supplied chain.
|
Modifier and Type | Method and Description |
---|---|
void |
ImmutablePlanCacheServiceImpl.cascadeInvalidate(PlanKey planKey) |
void |
ImmutablePlanCacheService.cascadeInvalidate(PlanKey planKey)
Removes the cached reference for the passed plan and its children.
|
Stream<ImmutableChainBranch> |
CachedPlanManagerImpl.getBranchesOfChain(PlanKey chainKey) |
Set<PlanBranchGist> |
CachedPlanManagerImpl.getBranchGistsOfChain(PlanKey chainKey) |
Set<PlanBranchGist> |
CachedPlanManager.getBranchGistsOfChain(PlanKey chainKey)
Returns basic data of all branches for the supplied chain.
|
Set<PlanKey> |
CachedPlanManagerImpl.getBranchKeysOfChain(PlanKey chainKey) |
Set<PlanKey> |
CachedPlanManager.getBranchKeysOfChain(PlanKey chainKey)
Returns keys of all branches for the supplied chain.
|
Range<Integer> |
ImmutablePlanCacheServiceImpl.getBuildNumbersRange(PlanKey planKey) |
Range<Integer> |
ImmutablePlanCacheService.getBuildNumbersRange(PlanKey planKey)
Deprecated.
since 5.10
|
ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutableChainByKeyIfInCache(PlanKey planKey) |
ImmutableChain |
ImmutablePlanCacheService.getImmutableChainByKeyIfInCache(PlanKey planKey) |
ImmutableChain |
ImmutablePlanCacheServiceImpl.getImmutablePlanByKey(PlanKey planKey) |
ImmutableChain |
ImmutablePlanCacheService.getImmutablePlanByKey(PlanKey planKey)
Returns a plan if one exists with the key.
|
ImmutableResultsSummary |
ImmutablePlanManagerImpl.getLatestResultForPlan(PlanKey planKey) |
ImmutableResultsSummary |
ImmutablePlanManager.getLatestResultForPlan(PlanKey planKey) |
ImmutableJob |
CachedPlanManagerImpl.getMasterOfJob(PlanKey masterChainKey,
PlanKey jobKey) |
ImmutableJob |
CachedPlanManager.getMasterOfJob(PlanKey masterChainKey,
PlanKey jobKey) |
ImmutableChain |
CachedPlanManagerImpl.getMasterPlan(PlanKey branchKey) |
ImmutableChain |
CachedPlanManager.getMasterPlan(PlanKey branchKey)
Returns master branch for a given branchKey.
|
ImmutableChain |
PlansState.getPlan(PlanKey planKey) |
ImmutablePlan |
CachedPlanManagerImpl.getPlanByKey(PlanKey planKey) |
ImmutableChain |
ImmutablePlanManagerImpl.getPlanByKey(PlanKey planKey) |
ImmutablePlan |
CachedPlanManager.getPlanByKey(PlanKey planKey)
Returns a
ImmutablePlan by its planKey |
ImmutableChain |
ImmutablePlanManager.getPlanByKey(PlanKey planKey) |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKey(PlanKey planKey,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
Returns a
ImmutablePlan by its planKey and Class |
<T extends ImmutablePlan> |
CachedPlanManagerImpl.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType) |
<T extends ImmutablePlan> |
CachedPlanManager.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType)
|
void |
ImmutablePlanCacheServiceImpl.hideDeletedPlan(PlanKey planKey) |
void |
ImmutablePlanCacheService.hideDeletedPlan(PlanKey planKey)
Hides the plan.
|
void |
ImmutablePlanCacheServiceImpl.invalidate(PlanKey planKey) |
void |
ImmutablePlanCacheService.invalidate(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
|
boolean |
CachedPlanManagerImpl.isBranchOf(PlanKey chainKey,
PlanKey branchKey) |
boolean |
CachedPlanManager.isBranchOf(PlanKey chainKey,
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(PlanKey planKey) |
void |
ImmutablePlanCacheService.remove(PlanKey planKey)
Removes the cached Plan and its metadata.
|
PlansState |
PlansState.removePlanFromState(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.
|
void |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidateAndReindex(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex)
Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate.
|
void |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidateAndReindex(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex)
Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate.
|
void |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidateAndReindex(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Set<PlanKey> chainsToInvalidate,
Set<PlanKey> chainsToReindex)
Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate.
|
PlansState |
PlansState.removePlansFromState(Iterable<PlanKey> planKeys) |
PlansState |
PlansState.updateState(Map<PlanKey,? extends ImmutableChain> plansMap) |
<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 databaseId,
ImmutablePlan plan,
PlanKey planKey,
String name,
BuildLoggerManager buildLoggerManager,
LabelManager labelManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinition buildDefinition,
ResultsSummaryManager resultsSummaryManager) |
PlanBranchGist(PlanKey key,
String buildName,
boolean suspendedFromBuilding,
PlanBranchWorkflow planBranchWorkflow) |
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() |
com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndexer.getBranchKeys(PlanKey planKey) |
com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndex.getBranchKeys(PlanKey planKey) |
Collection<PlanKey> |
PlanRepositoryIndexer.getPlans(PlanRepositoryIndex.Query query) |
Collection<PlanKey> |
PlanRepositoryIndex.getPlans(PlanRepositoryIndex.Query query) |
Modifier and Type | Method and Description |
---|---|
void |
PlanRepositoryIndexer.deindex(PlanKey planKey) |
void |
PlanCacheIndicesImpl.deindex(PlanKey planKey) |
void |
PlanBranchCacheIndexer.deindex(PlanKey planKey) |
void |
PlanIdCacheIndexer.deindex(PlanKey planKey) |
void |
PlanCacheIndexer.deindex(PlanKey planKey) |
com.google.common.collect.ImmutableSet<PlanBranchGist> |
PlanBranchCacheIndexer.getBranchGists(PlanKey planKey) |
com.google.common.collect.ImmutableSet<PlanBranchGist> |
PlanBranchCacheIndex.getBranchGists(PlanKey planKey) |
com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndexer.getBranchKeys(PlanKey planKey) |
com.google.common.collect.ImmutableSet<PlanKey> |
PlanBranchCacheIndex.getBranchKeys(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
ImmutableJob |
JobServiceImpl.addJob(PlanKey chainKey,
long stageId,
String jobKeyString,
String name,
String description,
boolean suspended) |
ImmutableJob |
JobService.addJob(PlanKey chainKey,
long stageId,
String jobKey,
String name,
String description,
boolean suspended)
Add a job to an existing stage in the plan
|
ImmutableJob |
JobServiceImpl.cloneJob(String sourceJobKeyString,
PlanKey chainKey,
long stageId,
String newJobKeyString,
String name,
String description,
boolean suspended) |
ImmutableJob |
JobService.cloneJob(String sourceJobKey,
PlanKey chainKey,
long stageId,
String newJobKey,
String name,
String description,
boolean suspended)
Copy the given job and give the copy the key, name, description and suspended state provided.
|
void |
JobServiceImpl.deleteJob(PlanKey jobKey,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
void |
JobService.deleteJob(PlanKey jobKey,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Remove a job.
|
ImmutableJob |
JobServiceImpl.getJob(PlanKey jobKey) |
ImmutableJob |
JobService.getJob(PlanKey jobKey)
Get an individual job
|
List<ImmutableJob> |
JobServiceImpl.getJobsForPlan(PlanKey planKey)
Assumption is made that
AbstractImmutableChain.getAllJobs() will return 2-level sorted list of jobs |
List<ImmutableJob> |
JobService.getJobsForPlan(PlanKey planKey)
Get all jobs in a plan, ordered alphabetically
|
List<ImmutableJob> |
JobServiceImpl.getJobsForStage(PlanKey planKey,
long stageId) |
List<ImmutableJob> |
JobService.getJobsForStage(PlanKey planKey,
long stageId)
Get all jobs in a particular stage, ordered alphabetically
|
ImmutableJob |
JobServiceImpl.updateJob(PlanKey jobKey,
String name,
String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore) |
ImmutableJob |
JobService.updateJob(PlanKey jobKey,
String name,
String description,
boolean suspended,
long stageId,
BambooClosures.Throwing1<ImmutableJob,WebValidationException>... runBefore)
Update the details of a job
|
ErrorCollection |
JobServiceImpl.validateJobForAdd(PlanKey planKey,
long stageId,
String jobKey,
String name,
String description,
boolean suspended) |
ErrorCollection |
JobService.validateJobForAdd(PlanKey chainKey,
long stageId,
String jobKey,
String name,
String description,
boolean suspended)
Validates the parameters for adding a job.
|
ErrorCollection |
JobServiceImpl.validateJobForClone(String sourceJobKeyString,
PlanKey chainKey,
long stageId,
String newJobKey,
String name,
String description,
Boolean suspended) |
ErrorCollection |
JobService.validateJobForClone(String sourceJobKey,
PlanKey chainKey,
long stageId,
String newJobKey,
String name,
String description,
Boolean suspended)
Validates the parameters for cloning a job.
|
ErrorCollection |
JobServiceImpl.validateJobForUpdate(PlanKey jobKey,
String name,
String description,
boolean suspended,
long stageId) |
ErrorCollection |
JobService.validateJobForUpdate(PlanKey jobKey,
String name,
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> planKeyMappings,
Map<String,String> planNameMappings) |
Map<PlanKey,PlanKey> |
MovePlanServiceImpl.movePlansToProject(Collection<TopLevelPlan> plans,
Project newProject,
Map<String,String> planKeyMappings,
Map<String,String> planNameMappings) |
Modifier and Type | Method and Description |
---|---|
ImmutableChainStage |
StageServiceImpl.addStage(PlanKey planKey,
String stageName,
String stageDescription,
boolean isManual,
boolean isFinal) |
ImmutableChainStage |
StageService.addStage(PlanKey planKey,
String name,
String description,
boolean isManual,
boolean isFinal)
Adds a new stage to the specified plan.
|
void |
StageServiceImpl.deleteStage(PlanKey planKey,
long stageId,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore) |
void |
StageService.deleteStage(PlanKey planKey,
long stageId,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore)
Deletes the given stage and any jobs under the stage.
|
ImmutableChainStage |
StageServiceImpl.getStage(PlanKey planKey,
long stageId) |
ImmutableChainStage |
StageService.getStage(PlanKey planKey,
long stageId)
Get an individual stage from a plan
|
List<ImmutableChainStage> |
StageServiceImpl.getStagesForPlan(PlanKey planKey) |
List<ImmutableChainStage> |
StageService.getStagesForPlan(PlanKey planKey)
Get all stages in a plan, in order
|
ImmutableChainStage |
StageServiceImpl.moveStage(PlanKey planKey,
long stageId,
int index) |
ImmutableChainStage |
StageService.moveStage(PlanKey planKey,
long stageId,
int index)
Moves stage to a different position in the plan structure.
|
ImmutableChainStage |
StageServiceImpl.updateStage(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual,
boolean isFinal,
Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore) |
ImmutableChainStage |
StageService.updateStage(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual,
boolean isFinal,
Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore)
Update the details of a stage.
|
ErrorCollection |
StageServiceImpl.validateStageForAdd(PlanKey planKey,
String stageName,
String stageDescription,
boolean isManual,
boolean isFinal) |
ErrorCollection |
StageService.validateStageForAdd(PlanKey planKey,
String name,
String description,
boolean isManual,
boolean isFinal)
Validates a new stage for the specified plan.
|
ErrorCollection |
StageServiceImpl.validateStageForUpdate(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual,
boolean isFinal) |
ErrorCollection |
StageService.validateStageForUpdate(PlanKey planKey,
long stageId,
String name,
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(PlanKey planKey) |
void |
PlanVcsRevisionHistoryManagerImpl.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryManager.cleanupUnusedEntriesForPlan(PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
PlanVcsRevisionHistoryServiceImpl.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryService.cleanupUnusedEntriesForPlan(PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
PlanVcsRevisionHistoryServiceImpl.clearRevisionHistoryForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryService.clearRevisionHistoryForPlan(PlanKey planKey)
Removes all history entries for the plan.
|
void |
PlanVcsRevisionHistoryManagerImpl.clearRevisionHistoryForPlanNewTx(PlanKey planKey) |
void |
PlanVcsRevisionHistoryManager.clearRevisionHistoryForPlanNewTx(PlanKey planKey)
Removes all history entries for the plan.
|
void |
PlanVcsRevisionHistoryHibernateDao.deleteVcsRevisionHistoryForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.deleteVcsRevisionHistoryForPlan(PlanKey planKey)
Deletes entire revision history for a plan.
|
List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryHibernateDao.findLatestVcsRevisionHistoryItems(PlanKey planKey) |
List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryDao.findLatestVcsRevisionHistoryItems(PlanKey planKey)
Retrieves a list of history items with the highest build number.
|
List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryHibernateDao.findLatestVcsRevisionHistoryItemsBeforeBuildNumber(PlanKey planKey,
int buildNumber) |
List<PlanVcsRevisionHistoryItem> |
PlanVcsRevisionHistoryDao.findLatestVcsRevisionHistoryItemsBeforeBuildNumber(PlanKey planKey,
int buildNumber)
Retrieves a list of history items with the highest build number that is lower than the argument.
|
PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryHibernateDao.findVcsRevisionHistoryItem(PlanKey planKey,
long repositoryId,
int buildNumber) |
PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryDao.findVcsRevisionHistoryItem(PlanKey planKey,
long repositoryId,
int buildNumber)
Retrieves a specific history item.
|
Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManagerImpl.getLastVcsRevisionKeys(PlanKey planKey) |
Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManager.getLastVcsRevisionKeys(PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
PlanVcsRevisionDataSet |
PlanVcsRevisionHistoryServiceImpl.getLastVcsRevisionKeys(PlanKey planKey) |
PlanVcsRevisionDataSet |
PlanVcsRevisionHistoryService.getLastVcsRevisionKeys(PlanKey planKey)
Return the mapping between repository ids and strings representing the vcs revisions which were result of
last performed change detection.
|
Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManagerImpl.getLastVcsRevisionKeysBeforeBuildNumber(PlanKey planKey,
int buildNumber) |
Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManager.getLastVcsRevisionKeysBeforeBuildNumber(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(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
void |
PlanVcsRevisionHistoryService.markChangeDetectionCompleted(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData revisionData,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryManagerImpl.markChangeDetectionCompletedNewTx(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
void |
PlanVcsRevisionHistoryManager.markChangeDetectionCompletedNewTx(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData vcsRevisionKey,
long repositoryId)
Saves the information on change detection result in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryHibernateDao.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManagerImpl.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManager.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryServiceImpl.moveRevisionHistoryForPlan(PlanKey originalPlanKey,
PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryService.moveRevisionHistoryForPlan(PlanKey originalPlanKey,
PlanKey planKey)
Moves history entries that are related to a moved plan.
|
void |
PlanVcsRevisionHistoryItem.setPlanKey(PlanKey planKey) |
void |
PlanVcsRevisionHistoryHibernateStandaloneDao.updateRepositoryIdForPlan(PlanKey planKey,
long oldRepositoryId,
long repositoryId) |
void |
PlanVcsRevisionHistoryStandaloneDao.updateRepositoryIdForPlan(PlanKey planKey,
long oldRepositoryId,
long repositoryId)
Update all repository entries for PlanKey re-setting repository id in all of them.
|
Constructor and Description |
---|
PlanVcsRevisionHistoryItem(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
GitRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
GitHubRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
GitChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData vcsRepositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
HgRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
MercurialChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
MercurialChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Constructor and Description |
---|
PlanStatusJsonBean(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<PlanKey> |
MavenFunctions.planHasAutomaticDependencyManagementEnabled(CachedPlanManager cachedPlanManager) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
InputParserImpl.parseChainKey(String chainKeyString)
Parse a chain key from the input string.
|
PlanKey |
InputParserImpl.parseJobKey(PlanKey chainKey,
String jobKeyString)
Parse a job key from the input string.
|
PlanKey |
InputParserImpl.parseJobKey(String jobKeyString)
Parse a job key from the input string.
|
Modifier and Type | Method and Description |
---|---|
static void |
RestHelper.assertExecutePermission(PlanKey planKey) |
static void |
RestHelper.assertNotRssPlan(PlanKey planKey,
PlanRestService planRestService)
Asserts plan is not managed by repository stored specs.
|
static void |
RestHelper.assertPlanPermission(BambooPermission permission,
PlanKey planKey)
Check user has provided or ADMINISTRATION permission on given plan
|
PlanKey |
InputParserImpl.parseJobKey(PlanKey chainKey,
String jobKeyString)
Parse a job key from the input string.
|
Modifier and Type | Method and Description |
---|---|
void |
RestStageServiceImpl.deleteStage(PlanKey planKey,
long stageId,
io.atlassian.fugue.Option<ConfirmationToken> confirmationToken,
javax.ws.rs.core.UriInfo uriInfo) |
void |
RestStageService.deleteStage(PlanKey planKey,
long stageId,
io.atlassian.fugue.Option<ConfirmationToken> confirmationToken,
javax.ws.rs.core.UriInfo uriInfo)
Deletes the given stage.
|
RestWarnings |
RestStageServiceImpl.getStageDeletionWarnings(PlanKey planKey,
long stageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestStageService.getStageDeletionWarnings(PlanKey planKey,
long stageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to stage deletion.
|
RestWarnings |
RestStageServiceImpl.getStageMoveWarnings(PlanKey planKey,
long stageId,
int index,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestStageService.getStageMoveWarnings(PlanKey planKey,
long stageId,
int index,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Returns warnings related to a stage move action.
|
RestStage |
RestStageServiceImpl.updateStage(PlanKey planKey,
long stageId,
RestStage updatedStage,
io.atlassian.fugue.Option<ConfirmationToken> token,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestStage |
RestStageService.updateStage(PlanKey planKey,
long stageId,
RestStage restStage,
io.atlassian.fugue.Option<ConfirmationToken> token,
Expansion expansion,
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.
|
Modifier and Type | Method and Description |
---|---|
RestJob |
RestJobService.addJob(PlanKey planKey,
long stageId,
RestJob restJob,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Create a new job
|
RestJob |
RestJobServiceImpl.addJob(PlanKey planKey,
long stageId,
RestJob restJob,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
void |
RestJobService.deleteJob(PlanKey jobKey,
Optional<ConfirmationToken> confirmationToken,
javax.ws.rs.core.UriInfo uriInfo)
Remove a job.
|
void |
RestJobServiceImpl.deleteJob(PlanKey jobKey,
Optional<ConfirmationToken> confirmationToken,
javax.ws.rs.core.UriInfo uriInfo) |
Token |
RestJobService.getDeleteConfirmationToken(PlanKey jobKey,
javax.ws.rs.core.UriInfo uriInfo)
Generate the delete confirmation token to be used for the given job key.
|
Token |
RestJobServiceImpl.getDeleteConfirmationToken(PlanKey jobKey,
javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestJobService.getJobDeletionWarnings(PlanKey jobKey,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to job deletion.
|
RestWarnings |
RestJobServiceImpl.getJobDeletionWarnings(PlanKey jobKey,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestWarnings |
RestJobService.getJobMoveWarnings(PlanKey jobKey,
long targetStageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Get warnings related to job move.
|
RestWarnings |
RestJobServiceImpl.getJobMoveWarnings(PlanKey jobKey,
long targetStageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
RestJob |
RestJobService.updateJob(PlanKey jobKey,
RestJob restJob,
Optional<ConfirmationToken> confirmationToken,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Updates the details of a specific job.
|
RestJob |
RestJobServiceImpl.updateJob(PlanKey jobKey,
RestJob restJob,
Optional<ConfirmationToken> confirmationToken,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
List<RestArtifactSubscriptions> |
RestArtifactServiceImpl.getAffectedArtifactSubscriptionsByJobMove(PlanKey jobKey,
long stageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
List<RestArtifactSubscriptions> |
RestArtifactService.getAffectedArtifactSubscriptionsByJobMove(PlanKey jobKey,
long stageId,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Returns all artifact subscriptions that will be broken if we move a given job.
|
List<RestArtifactSubscriptions> |
RestArtifactServiceImpl.getConsumersOfArtifacts(PlanKey jobKey,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
List<RestArtifactSubscriptions> |
RestArtifactService.getConsumersOfArtifacts(PlanKey jobKey,
Expansion expansion,
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.
|
RestPageModel<RestJob> |
RestArtifactServiceImpl.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo) |
RestPageModel<RestJob> |
RestArtifactService.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
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(PlanKey planKey)
Checks if
Plan exists and is visible for calling user |
void |
PlanRestServiceImpl.assertPlanExistsAndVisible(PlanKey planKey) |
void |
PlanRestService.assertPlanExistsAndVisible(PlanKey planKey,
Class<? extends ImmutablePlan> clazz)
Checks if
Plan exists, has correct type and is visible for calling user |
void |
PlanRestServiceImpl.assertPlanExistsAndVisible(PlanKey planKey,
Class<? extends ImmutablePlan> clazz) |
ImmutableChain |
PlanRestService.getChainByKey(PlanKey planKey)
Returns a
Plan if plan exists and is visible for calling user |
ImmutableChain |
PlanRestServiceImpl.getChainByKey(PlanKey planKey) |
List<ImmutableJob> |
PlanRestService.getJobsForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of jobs of specified plan.
|
List<ImmutableJob> |
PlanRestServiceImpl.getJobsForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
ImmutablePlan |
PlanRestService.getPlanByKey(PlanKey planKey)
Returns a
Plan if plan exists and is visible for calling user |
ImmutablePlan |
PlanRestServiceImpl.getPlanByKey(PlanKey planKey) |
ImmutablePlan |
PlanRestService.getPlanByKeyUnchecked(PlanKey planKey)
Returns a
Plan if plan exists. |
ImmutablePlan |
PlanRestServiceImpl.getPlanByKeyUnchecked(PlanKey planKey) |
List<ImmutableChainStage> |
PlanRestService.getStagesForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Get a list of stages of specified plan.
|
List<ImmutableChainStage> |
PlanRestServiceImpl.getStagesForPlan(PlanKey planKey,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
StashRepositoryImpl.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
DeploymentProject |
DeploymentsTestService.createDeploymentProjectWithEnvironments(PlanKey planKey) |
DeploymentProject |
DeploymentsTestServiceImpl.createDeploymentProjectWithEnvironments(PlanKey planKey) |
DeploymentProject |
DeploymentsTestService.createSimpleDeployment(PlanKey planKey) |
DeploymentProject |
DeploymentsTestServiceImpl.createSimpleDeployment(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanTestService.createChain(String projectKey,
String projectName,
String chainName) |
PlanKey |
PlanTestServiceImpl.createChain(String projectKey,
String projectName,
String chainName) |
PlanKey |
PlanTestService.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestServiceImpl.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestService.createSimpleChain() |
PlanKey |
PlanTestServiceImpl.createSimpleChain() |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanTestService.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestServiceImpl.createJob(PlanKey chainKey,
String jobSubKey) |
Modifier and Type | Method and Description |
---|---|
static Optional<PlanKey> |
ConditionHelper.getPlanKey(Map<String,Object> context)
Retrieve plan result key from Freemarker context
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
AbstractRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision)
Deprecated.
|
BuildRepositoryChanges |
OnceOffCapableRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision)
Collects the changes for the targetRevision.
|
void |
AbstractRepository.customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Deprecated.
|
File |
AbstractRepository.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
For Subversion, we use the build name's directory within the system's working directory
|
static boolean |
InvalidRepositoryException.handleInvalidRepositoryIfAppropriate(PlanKey planKey,
Throwable e,
ErrorCollection errorCollection,
com.atlassian.event.api.EventPublisher eventPublisher,
ErrorHandler errorHandler)
Returns if the
InvalidRepositoryException was handled (if the passed exception or the cause of it is of
the right type. |
void |
RepositoryConfigurationServiceImpl.moveRepository(PlanKey planKey,
long repositoryId,
long beforePosition,
long afterPosition) |
void |
RepositoryConfigurationService.moveRepository(PlanKey planKey,
long repositoryId,
long beforePosition,
long afterPosition)
Deprecated.
Changes position of repository in the repository list.
|
void |
AbstractRepository.removeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
File |
CVSRepository.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
since 3.3
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
PerforceRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
File |
PerforceRepository.getSourceCodeDirectory(PlanKey planKey)
Retrieves the location that the build will occur.
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
SvnRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
SvnChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
SvnChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData revisionData) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanKeyAdapter.unmarshal(String planKey) |
Modifier and Type | Method and Description |
---|---|
String |
PlanKeyAdapter.marshal(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
InputParser.parseChainKey(String chainKeyString) |
PlanKey |
InputParser.parseJobKey(PlanKey chainKey,
String jobKeyString) |
PlanKey |
InputParser.parseJobKey(String jobKeyString) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
InputParser.parseJobKey(PlanKey chainKey,
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 |
RestUpdateDeploymentProjectRequest.getPlanKey() |
PlanKey |
RestDeploymentProject.getPlanKey() |
PlanKey |
RestCreateDeploymentProjectRequest.getPlanKey() |
Modifier and Type | Field and Description |
---|---|
protected PlanKey |
MutableExpiryCriteria.planKey |
Modifier and Type | Method and Description |
---|---|
PlanKey |
AbstractResultsSummary.getPlanKey() |
PlanKey |
MutableExpiryCriteria.getPlanKey() |
PlanKey |
ExpiryCriteria.getPlanKey()
A plan key by which the
result summaries should be filtered. |
PlanKey |
ImmutableResultsSummary.getPlanKey()
Full key of the plan.
|
Modifier and Type | Method and Description |
---|---|
List<PlanKey> |
BuildResultsSummaryHibernateDao.findJobKeysFromExistingChainResults(PlanKey chainKey) |
List<PlanKey> |
BuildResultsSummaryManagerImpl.findJobKeysFromExistingChainResults(PlanKey chainKey) |
List<PlanKey> |
ResultsSummaryManager.findJobKeysFromExistingChainResults(PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
List<PlanKey> |
BuildResultsSummaryDao.findJobKeysFromExistingChainResults(PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
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 |
List<PlanKey> |
BuildResultsSummaryHibernateDao.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
BuildResultsSummaryManagerImpl.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
ResultsSummaryManager.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
BuildResultsSummaryDao.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
Modifier and Type | Method and Description |
---|---|
int |
BuildResultsSummaryHibernateDao.countResultsWithState(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState) |
int |
BuildResultsSummaryManagerImpl.countResultsWithState(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState) |
int |
ResultsSummaryManager.countResultsWithState(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState)
Counts results with a given state in a given build number range for plan.
|
int |
BuildResultsSummaryDao.countResultsWithState(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState)
Counts results with a given state in a given build number range for plan.
|
List<Integer> |
BuildResultsSummaryHibernateDao.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
BuildResultsSummaryManagerImpl.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
ResultsSummaryManager.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
BuildResultsSummaryDao.findAllBuildResultsNumbers(PlanKey planKey) |
Range<Integer> |
BuildResultsSummaryManagerImpl.findBuildResultNumbersRange(PlanKey planKey) |
Range<Integer> |
ResultsSummaryManager.findBuildResultNumbersRange(PlanKey planKey)
Finds minimum and maximum build number for a plan.
|
Range<Integer> |
BuildResultsSummaryHibernateDao.findBuildResultsNumberRange(PlanKey planKey) |
Range<Integer> |
BuildResultsSummaryDao.findBuildResultsNumberRange(PlanKey planKey)
Finds minimum and maximum build number for a plan.
|
ResultsSummary |
BuildResultsSummaryManagerImpl.findFirstFailedBuildResultBetween(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber) |
ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultBetween(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber)
Finds the first failed build between the upper and lower build numbers inclusively.*
|
List<LinkedJiraIssue> |
BuildResultsSummaryManagerImpl.findJiraIssuesForPlanKey(PlanKey planKey) |
List<LinkedJiraIssue> |
ResultsSummaryManager.findJiraIssuesForPlanKey(PlanKey planKey)
Retrieves a list of
LinkedJiraIssue linked to the given plan key |
List<PlanKey> |
BuildResultsSummaryHibernateDao.findJobKeysFromExistingChainResults(PlanKey chainKey) |
List<PlanKey> |
BuildResultsSummaryManagerImpl.findJobKeysFromExistingChainResults(PlanKey chainKey) |
List<PlanKey> |
ResultsSummaryManager.findJobKeysFromExistingChainResults(PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
List<PlanKey> |
BuildResultsSummaryDao.findJobKeysFromExistingChainResults(PlanKey chainKey)
Find keys of jobs for which results associated with given plan exist.
|
ResultsSummary |
BuildResultsSummaryManagerImpl.findLastFailingBuildResultBefore(PlanKey planKey,
int buildNumber) |
ResultsSummary |
ResultsSummaryManager.findLastFailingBuildResultBefore(PlanKey planKey,
int buildNumber)
Finds the last failing
ResultsSummary before buildNumber |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state |
<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> |
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> |
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 . |
<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 . |
BuildResultsSummary |
BuildResultsSummaryHibernateDao.getFirstBuildSummary(PlanKey planKey) |
BuildResultsSummary |
BuildResultsSummaryDao.getFirstBuildSummary(PlanKey planKey)
Returns the first available
BuildResultsSummary for the given PlanKey |
List<LinkedJiraIssue> |
BuildResultsSummaryHibernateDao.getJiraIssuesForPlanKey(PlanKey planKey) |
List<LinkedJiraIssue> |
BuildResultsSummaryDao.getJiraIssuesForPlanKey(PlanKey planKey)
Retrieves a list of
LinkedJiraIssue that are linked to the given build. |
ResultsSummary |
BuildResultsSummaryManagerImpl.getLastSuccessfulResultSummary(PlanKey planKey) |
ResultsSummary |
ResultsSummaryManager.getLastSuccessfulResultSummary(PlanKey planKey)
Get the last successful
ResultsSummary for planKey |
Collection<LinkedJiraIssue> |
LinkedJiraIssueHibernateDao.getLinkedJiraIssuesForBuildNumberRange(PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber) |
Collection<LinkedJiraIssue> |
LinkedJiraIssueDao.getLinkedJiraIssuesForBuildNumberRange(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 |
ResultsSummaryManager.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Gets the number of concurrently running builds
|
int |
BuildResultsSummaryDao.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Get the number of concurrently running builds for planKey
|
long |
BuildResultsSummaryHibernateDao.getNumberOfFinalizedResults(PlanKey planKey) |
long |
BuildResultsSummaryManagerImpl.getNumberOfFinalizedResults(PlanKey planKey) |
long |
ResultsSummaryManager.getNumberOfFinalizedResults(PlanKey planKey)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
long |
BuildResultsSummaryDao.getNumberOfFinalizedResults(PlanKey planKey)
Get number of the
ResultsSummary s in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state for the given Plan |
int |
BuildResultsSummaryHibernateDao.markResultSummariesForDeletion(PlanKey planKey) |
int |
BuildResultsSummaryManagerImpl.markResultSummariesForDeletion(PlanKey planKey) |
int |
ResultsSummaryManager.markResultSummariesForDeletion(PlanKey planKey)
Mass update of all
ResultsSummary records in the database related to a Plan identified by planKey. |
int |
BuildResultsSummaryDao.markResultSummariesForDeletion(PlanKey planKey)
Mass update of all
ResultsSummary records in the database related to a Plan identified by planKey. |
int |
BuildResultsSummaryHibernateDao.moveResultSummaries(PlanKey oldPlanKey,
PlanKey newPlanKey) |
int |
BuildResultsSummaryDao.moveResultSummaries(PlanKey oldPlanKey,
PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
void |
BuildResultsSummaryManagerImpl.moveResultSummaries(Plan newParentPlan,
PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
ResultsSummaryManager.moveResultSummaries(Plan newParentPlan,
PlanKey oldPlanKey,
PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
int |
BuildResultsSummaryHibernateDao.removeResultsSummariesForPlan(PlanKey planKey) |
int |
BuildResultsSummaryDao.removeResultsSummariesForPlan(PlanKey planKey)
Remove all resultSummary objects for the given plan.
|
void |
MutableBuildKeyResultsSummary.setPlanKey(PlanKey planKey) |
void |
AbstractResultsSummary.setPlanKey(PlanKey planKey) |
ResultsSummaryCriteriaBuilder |
ResultsSummaryCriteriaBuilder.setPlanKey(PlanKey planKey) |
Constructor and Description |
---|
MutableExpiryCriteria(PlanKey planKey) |
PlanKeyResultDeletionSQLAdapter(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.Document |
IndexedBuildResultsSearcherImpl.findBuildResultByNumberAndKey(PlanKey planKey,
int buildNumber) |
org.apache.lucene.document.Document |
IndexedBuildResultsSearcher.findBuildResultByNumberAndKey(PlanKey planKey,
int buildNumber)
Find document identified by plan key and build result.
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
TestCaseSummaryImpl.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
long |
TestResultsHibernateDao.countTestClassResults(PlanKey planKey) |
long |
TestResultsDao.countTestClassResults(PlanKey planKey)
Count TestClassResults for a Plan
|
List<Pair<Long,Long>> |
TestCaseHibernateDao.getTopBrokenTests(PlanKey planKey,
BuildResultsFilter filter) |
List<Pair<TestCase,Long>> |
TestsManagerImpl.getTopBrokenTests(PlanKey planKey,
BuildResultsFilter filter) |
List<Pair<Long,Long>> |
TestCaseDao.getTopBrokenTests(PlanKey planKey,
BuildResultsFilter filter) |
List<Pair<TestCase,Long>> |
TestsManager.getTopBrokenTests(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(PlanKey planKey) |
int |
TestsManager.removeResultsByPlan(PlanKey planKey)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
int |
TestResultsHibernateDao.removeTestClassResultsByPlan(PlanKey planKey) |
int |
TestResultsDao.removeTestClassResultsByPlan(PlanKey planKey)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
Constructor and Description |
---|
TestCaseSummaryImpl(TestCase testCase,
PlanKey planKey,
List<BuildResultsSummary> filteredBuildResults,
TestsManager testsManager,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
List<RepositoryChangeset> |
RepositoryChangesetHibernateDao.getChangesetsForBuildNumberRange(PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber) |
List<RepositoryChangeset> |
RepositoryChangesetDao.getChangesetsForBuildNumberRange(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(PlanKey planKey) |
boolean |
BambooPermissionManager.canRunCustomBuild(PlanKey planKey) |
Collection<org.acegisecurity.acls.Permission> |
BambooPermissionManagerImpl.getPermissionsForPlan(PlanKey planKey) |
Collection<org.acegisecurity.acls.Permission> |
BambooPermissionManager.getPermissionsForPlan(PlanKey planKey) |
boolean |
BambooCachingPermissionManagerFacadeImpl.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
boolean |
BambooCachingPermissionManagerFacade.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
boolean |
BambooPermissionManagerImpl.hasPlanPermission(org.acegisecurity.acls.Permission permission,
PlanKey planKey) |
boolean |
BambooPermissionManager.hasPlanPermission(org.acegisecurity.acls.Permission permission,
PlanKey planKey)
Verify plan access
|
Modifier and Type | Method and Description |
---|---|
Collection<PlanKey> |
BambooSpecsStateDaoImpl.findPlansInOtherStates(VcsLocationBambooSpecsState specsState) |
Collection<PlanKey> |
BambooSpecsStateDao.findPlansInOtherStates(VcsLocationBambooSpecsState specsState) |
Collection<PlanKey> |
BambooSpecsManagerImpl.findPlansInOtherStates(VcsLocationBambooSpecsState specsState) |
Collection<PlanKey> |
BambooSpecsManager.findPlansInOtherStates(VcsLocationBambooSpecsState specsState)
Returns RSS-managed plans that have been updated in RSS runs other then the one supplied.
|
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) |
ChainStorageTag |
StorageTagService.getChainStorageTag(PlanKey chainKey) |
ChainStorageTag |
StorageTagServiceImpl.getChainStorageTag(PlanKey chainKey) |
File |
ArtifactDirectoryBuilderImpl.getJobOrSharedDirectory(PlanKey planKey) |
String |
ArtifactPathBuilderImpl.getJobOrSharedPath(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
List<TaskConditionConfig> conditions,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
List<TaskConditionConfig> conditions,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
TaskDefinition |
TaskConfigurationServiceImpl.createTask(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.createTask(PlanKey planKey,
TaskModuleDescriptor taskDescriptor,
String userDescription,
boolean isEnabled,
Map<String,String> configuration,
TaskRootDirectorySelector taskRootDirectorySelector)
Create a task Definition and save it against the plan
|
void |
TaskConfigurationServiceImpl.createTaskList(PlanKey planKey,
List<TaskDefinition> taskDefinitions) |
void |
TaskConfigurationService.createTaskList(PlanKey planKey,
List<TaskDefinition> taskDefinitions)
Initializes task list of a plan with the provided list.
|
void |
TaskConfigurationServiceImpl.deleteTask(PlanKey planKey,
long taskId) |
void |
TaskConfigurationService.deleteTask(PlanKey planKey,
long taskId)
Delete a given taskDefinition
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
List<TaskConditionConfig> conditions,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
List<TaskConditionConfig> conditions,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
TaskDefinition |
TaskConfigurationServiceImpl.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinition |
TaskConfigurationService.editTask(PlanKey planKey,
long taskId,
String userDescription,
boolean isEnabled,
Map<String,String> taskConfigurationMap,
TaskRootDirectorySelector taskRootDirectorySelector)
Update the details of specific taskDefinition
|
Collection<Requirement> |
TaskConfigurationServiceImpl.getTasksRequirements(PlanKey planKey) |
Collection<Requirement> |
TaskConfigurationService.getTasksRequirements(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(PlanKey planKey,
long taskId,
long beforeId,
long afterId,
boolean isFinal) |
void |
TaskConfigurationService.moveTask(PlanKey planKey,
long taskId,
long beforeId,
long afterId,
boolean isFinal)
Move a taskDefinition from one spot in its list, to another.
|
TaskDefinition |
TaskConfigurationServiceImpl.setTaskState(PlanKey planKey,
long taskId,
boolean disabled) |
TaskDefinition |
TaskConfigurationService.setTaskState(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(PlanKey jobKey,
String requirementKey) |
RestRequirement |
PlansControl.addGetCustomRequirement(PlanKey jobKey,
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(PlanKey planKey)
Delete plan
|
PlansControl |
PlansControl.deletePlanQuietly(PlanKey planKey)
Delete plan quietly
|
PlansControl |
PlansControl.deletePlanVariable(PlanKey planKey,
String variableName) |
PlansControl |
PlansControl.disablePlan(PlanKey planKey)
Disable plan
|
boolean |
PlansControl.doesPlanExistAsRecord(PlanKey planKey) |
PlansControl |
PlansControl.enablePlan(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
|
Result |
PlansControl.getBuildResult(PlanKey planKey,
int buildNumber)
Get build result
|
io.restassured.response.Response |
BuildResultsControl.getBuildResultAsResponse(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) |
String |
PlansControl.getPlanRootArtifactDirectory(PlanKey planKey)
Get the plan directory information for the plan
|
List<RestVariableDefinition> |
PlansControl.getPlanVariables(PlanKey planKey) |
List<RestRequirement> |
PlansControl.getRequirementsForJob(PlanKey jobKey) |
ResultDetails |
BuildResultsControl.getResultDetails(PlanKey planKey,
int buildNumber) |
io.restassured.response.Response |
BuildResultsControl.getResultsResponse(PlanKey planKey) |
RestStageList |
PlansControl.getStages(PlanKey planKey) |
Long |
DatabaseControl.getTestCasesCount(PlanKey planKey) |
void |
PermissionsControl.grantPlanPermission(PlanKey planKey,
BambooTestPermission permission)
|
boolean |
PermissionsControl.hasPlanPermission(PlanKey planKey,
BambooTestPermission permission) |
boolean |
CacheControl.isPlanCached(PlanKey planKey) |
boolean |
PlansControl.isPlanEnabled(PlanKey planKey) |
boolean |
DatabaseControl.isVcsBranchMarkedAsDeleted(PlanKey planKey,
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(PlanKey planKey,
long testCaseId) |
void |
PermissionsControl.revokePlanPermission(PlanKey planKey,
BambooTestPermission permission)
|
void |
PermissionsControl.setPlanPermissions(PlanKey planKey,
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(PlanKey planKey) |
RestQueuedBuild |
PlansControl.triggerBuildWithResponse(PlanKey planKey,
Map<String,String> parameters) |
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(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(PlanKey planKey,
int buildNumber) |
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(PlanKey producerJobKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
RestPlanBranch.getBranchKey() |
Modifier and Type | Method and Description |
---|---|
TriggerPlanBuilder |
TriggerPlanBuilder.withPlan(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
void |
BuildLoggerManagerForTesting.removeBuildLogger(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
TestBuildDetails.getKey() |
PlanKey |
TestJobDetails.getKey() |
Modifier and Type | Method and Description |
---|---|
TestJobDetails |
TestBuildDetails.getJob(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 |
---|---|
PlanKey |
TriggerableInternalKey.getPlanKey()
|
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
TriggerConfigurationServiceImpl.createTrigger(PlanKey planKey,
TriggerModuleDescriptor triggerDescriptor,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> configuration,
Map<String,String> triggerConditionsConfiguration) |
TriggerDefinition |
TriggerConfigurationService.createTrigger(PlanKey planKey,
TriggerModuleDescriptor triggerModuleDescriptor,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> configuration,
Map<String,String> triggerConditionsConfiguration)
Create a trigger Definition and save it against the plan
|
void |
TriggerConfigurationServiceImpl.createTriggerList(PlanKey planKey,
List<TriggerDefinition> triggerDefinitions) |
void |
TriggerConfigurationService.createTriggerList(PlanKey planKey,
List<TriggerDefinition> triggerDefinitions)
Initializes trigger list of a plan with the provided list.
|
void |
TriggerConfigurationServiceImpl.deleteTrigger(PlanKey planKey,
long triggerId) |
void |
TriggerConfigurationService.deleteTrigger(PlanKey planKey,
long triggerId)
Delete a given trigger Definition
|
TriggerDefinition |
TriggerConfigurationServiceImpl.editTrigger(PlanKey planKey,
long triggerId,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> triggerConfigurationMap,
Map<String,String> triggerConditionsConfiguration) |
TriggerDefinition |
TriggerConfigurationService.editTrigger(PlanKey planKey,
long triggerId,
String userDescription,
boolean isEnabled,
Set<Long> triggeringRepositories,
Map<String,String> triggerConfigurationMap,
Map<String,String> triggerConditionsConfiguration)
Update the details of specific triggerDefinition
|
Modifier and Type | Method and Description |
---|---|
boolean |
CronTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
CronTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
boolean |
AfterSuccessfulStageTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
Modifier and Type | Method and Description |
---|---|
static String |
UrlUtils.replacePlanResultKeyInUrl(String url,
PlanKey planKey,
int newBuildNumber) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
BuildIdentifierImpl.getTypedPlanKey() |
PlanKey |
BuildIdentifier.getTypedPlanKey()
Full plan key (e.g.
|
Modifier and Type | Method and Description |
---|---|
Map<PlanKey,ChainStorageTag> |
BuildContextImpl.getChainStorageTags() |
Map<PlanKey,ChainStorageTag> |
CommonContext.getChainStorageTags() |
Modifier and Type | Method and Description |
---|---|
void |
BaseConfigurablePlugin.customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet) |
void |
ConfigurablePlugin.customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration.
|
void |
BaseConfigurablePlugin.removeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet) |
void |
ConfigurablePlugin.removeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration.
|
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
Map<String,String> customBuildData,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials,
Map<PlanKey,ChainStorageTag> relevantStorageTags,
BuildKey buildKey)
Using this constructor directly is not recommended.
|
Modifier and Type | Method and Description |
---|---|
ChainStorageTag |
RemoteAgentStorageTagService.getChainStorageTag(PlanKey chainKey) |
void |
RemoteBuildLoggerManager.removeBuildLogger(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
BuildContextEvent.getPlanKey()
|
Modifier and Type | Method and Description |
---|---|
File |
RepositoryV2.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
since 3.3 Repository must handle checkout to any sub-directory.
|
Modifier and Type | Method and Description |
---|---|
ImmutableRequirement |
RequirementServiceImpl.addRequirement(PlanKey jobKey,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue) |
ImmutableRequirement |
RequirementService.addRequirement(PlanKey jobKey,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue)
Add new requirement to a job.
|
ExecutableAgentsMatrix |
RequirementServiceImpl.getExecutableAgentMatrixForJob(PlanKey jobKey) |
ExecutableAgentsMatrix |
RequirementService.getExecutableAgentMatrixForJob(PlanKey jobKey)
retrieve all executable agents for a particular job.
|
ImmutableRequirement |
RequirementServiceImpl.getRequirementForJob(PlanKey jobKey,
long requirementId) |
ImmutableRequirement |
RequirementService.getRequirementForJob(PlanKey jobKey,
long requirementId)
Get a single requirement for a job.
|
List<? extends ImmutableRequirement> |
RequirementServiceImpl.getRequirementsForJob(PlanKey jobKey) |
List<? extends ImmutableRequirement> |
RequirementService.getRequirementsForJob(PlanKey jobKey)
Get all requirements for jobs.
|
void |
RequirementServiceImpl.removeRequirement(PlanKey jobKey,
long requirementId) |
void |
RequirementService.removeRequirement(PlanKey jobKey,
long requirementId)
Remove a specific requirement
|
ImmutableRequirement |
RequirementServiceImpl.updateRequirement(PlanKey jobKey,
long requirementId,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue) |
ImmutableRequirement |
RequirementService.updateRequirement(PlanKey jobKey,
long requirementId,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue)
Update an existing requirement.
|
ErrorCollection |
RequirementServiceImpl.validateRequirementForAdd(PlanKey jobKey,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue) |
ErrorCollection |
RequirementService.validateRequirementForAdd(PlanKey jobKey,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue)
Validate requirement details.
|
ErrorCollection |
RequirementServiceImpl.validateRequirementForUpdate(PlanKey jobKey,
long requirementId,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue) |
ErrorCollection |
RequirementService.validateRequirementForUpdate(PlanKey jobKey,
long requirementId,
String key,
ImmutableRequirement.MatchType matchType,
String matchValue)
Validate requirement details
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultDependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey) |
boolean |
DependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey)
Checks if build should be blocked, and executes any parent builds if required.
|
boolean |
DefaultDependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> plansBeingTriggered) |
boolean |
DependencyBlockingManager.isBlockedFromBuilding(PlanKey planKey,
Set<? extends ImmutablePlan> siblings)
Checks if build should be blocked, and executes any parent builds if required.
|
Constructor and Description |
---|
ChangeDetectionRequiredEvent(Object source,
PlanKey planKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges) |
ChangeDetectionRequiredEvent(Object source,
PlanKey planKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges,
CacheAwareness.CacheInfo... cachesToIgnore) |
Modifier and Type | Field and Description |
---|---|
protected PlanKey |
AbstractDependentDetectionAction.planKey |
Modifier and Type | Method and Description |
---|---|
protected BuildDetectionAction |
ChangeDetectionListener.getChangeDetectionAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration) |
protected BuildDetectionAction |
ChangeDetectionListener.getChangeDetectionAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration,
boolean logIfNoChanges) |
Constructor and Description |
---|
ChangeDetectionListenerAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration) |
ChangeDetectionListenerAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration,
boolean logIfNoChanges) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
DeploymentRepositoryBuildContext.getTypedPlanKey() |
Modifier and Type | Method and Description |
---|---|
Map<PlanKey,ChainStorageTag> |
DeploymentRepositoryBuildContext.getChainStorageTags() |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
LegacyChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
LegacyChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
default BuildRepositoryChanges |
VcsChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable)
This method is used to generate the list of commits for an initial build of a plan branch.
|
BuildRepositoryChanges |
VcsChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
VcsChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
Modifier and Type | Method and Description |
---|---|
boolean |
FreemarkerContext.hasLinkedDeployments(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
PlanActionSupport.getTypedPlanKey() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ExecutionStatus> |
PlanActionSupport.getCurrentlyBuildingPlans(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
BuildQueueItemViewForJsonDecorator.getChainKey() |
PlanKey |
BuildQueueItemViewForJsonDecorator.getTypedJobKey() |
Constructor and Description |
---|
BuildQueueItemViewForJsonDecorator(PlanKey chainKey,
String projectName,
String shortChainName,
String fullChainName,
PlanKey jobKey,
String jobName,
PlanResultKey jobOrChainResultKey,
PlanResultKey chainResultKey,
int buildNumber,
QueueItemViewForJsonDecorator.BuildStatus buildStatus,
TriggerReason triggerReason,
boolean isBranch) |
Modifier and Type | Method and Description |
---|---|
int |
DeletePlan.getNumberOfExecutions(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
PlanKey |
DecoratedPlan.DecoratedPlanBranchGist.getKey() |
PlanKey |
DecoratedPlan.getPlanKey() |
Modifier and Type | Method and Description |
---|---|
DecoratedPlan |
DecoratedStage.getJobWithKey(PlanKey planKey)
Get the job with the given key, returns null if no such job is found.
|
Modifier and Type | Field and Description |
---|---|
static PlanKey |
DeploymentsTestHelper.PLAN_KEY |
Modifier and Type | Field and Description |
---|---|
static PlanKey |
EnvironmentDeletionServiceWiredTest.PLAN_KEY |
Modifier and Type | Field and Description |
---|---|
static PlanKey |
DeploymentProjectServiceWiredTest.PLAN_KEY |
Modifier and Type | Field and Description |
---|---|
static PlanKey |
DeploymentResultDeletionServiceWiredTest.PLAN_KEY |
Modifier and Type | Field and Description |
---|---|
static PlanKey |
DeploymentVersionServiceWiredTest.PLAN_KEY |
Modifier and Type | Field and Description |
---|---|
static PlanKey |
TestDisablingTriggerPlugin.PLAN_KEY |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.