| 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 |
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 dependencyKey,
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalArtifactManager.removeArtifactsFromStorage(PlanKey planKey) |
void |
AbstractArtifactManager.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 |
ArtifactHandler.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider)
Removes artifact files for all results of a single.
|
void |
ArtifactHandlerDecoratorSupport.removeArtifactsFromStorage(PlanKey planKey,
ArtifactHandlerConfigProvider artifactHandlerConfigProvider) |
| 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 |
ChainBranchCreationServiceImpl.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 |
ChainCreationServiceImpl.triggerCreationCompleteEvents(PlanKey planKey) |
void |
JobCreationServiceImpl.triggerCreationCompleteEvents(PlanKey planKey) |
void |
PlanCreationService.triggerCreationCompleteEvents(PlanKey planKey)
Trigger the appropriate events after the plan has been saved successfully
Calling this method is responsibility of class using this service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultBuildLoggerManager.removeBuildLogger(PlanKey planKey) |
| 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 |
|---|---|
boolean |
PlanDeletionAwareBuildStrategy.isAffectedByPlanDeletion(PlanKey deletedPlanKey)
Deprecated.
Check if strategy will be affected when Plan is deleted.
|
boolean |
PlanKeyUpdateAwareBuildStrategy.isAffectedByPlanKeyUpdate(PlanKey originalPlanKey)
Deprecated.
Check if strategy will be affected when Plan's key will change
|
void |
CronTriggerBuildStrategy.setSourceBranch(PlanKey sourceBranch)
Deprecated.
|
void |
CronTriggerBuildStrategy.setSourcePlan(PlanKey sourcePlan)
Deprecated.
|
void |
AfterSuccessfulPlanTrigger.setTriggeringBranchKey(PlanKey triggeringBranchKey)
Deprecated.
|
void |
AfterSuccessfulPlanTrigger.setTriggeringPlanKey(PlanKey triggeringPlanKey)
Deprecated.
|
void |
PlanKeyUpdateAwareBuildStrategy.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey)
Deprecated.
Perform actual update of internal strategy state
|
| Modifier and Type | Method and Description |
|---|---|
int |
Latest25FiveBuildResultsFilter.getFromBuildNumber(PlanKey planKey) |
int |
AllBuildResultsFilter.getFromBuildNumber(PlanKey planKey) |
int |
TimeAgoBuildResultsFilter.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 |
|---|---|
ImmutableChain |
DashboardCachingManagerImpl.getPlan(PlanKey planKey) |
ImmutableChain |
DashboardCachingManager.getPlan(PlanKey planKey)
Returns the cached plan for a given planKey
|
void |
DashboardCachingManagerImpl.invalidateAndUpdatePlanCache(PlanKey planKey) |
void |
DashboardCachingManager.invalidateAndUpdatePlanCache(PlanKey planKey)
Refetches the passed plan using the
ImmutablePlanCacheService enforcing invalidation of currently cached value. |
void |
DashboardCachingManagerImpl.removePlanFromCache(PlanKey planKey) |
void |
DashboardCachingManager.removePlanFromCache(PlanKey planKey)
Removes the plan from the cache
|
void |
DashboardCachingManagerImpl.resetLatestSummary(PlanKey planKey,
PlanResultKey newResultKey) |
void |
DashboardCachingManager.resetLatestSummary(PlanKey planKey,
PlanResultKey newResultKey) |
void |
DashboardCachingManagerImpl.updatePlanCache(PlanKey planKey) |
void |
DashboardCachingManager.updatePlanCache(PlanKey planKey)
Refetches the passed plan using the
ImmutablePlanCacheService. |
| Modifier and Type | Method and Description |
|---|---|
void |
DashboardCachingManagerImpl.removePlansFromCache(Iterable<PlanKey> planKeys) |
void |
DashboardCachingManager.removePlansFromCache(Iterable<PlanKey> planKeys) |
void |
DashboardCachingManagerImpl.updatePlanCache(Collection<PlanKey> planKeys) |
void |
DashboardCachingManager.updatePlanCache(Collection<PlanKey> planKeys)
Refetches the passed plans using the
ImmutablePlanCacheService. |
| 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> |
ChainExecutionManager.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 |
ChainExecutionManager.isActive(PlanKey planKey)
Checks if the
Chain is "active" ie being queued, or building |
boolean |
ChainExecutionManagerImpl.isExecuting(PlanKey planKey) |
boolean |
ChainExecutionManager.isExecuting(PlanKey planKey)
Checks if the Chain is building
|
int |
ChainExecutionManagerImpl.numberOfChainsExecuting(PlanKey planKey) |
int |
ChainExecutionManager.numberOfChainsExecuting(PlanKey planKey)
Determines the number of
ChainExecutions 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 |
ChainMovingEvent.getNewPlanKey() |
PlanKey |
ChainMovedEvent.getNewPlanKey() |
PlanKey |
ChainMovingEvent.getOriginalPlanKey() |
PlanKey |
ChainMovedEvent.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> |
CommentManager.getCommentsForBuildResults(PlanKey planKey)
Get all comments associated with Plan's build results
|
List<Comment> |
CommentDao.getCommentsForBuildResults(PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
ChainBranchExporter.exportBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration,
PlanKey chainKey)
Exports branch merging configuration to a YAML-friendly format.
|
Map<String,Object> |
ChainBranchExporterImpl.exportBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration,
PlanKey chainKey) |
| 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,RepositoryDefinition> repositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials,
Map<PlanKey,ChainStorageTag> necessaryStorageTags) |
| 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 |
DeploymentProjectIdentifier.getPlanKey() |
PlanKey |
InternalDeploymentProject.getPlanKey() |
| 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
DeploymentVersions 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)
Search for deployment versions in a project whose name contains the searchTerm, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm)
Search for deployment versions in a project whose name contains the searchTerm, 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 |
ResultsSummaryUpdatedEvent.getPlanKey() |
PlanKey |
PlanEvent.getPlanKey()
|
PlanKey |
BuildEvent.getPlanKey()
Gets the
PlanKey |
PlanKey |
PlanSuspensionRequestedEvent.getPlanKey()
|
PlanKey |
ChainEvent.getPlanKey()
|
| Modifier and Type | Method and Description |
|---|---|
Map<PlanKey,PlanKey> |
BuildsMovedEvent.getPlanKeyChangesMap()
Gets the mapping between old and new plan keys.
|
Map<PlanKey,PlanKey> |
BuildsMovedEvent.getPlanKeyChangesMap()
Gets the mapping between old and new plan keys.
|
Iterable<PlanKey> |
MultipleJobsDeletedEvent.getPlanKeys() |
Iterable<PlanKey> |
MultipleChainsDeletedEvent.getPlanKeys() |
| Constructor and Description |
|---|
BuildConfigurationUpdatedEvent(Object source,
PlanKey planKey) |
BuildEvent(Object source,
PlanKey planKey) |
BuildRequirementUpdatedEvent(Object source,
PlanKey planKey) |
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) |
| 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 Iterable<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<PlanKey> |
CacheInvalidators.getAffectedPlanKeys(com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap,
Predicate<ImmutableChain> predicate) |
| 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 PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends PlanIdentifier> |
PlanKeyMatcher.hasPlanKey(org.hamcrest.Matcher<PlanKey> textMatcher) |
| 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 |
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 |
DependenciesConfigurationPage.PlanDependencyElement.getPlanKey() |
PlanKey |
VariableConfigurationPage.getPlanKey() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PlanKey> |
DependenciesConfigurationPage.getChildPlanKeys() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.pageobjects.elements.PageElement |
StageElement.getJobByKey(PlanKey key) |
| Constructor and Description |
|---|
ArtifactConfigurationPage(PlanKey jobKey) |
AuditLogPage(PlanKey planKey) |
ConfigurePlanTriggersPage(PlanKey planKey) |
DeletePlanPage(PlanKey planKey) |
DependenciesConfigurationPage(PlanKey planKey) |
VariableConfigurationPage(PlanKey planKey) |
VariableConfigurationPage(PlanKey planKey,
boolean isBranch) |
| Constructor and Description |
|---|
ConfigurePlanNotificationsPage(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 | 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 |
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 com.google.common.base.Function<PlanKey,String> |
PlanKeys.planKeyToKey
Deprecated.
since 5.10, use PlanKey::getKey
|
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 |
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 |
TriggerableInternalKeyImpl.getPlanKey() |
PlanKey |
AbstractPlan.getPlanKey() |
PlanKey |
PlanIdentifier.getPlanKey()
|
PlanKey |
PlanKeyProvider.getPlanKey() |
PlanKey |
PlanAwareContext.getPlanKey() |
PlanKey |
PlanResultKey.getPlanKey()
Returns the key component of this
PlanResultKey |
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 |
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> |
PlanManagerImpl.getAllPlanKeys(Class<T> planType) |
<T extends Plan> |
PlanManager.getAllPlanKeys(Class<T> planType)
|
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
|
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.
|
static com.google.common.base.Function<PlanIdentifier,PlanKey> |
PlanKeys.planKeyFromPlan()
Deprecated.
since 5.10 use PlanIdentifier::getPlanKey
|
static com.google.common.base.Function<PlanResultKey,PlanKey> |
PlanKeys.planKeyFromPlanResultKey()
Deprecated.
since 5.10, use PlanResultKey::getPlanKey
|
static com.google.common.base.Function<String,PlanKey> |
PlanKeys.planKeyFromString()
Deprecated.
since 5.10, use PlanKeys::getPlanKey
|
static com.google.common.base.Function<PlanKey,String> |
PlanKeys.planKeyToString()
Deprecated.
since 5.10, use PlanKey::getKey
|
static com.google.common.base.Function<PlanKey,io.atlassian.fugue.Option<ImmutablePlan>> |
PlanFunctions.toImmutablePlan(CachedPlanManager cachedPlanManager)
Returns a function that Fetches an immutable plan corresponding to the supplied plan key.
|
| 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) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forPlanKey(PlanKey planKey) |
static TriggerableInternalKey |
TriggerableInternalKeyImpl.forStageId(PlanKey planKey,
long stageId) |
static com.atlassian.fugue.Option<Long> |
PlanKeys.getBranchNumberSuffix(PlanKey chainKey,
PlanKey branchKey)
Extract numerical branch suffix
|
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> |
PlanExecutionManagerImpl.getCurrentlyBuildingForPlan(PlanKey planKey) |
List<CurrentlyBuilding> |
DelegatingPlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey) |
List<CurrentlyBuilding> |
PlanExecutionManager.getCurrentlyBuildingForPlan(PlanKey planKey)
|
Collection<? extends ExecutionStatus> |
PlanExecutionManagerImpl.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
DelegatingPlanExecutionManager.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
ExecutionStatusProviderImpl.getExecutionStatus(PlanKey planKey) |
Collection<? extends ExecutionStatus> |
ExecutionStatusProvider.getExecutionStatus(PlanKey planKey)
Returns a collection of current
ExecutionStatuss 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 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> |
PlanDao.getPlanByKey(PlanKey planKey,
Class<T> aClass)
Return a
Plan that matches the given key |
<T extends Plan> |
PlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
|
<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> |
PlanDao.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
|
<T extends Plan> |
PlanManager.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
Deprecated.
since 4.2
|
Class<? extends Plan> |
PlanHibernateDao.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanManagerImpl.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanDao.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanManager.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 com.google.common.base.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 |
PlanExecutionManagerImpl.isBusy(PlanKey planKey) |
boolean |
DelegatingPlanExecutionManager.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 |
PlanDao.isPlanKeyConflicting(PlanKey planKey)
Verifies whether a
Plan key is unique within whole Bamboo installation |
boolean |
PlanManager.isPlanKeyConflicting(PlanKey planKey)
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 |
PlanExecutionManagerImpl.numberOfExecutions(PlanKey planKey) |
int |
DelegatingPlanExecutionManager.numberOfExecutions(PlanKey planKey) |
int |
ExecutionStatusProviderImpl.numberOfExecutions(PlanKey planKey) |
int |
ExecutionStatusProvider.numberOfExecutions(PlanKey planKey)
Returns the number of current
ExecutionStatuss 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.
|
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 newState) |
void |
PlanExecutionManagerImpl.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
DelegatingPlanExecutionManager.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManager.stopPlan(PlanKey planKey,
boolean abandonResult,
String userName) |
void |
PlanExecutionManagerImpl.stopRequest(PlanKey planKey) |
void |
DelegatingPlanExecutionManager.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
|
| Constructor and Description |
|---|
PlanIdentifierImpl(long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
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 |
|---|---|
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.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
|
PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(PlanKey featureBranch) |
PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(PlanKey featureBranch)
Returns the PlanKey of the relevant vcs branch we want to merge with.
|
PlanKey |
BranchIntegrationConfigurationImpl.getIntegrationPlanBranchKey() |
PlanKey |
BranchIntegrationConfiguration.getIntegrationPlanBranchKey() |
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.
|
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
BranchIntegrationConfigurationImpl.getBranchToMergeWith(PlanKey featureBranch) |
PlanKey |
BranchIntegrationConfiguration.getBranchToMergeWith(PlanKey featureBranch)
Returns the PlanKey of the relevant vcs branch we want to merge with.
|
static String |
ChainBranchUtils.getChainBranchName(CachedPlanManager cachedPlanManager,
CustomVariableContext customVariableContext,
PlanKey planKey) |
static String |
ChainBranchUtils.getChainBranchName(DashboardCachingManager dashboardCachingManager,
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.
|
void |
BranchIntegrationConfigurationImpl.setIntegrationPlanBranchKey(PlanKey branch) |
| Constructor and Description |
|---|
BranchIntegrationConfigurationImpl(BranchIntegrationStrategy strategy,
PlanKey configuredBranch,
boolean pushEnabled) |
ChainBranchIdentifierImpl(long id,
String discriminator,
PlanKey planKey,
String description,
String buildName,
String buildKey,
boolean suspendedFromBuilding,
String projectKey,
String projectName,
String projectDescription,
Long masterId,
String linkedJiraIssue,
boolean remoteIssueLinkRequired) |
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
ImmutableResultsSummaryImpl.getPlanKey() |
PlanKey |
AbstractImmutablePlan.getPlanKey() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PlanKey> |
ImmutablePlanCacheServiceImpl.getChainsToInvalidate(ImmutablePlanCacheService.CacheInvalidator invalidator) |
Iterable<PlanKey> |
ImmutablePlanCacheService.getChainsToInvalidate(ImmutablePlanCacheService.CacheInvalidator invalidator)
Internal.
|
Iterable<PlanKey> |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidate(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap)
This gets passed some cache internals for invalidation
|
| 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.
|
Range<Integer> |
ImmutablePlanCacheServiceImpl.getBuildNumbersRange(PlanKey planKey) |
Range<Integer> |
ImmutablePlanCacheService.getBuildNumbersRange(PlanKey planKey)
Deprecated.
since 5.10
|
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) |
ReentrantReadWriteLock |
ImmutablePlanCacheServiceImpl.getLock(PlanKey planKey) |
ReentrantReadWriteLock |
ImmutablePlanCacheService.getLock(PlanKey planKey)
Returns the ReentrantReadWriteLock that this service uses for controlling access to the cache entry for the specified plan.
|
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.
|
Integer |
ImmutablePlanCacheServiceImpl.getNextBuildNumberOverride(PlanKey planKey) |
Integer |
ImmutablePlanCacheService.getNextBuildNumberOverride(PlanKey planKey)
Deprecated.
since 5.10
|
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)
|
PlanIdentifier |
ImmutablePlanCacheServiceImpl.getPlanIdentifierForPermissionCheckingByKey(PlanKey planKey) |
PlanIdentifier |
ImmutablePlanCacheService.getPlanIdentifierForPermissionCheckingByKey(PlanKey planKey)
Deprecated.
|
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.
|
PlansState |
PlansState.removePlanFromState(PlanKey planKey)
Removes the plan from the cache
|
void |
ImmutablePlanCacheServiceImpl.reset(PlanKey planKey) |
void |
ImmutablePlanCacheService.reset(PlanKey planKey)
Removes the cached Plan and its metadata.
|
void |
ImmutablePlanCacheServiceImpl.setNextBuildNumberOverride(PlanKey planKey,
int nextBuildNumber) |
void |
ImmutablePlanCacheService.setNextBuildNumberOverride(PlanKey planKey,
int nextBuildNumber)
Deprecated.
since 5.10
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<PlanKey> |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidate(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap)
This gets passed some cache internals for invalidation
|
PlansState |
PlansState.removePlansFromState(Iterable<PlanKey> planKeys) |
PlansState |
PlansState.updateState(Map<PlanKey,? extends ImmutableChain> plansMap) |
void |
ImmutablePlanCacheServiceImpl.withLockedPlans(Collection<PlanKey> planKeys,
Runnable runnable) |
void |
ImmutablePlanCacheService.withLockedPlans(Collection<PlanKey> planKeys,
Runnable run)
Like
ImmutablePlanCacheService.withLockedPlans(Collection, Supplier) but takes a Runnable instead of a Supplier and doesn't return
a value. |
<T> T |
ImmutablePlanCacheServiceImpl.withLockedPlans(Collection<PlanKey> planKeys,
Supplier<T> supplier) |
<V> V |
ImmutablePlanCacheService.withLockedPlans(Collection<PlanKey> planKeys,
Supplier<V> supplier)
Invokes supplier while holding write locks on all the specified plan keys.
|
| 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.ImmutableList<PlanKey> |
PlanBranchCacheIndexer.getBranchKeys(PlanKey planKey) |
Collection<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 |
PlanCacheIndicesImpl.deindex(PlanKey planKey) |
void |
PlanRepositoryIndexer.deindex(PlanKey planKey) |
void |
PlanBranchCacheIndexer.deindex(PlanKey planKey) |
void |
PlanIdCacheIndexer.deindex(PlanKey planKey) |
void |
PlanCacheIndexer.deindex(PlanKey planKey) |
com.google.common.collect.ImmutableList<PlanKey> |
PlanBranchCacheIndexer.getBranchKeys(PlanKey planKey) |
Collection<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> |
TransactionalPlanMover.getPlanKeyChanges() |
Map<PlanKey,PlanKey> |
TransactionalPlanMover.getPlanKeyChanges() |
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) |
ImmutableChainStage |
StageService.addStage(PlanKey planKey,
String name,
String description,
boolean isManual)
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,
Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore) |
ImmutableChainStage |
StageService.updateStage(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual,
Integer index,
BambooClosures.Throwing1<ImmutableChainStage,WebValidationException>... runBefore)
Update the details of a stage.
|
ErrorCollection |
StageServiceImpl.validateStageForAdd(PlanKey planKey,
String stageName,
String stageDescription,
boolean isManual) |
ErrorCollection |
StageService.validateStageForAdd(PlanKey planKey,
String name,
String description,
boolean isManual)
Validates a new stage for the specified plan.
|
ErrorCollection |
StageServiceImpl.validateStageForUpdate(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual) |
ErrorCollection |
StageService.validateStageForUpdate(PlanKey planKey,
long stageId,
String name,
String description,
boolean manual)
Validates editing of a stage.
|
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
PlanVcsRevisionHistoryItem.getPlanKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanVcsRevisionHistoryHibernateDao.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryManager.cleanupUnusedEntriesForPlan(PlanKey planKey)
Removes history entries that are not used in change detection process.
|
void |
PlanVcsRevisionHistoryManagerImpl.cleanupUnusedEntriesForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryServiceImpl.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 |
PlanVcsRevisionHistoryManager.clearRevisionHistoryForPlanNewTx(PlanKey planKey)
Removes all history entries for the plan.
|
void |
PlanVcsRevisionHistoryManagerImpl.clearRevisionHistoryForPlanNewTx(PlanKey planKey) |
void |
PlanVcsRevisionHistoryHibernateDao.deleteVcsRevisionHistoryForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryDao.deleteVcsRevisionHistoryForPlan(PlanKey planKey)
Deletes entire revision history for a plan.
|
PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryHibernateStandaloneDao.findLatestVcsRevisionHistoryItem(PlanKey planKey) |
PlanVcsRevisionHistoryItem |
PlanVcsRevisionHistoryStandaloneDao.findLatestVcsRevisionHistoryItem(PlanKey planKey)
Retrieves a history item with the highest build number.
|
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> |
PlanVcsRevisionHistoryManager.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.getLastVcsRevisionKeys(PlanKey planKey) |
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> |
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.
|
Map<Long,PlanVcsRevisionData> |
PlanVcsRevisionHistoryManagerImpl.getLastVcsRevisionKeysBeforeBuildNumber(PlanKey planKey,
int buildNumber) |
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 |
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 |
PlanVcsRevisionHistoryManagerImpl.markChangeDetectionCompletedNewTx(PlanKey planKey,
int buildNumber,
PlanVcsRevisionData planVcsRevisionData,
long repositoryId) |
void |
PlanVcsRevisionHistoryHibernateDao.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryDao.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManager.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryManagerImpl.moveRevisionHistoryForPlan(PlanKey oldPlanKey,
PlanKey newPlanKey) |
void |
PlanVcsRevisionHistoryServiceImpl.moveRevisionHistoryForPlan(PlanKey originalPlanKey,
PlanKey planKey) |
void |
PlanVcsRevisionHistoryService.moveRevisionHistoryForPlan(PlanKey originalPlanKey,
PlanKey planKey)
Moves history entries that are related to a moved plan.
|
void |
PlanVcsRevisionHistoryHibernateStandaloneDao.removeVcsHistoryForPlan(PlanKey planKey) |
void |
PlanVcsRevisionHistoryStandaloneDao.removeVcsHistoryForPlan(PlanKey planKey)
Remove all history for PlanKey.
|
void |
PlanVcsRevisionHistoryItem.setPlanKey(PlanKey planKey) |
void |
PlanVcsRevisionHistoryHibernateStandaloneDao.updateRepositoryIdForPlan(PlanKey planKey,
long repositoryId) |
void |
PlanVcsRevisionHistoryStandaloneDao.updateRepositoryIdForPlan(PlanKey planKey,
long repositoryId)
Update all repository entries for PlanKey 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 |
GitHubRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
GitRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
| Modifier and Type | Method and Description |
|---|---|
BuildRepositoryChanges |
HgRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
| 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.assertPlanPermission(BambooPermission permission,
PlanKey planKey) |
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> |
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.getAffectedArtifactSubscriptionsByJobMove(PlanKey jobKey,
long stageId,
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.
|
List<RestArtifactSubscriptions> |
RestArtifactServiceImpl.getConsumersOfArtifacts(PlanKey jobKey,
Expansion expansion,
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.
|
RestPageModel<RestJob> |
RestArtifactServiceImpl.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo) |
| 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) |
protected ResultsSummary |
ResultServiceImpl.getBuildResultSummary(PlanKey planKey,
String buildNumber,
javax.ws.rs.core.UriInfo uriInfo) |
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 |
StashRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
| 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 |
PlanTestServiceImpl.createChain(String projectKey,
String projectName,
String chainName) |
PlanKey |
PlanTestService.createChain(String projectKey,
String projectName,
String chainName) |
PlanKey |
PlanTestServiceImpl.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestService.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestServiceImpl.createSimpleChain() |
PlanKey |
PlanTestService.createSimpleChain() |
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
PlanTestServiceImpl.createJob(PlanKey chainKey,
String jobSubKey) |
PlanKey |
PlanTestService.createJob(PlanKey chainKey,
String jobSubKey) |
| 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 |
AbstractRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
OnceOffCapableRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision)
Collects the changes for the targetRevision.
|
void |
AbstractRepository.customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet) |
File |
AbstractRepository.getSourceCodeDirectory(PlanKey planKey)
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)
Changes position of repository in the repository list.
|
void |
AbstractRepository.removeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet) |
| 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,
If the workspace is managed this includes the source code directory specified by bamboo followed by the directory
structure as indicated in the client view.
|
| Modifier and Type | Method and Description |
|---|---|
BuildRepositoryChanges |
SvnRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
| 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 |
RestCreateDeploymentProjectRequest.getPlanKey() |
PlanKey |
RestDeploymentProject.getPlanKey() |
| Modifier and Type | Field and Description |
|---|---|
protected PlanKey |
MutableExpiryCriteria.planKey |
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
AbstractResultsSummary.getPlanKey() |
PlanKey |
ImmutableResultsSummary.getPlanKey()
Full key of the plan.
|
PlanKey |
MutableExpiryCriteria.getPlanKey() |
PlanKey |
ExpiryCriteria.getPlanKey()
A plan key by which the
result summaries should be filtered. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PlanKey> |
BuildResultsSummaryHibernateDao.findPlanKeysFromAllOrphanedResultSummaries() |
Iterable<PlanKey> |
BuildResultsSummaryDao.findPlanKeysFromAllOrphanedResultSummaries()
Scans database for all the
ResultsSummary objects in the database that do not have a matching Plan |
List<PlanKey> |
BuildResultsSummaryHibernateDao.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
BuildResultsSummaryManagerImpl.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
BuildResultsSummaryDao.getPlanKeysSortedByNumberOfFinalizedResultSummaries() |
List<PlanKey> |
ResultsSummaryManager.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 |
BuildResultsSummaryDao.countResultsWithState(PlanKey planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState)
Counts results with a given state in a given build number range for plan.
|
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.
|
List<Integer> |
BuildResultsSummaryHibernateDao.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
BuildResultsSummaryManagerImpl.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
BuildResultsSummaryDao.findAllBuildResultsNumbers(PlanKey planKey) |
List<Integer> |
ResultsSummaryManager.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.
|
List<LinkedJiraIssue> |
BuildResultsSummaryManagerImpl.findJiraIssuesForPlanKey(PlanKey planKey) |
List<LinkedJiraIssue> |
ResultsSummaryManager.findJiraIssuesForPlanKey(PlanKey planKey)
Retrieves a list of
LinkedJiraIssue linked to the given plan key |
<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> |
BuildResultsSummaryDao.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.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> |
BuildResultsSummaryDao.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.PENDING, LifeCycleState.QUEUED, LifeCycleState.IN_PROGRESS state with the given Class
See also LifeCycleState.isActive(LifeCycleState) and ImmutableResultsSummary.isActive() |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state |
<T extends ResultsSummary> |
BuildResultsSummaryHibernateDao.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class. |
<T extends ResultsSummary> |
ResultsSummaryManager.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class. |
BuildResultsSummary |
BuildResultsSummaryHibernateDao.getFirstBuildSummary(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 |
BuildResultsSummaryDao.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Get the number of concurrently running builds for planKey
|
int |
ResultsSummaryManager.getNumberOfConcurrentlyRunningBuilds(PlanKey planKey)
Gets the number of concurrently running builds
|
int |
BuildResultsSummaryHibernateDao.markResultSummariesForDeletion(PlanKey planKey) |
int |
BuildResultsSummaryManagerImpl.markResultSummariesForDeletion(PlanKey planKey) |
int |
BuildResultsSummaryDao.markResultSummariesForDeletion(PlanKey planKey)
Mass update of all
ResultsSummary records in the database related to a Plan identified by planKey. |
int |
ResultsSummaryManager.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) |
void |
BuildResultsSummaryManagerImpl.moveResultSummaries(PlanKey oldPlanKey,
PlanKey newPlanKey) |
int |
BuildResultsSummaryDao.moveResultSummaries(PlanKey oldPlanKey,
PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
void |
ResultsSummaryManager.moveResultSummaries(PlanKey oldPlanKey,
PlanKey newPlanKey)
Deprecated.
|
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 |
|---|---|
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 |
| 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 |
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 |
|---|---|
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 |
ArtifactStorageImpl.getArtifactDestinationDirectory(PlanKey planKey,
String version,
ArtifactDefinitionContext artifact)
Deprecated.
|
String |
ArtifactPaths.getArtifactDestinationDirectory(PlanKey planKey,
String version,
ImmutableArtifactDefinitionBase artifact)
Deprecated.
|
File |
ArtifactStorageImpl.getArtifactDirectory(PlanKey planKey)
Deprecated.
|
String |
ArtifactPaths.getArtifactDirectory(PlanKey planKey)
Deprecated.
|
String |
ArtifactPaths.getArtifactDirectory(PlanKey planKey,
int buildNumber)
Deprecated.
|
File |
ArtifactStorageImpl.getArtifactRootDirectory(PlanKey planKey)
Deprecated.
|
String |
ArtifactPaths.getArtifactRootDirectory(PlanKey planKey)
Deprecated.
|
File |
ArtifactDirectoryBuilderImpl.getChainDirectory(PlanKey planKey) |
String |
ArtifactPathBuilderImpl.getChainPath(PlanKey planKey) |
ChainStorageTag |
StorageTagService.getChainStorageTag(PlanKey chainKey)
Returns the storage tag for the specified chain.
|
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,
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,
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.addPlanVariable(PlanKey planKey,
String variableName,
String variableValue) |
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
|
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
|
com.jayway.restassured.response.Response |
BuildResultsControl.getBuildResultAsResponse(PlanKey planKey,
int buildNumber)
Get build result via REST
|
List<RestJob> |
PlansControl.getJobs(PlanKey planKey) |
String |
PlansControl.getPlanRootArtifactDirectory(PlanKey planKey)
Get the plan directory information for the plan
|
List<RestVariableDefinition> |
PlansControl.getPlanVariables(PlanKey planKey) |
RestStageList |
PlansControl.getStages(PlanKey planKey) |
boolean |
CacheControl.isPlanCached(PlanKey planKey) |
void |
TestsControl.quarantine(PlanKey planKey,
long testCaseId) |
void |
PermissionsControl.setPlanPermission(PlanKey planKey,
BambooTestPermission permission)
Set plan permission
|
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)
package scope so TriggerPlanBuilder can use it
|
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.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) |
| 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 |
|---|---|
TestDeploymentProjectDetails.Builder |
TestDeploymentProjectDetails.Builder.branch(PlanKey branchKey) |
TestDeploymentProjectDetails.Builder |
TestDeploymentProjectDetails.Builder.withPlan(PlanKey planKey) |
| 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 |
AfterSuccessfulPlanTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulPlanTriggerConfigurator.updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition) |
boolean |
AfterSuccessfulStageTriggerConfigurator.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,RepositoryDefinition> repositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials,
Map<PlanKey,ChainStorageTag> relevantStorageTags)
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 |
|---|---|
void |
BuildQueueManagerImpl.removeAllBuildsForPlanFromQueue(PlanKey planKey) |
void |
BuildQueueManager.removeAllBuildsForPlanFromQueue(PlanKey planKey)
Deprecated.
|
| 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 |
|---|---|
boolean |
BambooActionSupport.hasLinkedDeployments(PlanKey planKey)
Deprecated.
since 5.11 use the method from FreemarkerContext
|
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 |
|---|---|
int |
DeletePlan.getNumberOfExecutions(PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.