Uses of Interface
com.atlassian.bamboo.v2.build.CommonContext
Packages that use CommonContext
Package
Description
-
Uses of CommonContext in com.atlassian.bamboo.agent.ephemeral
Fields in com.atlassian.bamboo.agent.ephemeral declared as CommonContextModifier and TypeFieldDescriptionfinal CommonContextEphemeralAgentPodLaunchingReScheduler.RetryItem.contextMethods in com.atlassian.bamboo.agent.ephemeral with parameters of type CommonContextModifier and TypeMethodDescription@NotNull LaunchAgentPodResultEphemeralAgentExecutionService.launch(@NotNull EphemeralAgentTemplate ephemeralAgentTemplate, @NotNull CommonContext context) Deprecated.@NotNull LaunchAgentPodResultEphemeralAgentExecutionService.launch(@NotNull List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplates, @NotNull CommonContext context) Launch ephemeral agent based on delivered templates and context.@NotNull LaunchAgentPodResultEphemeralAgentKubernetesExecutionService.launch(@NotNull EphemeralAgentTemplate ephemeralAgentTemplate, @NotNull CommonContext context) @NotNull LaunchAgentPodResultEphemeralAgentKubernetesExecutionService.launch(@NotNull List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplates, @NotNull CommonContext context) EphemeralAgentPodLaunchingReScheduler.RetryItem.of(@NotNull List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplate, @NotNull CommonContext context, int retryCount, int maxRetries, @NotNull String lastTryPodName, @NotNull String ephemeralAgentIndividualToken) -
Uses of CommonContext in com.atlassian.bamboo.agent.ephemeral.event
Methods in com.atlassian.bamboo.agent.ephemeral.event that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextEphemeralAgentLaunchRequest.getContext()Gets the build context the ephemeral agent launch was requested for. -
Uses of CommonContext in com.atlassian.bamboo.artifact
Methods in com.atlassian.bamboo.artifact with parameters of type CommonContextModifier and TypeMethodDescriptionvoidCommonContextHelperService.addPlanInformation(CommonContext context, PlanKey planKey) voidCommonContextHelperServiceImpl.addPlanInformation(CommonContext context, PlanKey planKey) -
Uses of CommonContext in com.atlassian.bamboo.build
Methods in com.atlassian.bamboo.build with parameters of type CommonContextModifier and TypeMethodDescriptionvoidBuildLoggerManager.transferLogs(BuildLogger buildLogger, CommonContext context) Transfers log to the final location. -
Uses of CommonContext in com.atlassian.bamboo.build.logger
Methods in com.atlassian.bamboo.build.logger with parameters of type CommonContextModifier and TypeMethodDescriptionvoidBuildLoggingContext.setContext(@NotNull CommonContext context, @NotNull BuildLogger buildLogger) voidBuildLoggingContextImpl.setContext(@NotNull CommonContext context, @NotNull BuildLogger buildLogger) voidDefaultBuildLoggerManager.transferLogs(BuildLogger buildLogger, CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.build.pipeline.tasks
Methods in com.atlassian.bamboo.build.pipeline.tasks that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextExecuteBuildTask.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) @NotNull CommonContextPrepareBuildTask.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) Methods in com.atlassian.bamboo.build.pipeline.tasks with parameters of type CommonContextModifier and TypeMethodDescription@NotNull CommonContextExecuteBuildTask.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) @NotNull CommonContextPrepareBuildTask.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) -
Uses of CommonContext in com.atlassian.bamboo.build.warning
Methods in com.atlassian.bamboo.build.warning with parameters of type CommonContextModifier and TypeMethodDescription@NotNull FileBuildWarningSummaryCollationService.aggregationFileForCommonContext(@NotNull CommonContext commonContext) Returns the file containing collected warnings for a givenCommonContext.@NotNull FileBuildWarningSummaryCollationServiceImpl.aggregationFileForCommonContext(@NotNull CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.buildqueue.manager
Methods in com.atlassian.bamboo.buildqueue.manager with parameters of type CommonContextModifier and TypeMethodDescriptionAgentAssignmentServiceHelper.asExecutable(CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.chains
Methods in com.atlassian.bamboo.chains with parameters of type CommonContextModifier and TypeMethodDescriptionstatic voidChainPluginSupportHelper.prepareRuntimeTaskData(CommonContext commonContext, TaskManager taskManager, ErrorUpdateHandler errorUpdateHandler) static voidChainPluginSupportHelper.processRuntimeTaskData(CommonContext commonContext, TaskManager taskManager, ErrorUpdateHandler errorUpdateHandler) -
Uses of CommonContext in com.atlassian.bamboo.deployments.execution
Subinterfaces of CommonContext in com.atlassian.bamboo.deployments.executionClasses in com.atlassian.bamboo.deployments.execution that implement CommonContext -
Uses of CommonContext in com.atlassian.bamboo.event
Classes in com.atlassian.bamboo.event with type parameters of type CommonContext -
Uses of CommonContext in com.atlassian.bamboo.event.ephemeral
Methods in com.atlassian.bamboo.event.ephemeral that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextEphemeralAgentLaunchRequestImpl.getContext()Constructors in com.atlassian.bamboo.event.ephemeral with parameters of type CommonContextModifierConstructorDescriptionEphemeralAgentLaunchRequestImpl(List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplates, CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.execution
Methods in com.atlassian.bamboo.execution with parameters of type CommonContextModifier and TypeMethodDescriptionvoidExecutionPhaseService.agentAssigned(@NotNull CommonContext context, long agentId) This is executed on the agent when agent accepts the build/deployment.voidExecutionPhaseServiceImpl.agentAssigned(@NotNull CommonContext context, long agentId) voidExecutionPhaseService.executionFinished(@NotNull CommonContext context) Marks finish of tasks execution.voidExecutionPhaseServiceImpl.executionFinished(@NotNull CommonContext context) voidExecutionPhaseService.executionStarted(@NotNull CommonContext context) Marks start of tasks execution.voidExecutionPhaseServiceImpl.executionStarted(@NotNull CommonContext context) voidExecutionPhaseService.queued(@NotNull CommonContext context) This is executed on the server when the build/deployment gets put on the queuevoidExecutionPhaseServiceImpl.queued(@NotNull CommonContext context) voidExecutionPhaseService.sentToAgent(@NotNull CommonContext context, long agentId) This is executed on the server when the build/deployment is sent to an agent.voidExecutionPhaseServiceImpl.sentToAgent(@NotNull CommonContext context, long agentId) voidExecutionPhaseService.vcsSyncStarted(@NotNull CommonContext context) Deprecated.since 9.3 not really related to actual VCS operationsvoidExecutionPhaseServiceImpl.vcsSyncStarted(@NotNull CommonContext context) Implementation for Deployments is simple do-nothing -
Uses of CommonContext in com.atlassian.bamboo.plan
Methods in com.atlassian.bamboo.plan that return CommonContextModifier and TypeMethodDescription@Nullable CommonContextExecutableAgentsHelper.ExecutorQuery.getContext()Methods in com.atlassian.bamboo.plan with parameters of type CommonContextModifier and TypeMethodDescriptionbooleanExecutableAgentsHelper.canExecute(@NotNull BuildAgent buildAgent, @NotNull CommonContext context, @NotNull ImmutableRequirementSet requirements) Returns true or false depending on whether the agent can execute the given context, taking into account requirement set and other global settings such as agent assignments.booleanExecutableAgentsHelperImpl.canExecute(@NotNull BuildAgent buildAgent, @NotNull CommonContext context, @NotNull ImmutableRequirementSet requirements) ExecutableAgentsHelper.ExecutorQuery.withContext(CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.plugins.artifact
Methods in com.atlassian.bamboo.plugins.artifact with parameters of type CommonContextModifier and TypeMethodDescription@NotNull Map<String,WhitelistedSerializable> ArtifactDownloaderRuntimeDataProvider.createRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) ArtifactDownloaderRuntimeDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext) voidArtifactDownloaderRuntimeDataProvider.processRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.plugins.bitbucket.v2
Methods in com.atlassian.bamboo.plugins.bitbucket.v2 with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyBitbucketCloudWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyBitbucketCloudWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyBitbucketCloudWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) -
Uses of CommonContext in com.atlassian.bamboo.plugins.command.task.configuration
Methods in com.atlassian.bamboo.plugins.command.task.configuration with parameters of type CommonContextModifier and TypeMethodDescriptionCommandTaskRuntimeDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext) voidCommandTaskRuntimeDataProvider.processRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.plugins.git.v2
Methods in com.atlassian.bamboo.plugins.git.v2 with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyGitWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyGitWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyGitWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) -
Uses of CommonContext in com.atlassian.bamboo.plugins.github
Methods in com.atlassian.bamboo.plugins.github with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyGitHubWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyGitHubWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyGitHubWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) -
Uses of CommonContext in com.atlassian.bamboo.plugins.stash.v2
Methods in com.atlassian.bamboo.plugins.stash.v2 with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyBitbucketServerWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyBitbucketServerWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyBitbucketServerWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) -
Uses of CommonContext in com.atlassian.bamboo.process
Methods in com.atlassian.bamboo.process that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextProcessContext.getCommonContext()@NotNull CommonContextProcessContextImpl.getCommonContext()Methods in com.atlassian.bamboo.process with parameters of type CommonContextModifier and TypeMethodDescriptionProcessContextFactory.forCommonContext(@NotNull CommonContext commonContext) GenerateProcessContextfor a process executed out of scope of any task.ProcessContextFactoryImpl.forCommonContext(@NotNull CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.repository.svn.v2
Methods in com.atlassian.bamboo.repository.svn.v2 with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopySvnWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopySvnWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) -
Uses of CommonContext in com.atlassian.bamboo.task
Methods in com.atlassian.bamboo.task that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextCommonTaskContextImpl.getBuildContext()@NotNull CommonContextCommonTaskContext.getCommonContext()Contains all the build related information about the running of the tasks@NotNull CommonContextCommonTaskContextImpl.getCommonContext()@NotNull CommonContextTaskExecutionContext.getCommonContext()Methods in com.atlassian.bamboo.task with parameters of type CommonContextModifier and TypeMethodDescriptiondefault @NotNull Map<String,WhitelistedSerializable> RuntimeTaskDataProvider.createRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) Server side pre-build action that may be implemented by task.@NotNull List<TaskResult>TaskExecutor.execute(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) @NotNull List<TaskResult>TaskExecutorImpl.execute(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) @NotNull List<TaskResult>TaskExecutor.executeFinalTasks(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) @NotNull List<TaskResult>TaskExecutorImpl.executeFinalTasks(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) @NotNull List<TaskResult>TaskExecutor.executePreparationTasks(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) @NotNull List<TaskResult>TaskExecutorImpl.executePreparationTasks(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet readOnlyCapabilitySet) RuntimeTaskDataProvider.populateRuntimeTaskData(@NotNull TaskDefinition taskDefinition, @NotNull CommonContext commonContext) Server side pre-build action that may be implemented by task.voidRuntimeTaskDataProvider.processRuntimeTaskData(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) Server side post-build action that may be implemented by task.Constructors in com.atlassian.bamboo.task with parameters of type CommonContextModifierConstructorDescriptionTaskExecutionContext(Queue<RuntimeTaskDefinition> tasks, TaskExecutionStrategy executionStrategy, @NotNull CommonContext commonContext, ReadOnlyCapabilitySet capabilities, BuildLoggerManager buildLoggerManager, File defaultRootDirectory) -
Uses of CommonContext in com.atlassian.bamboo.task.background
Methods in com.atlassian.bamboo.task.background with parameters of type CommonContextModifier and TypeMethodDescriptionvoidTaskBackgroundProcessor.finaliseProcessing(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) voidTaskBackgroundProcessor.initProcessing(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.task.condition
Methods in com.atlassian.bamboo.task.condition with parameters of type CommonContextModifier and TypeMethodDescriptiondefault @NotNull StringTaskCondition.getDescription(@NotNull CommonContext commonContext, @NotNull TaskConditionConfig condition) Provide condition description to display at UI and build logs.booleanTaskCondition.isMet(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull Map<String, String> conditionConfiguration, @NotNull CommonContext commonContext) -
Uses of CommonContext in com.atlassian.bamboo.task.repository
Methods in com.atlassian.bamboo.task.repository with parameters of type CommonContextModifier and TypeMethodDescriptionstatic PlanRepositoryDefinitionRepositoryTaskHelper.getPlanRepositoryByIdSelector(@NotNull CommonContext buildContext, @NotNull TaskDefinition taskDefinition, @NotNull String repositoryIdSelector) -
Uses of CommonContext in com.atlassian.bamboo.testutils.build.logger
Methods in com.atlassian.bamboo.testutils.build.logger with parameters of type CommonContextModifier and TypeMethodDescriptionvoidBuildLoggerManagerForTesting.transferLogs(BuildLogger buildLogger, CommonContext buildContext) -
Uses of CommonContext in com.atlassian.bamboo.v2.build
Subinterfaces of CommonContext in com.atlassian.bamboo.v2.buildModifier and TypeInterfaceDescriptioninterfaceA class that encapsulates how to build a particular plan at a given instanceClasses in com.atlassian.bamboo.v2.build that implement CommonContextMethods in com.atlassian.bamboo.v2.build with parameters of type CommonContextModifier and TypeMethodDescriptionBuildContextHelper.getArtifactHandlerConfiguration(@NotNull CommonContext context) static FileBuildContextHelper.getBuildWorkingDirectory(CommonContext buildContext) static voidCommonContextHelper.rewire(CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.v2.build.agent
Fields in com.atlassian.bamboo.v2.build.agent declared as CommonContextMethods in com.atlassian.bamboo.v2.build.agent that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextBuildPhase.call(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet capabilitySet) Execute the build task.@Nullable CommonContextDefaultBuildAgent.getBuilding()@Nullable CommonContextExecutableBuildAgent.getBuilding()Gets theBuildContextrelated to the build that is building on the agent.Methods in com.atlassian.bamboo.v2.build.agent with parameters of type CommonContextModifier and TypeMethodDescription@NotNull CommonContextBuildPhase.call(@NotNull CommonContext buildContext, @NotNull ReadOnlyCapabilitySet capabilitySet) Execute the build task.@NotNull Collection<BuildAgent>BuildAgentRequirementFilter.filter(CommonContext context, Collection<BuildAgent> agents, MinimalRequirementSet requirements) Filter the given collection of agents by the requirementsvoidDefaultBuildAgent.onContextReceived(@NotNull CommonContext commonContext) voidExecutableBuildAgent.onContextReceived(@NotNull CommonContext commonContext) This method is called when the agent has just retrieved a context from queuevoidLocalResultProcessorImpl.processResult(@NotNull CommonContext context) voidResultProcessor.processResult(@NotNull CommonContext context) voidDefaultBuildAgent.setContextToBuild(@NotNull CommonContext newContext) voidExecutableBuildAgent.setContextToBuild(@NotNull CommonContext context) -
Uses of CommonContext in com.atlassian.bamboo.v2.build.agent.docker
Methods in com.atlassian.bamboo.v2.build.agent.docker with parameters of type CommonContextModifier and TypeMethodDescriptionDockerContainerControllerFactory.forCommonContext(@NotNull CommonContext commonContext) DockerContainerControllerFactoryImpl.forCommonContext(@NotNull CommonContext commonContext) Constructors in com.atlassian.bamboo.v2.build.agent.docker with parameters of type CommonContextModifierConstructorDescriptionprotectedDockerContainerControllerImpl(@NotNull CommonContext context, @NotNull DockerContainerService dockerContainerService, @NotNull ProcessContextFactory processContextFactory, @NotNull CapabilityContext capabilityContext, @NotNull CustomVariableContext customVariableContext, @NotNull ProcessService processService, @NotNull HomeDirectoryLayout homeDirectoryLayout) -
Uses of CommonContext in com.atlassian.bamboo.v2.build.agent.messages
Methods in com.atlassian.bamboo.v2.build.agent.messages that return CommonContextConstructors in com.atlassian.bamboo.v2.build.agent.messages with parameters of type CommonContext -
Uses of CommonContext in com.atlassian.bamboo.v2.build.agent.remote
Methods in com.atlassian.bamboo.v2.build.agent.remote with parameters of type CommonContextModifier and TypeMethodDescriptionvoidRemoteExecutionPhaseServiceImpl.agentAssigned(@NotNull CommonContext context, long agentId) voidRemoteExecutionPhaseServiceImpl.executionFinished(@NotNull CommonContext context) voidRemoteExecutionPhaseServiceImpl.executionStarted(@NotNull CommonContext context) voidRemoteBuildAgent.onContextReceived(@NotNull CommonContext commonContext) voidRemoteResultProcessor.processResult(@NotNull CommonContext context) voidRemoteExecutionPhaseServiceImpl.queued(@NotNull CommonContext context) voidRemoteExecutionPhaseServiceImpl.sentToAgent(@NotNull CommonContext context, long agentId) voidRemoteBuildLoggerManager.transferLogs(BuildLogger buildLogger, CommonContext context) voidRemoteExecutionPhaseServiceImpl.vcsSyncStarted(@NotNull CommonContext context) Implementation for Deployments is simple do-nothing -
Uses of CommonContext in com.atlassian.bamboo.v2.build.queue
Classes in com.atlassian.bamboo.v2.build.queue with type parameters of type CommonContextModifier and TypeClassDescriptionclassQueueManagerView<S extends CommonContext,V> QueueManagerView is the only class that should be used to access Bamboo queue.Methods in com.atlassian.bamboo.v2.build.queue that return CommonContextModifier and TypeMethodDescription@Nullable CommonContextRetrieves an executable with given key from storage.@Nullable CommonContextAgentQueueAccessor.QueueAccessResult.getContext()@Nullable CommonContextCalled when a given executable is en route to agent.@Nullable CommonContextCalled when an executable should be removed from the queue.@Nullable CommonContextBuildQueueManager.removeBuildFromQueue(@NotNull ResultKey resultKey) Removes theCommonContextassociated with the resultKey to be removed from the queue.BuildQueueManagerImpl.removeBuildFromQueue(@NotNull ResultKey resultKey) @Nullable CommonContextAgentQueueAccessor.takeBuildContext(long agentId) Deprecated.since 7.1 use {AgentQueueAccessor.takeContext(long)}@Nullable CommonContextAgentQueueAccessorImpl.takeBuildContext(long id) @Nullable CommonContextBuildQueueManagerImpl.takeBuildContext(long agentId) Methods in com.atlassian.bamboo.v2.build.queue that return types with arguments of type CommonContextModifier and TypeMethodDescriptionstatic <V> QueueManagerView<CommonContext,V> QueueManagerView.newView(BuildQueueManager buildQueueManager, Function<BuildQueueManager.QueueItemView<CommonContext>, BuildQueueManager.QueueItemView<V>> context2QueueItem) Creates a queue view that returns all queued executables - without filtering@Nullable BuildQueueManager.QueueItemView<CommonContext>BuildQueueManager.peekContext(@NotNull ResultKey resultKey) Returns a queued CommonContext for given resultKey.@Nullable BuildQueueManager.QueueItemView<CommonContext>BuildQueueManagerImpl.peekContext(@NotNull ResultKey resultKey) Methods in com.atlassian.bamboo.v2.build.queue with parameters of type CommonContextModifier and TypeMethodDescriptionvoidBuildQueueManager.addToQueue(@NotNull CommonContext context) Deprecated.since 10.0 useBuildQueueManager.addToQueueWithResult(CommonContext)instead.voidBuildQueueManagerImpl.addToQueue(@NotNull CommonContext context) BuildQueueManager.addToQueueWithResult(@NotNull CommonContext context) Attempts to add the build to a queue.BuildQueueManagerImpl.addToQueueWithResult(@NotNull CommonContext context) booleanQueueOfExecutables.enqueue(@NotNull CommonContext context, @Nullable MinimalRequirementSet requirements) Deprecated.since 9.3, useQueueOfExecutables.enqueueAndRequestDedicatedAgentIfApplicable(CommonContext, MinimalRequirementSet), this method does not handle dedicated agents.@NotNull QueueOfExecutables.EnqueueResultQueueOfExecutables.enqueueAndRequestDedicatedAgentIfApplicable(@NotNull CommonContext context, @Nullable MinimalRequirementSet requirements) Adds a new executable to store.@Nullable RequirementSetExecutorCalculator.getRequirementSet(CommonContext context) voidExecutableOrderProvider.onDequeue(@NotNull CommonContext resultKey) Called when a context is removed from queue.AgentQueueAccessor.QueueAccessResult.withContext(@Nullable CommonContext context) Method parameters in com.atlassian.bamboo.v2.build.queue with type arguments of type CommonContextModifier and TypeMethodDescriptionstatic <V> QueueManagerView<CommonContext,V> QueueManagerView.newView(BuildQueueManager buildQueueManager, Function<BuildQueueManager.QueueItemView<CommonContext>, BuildQueueManager.QueueItemView<V>> context2QueueItem) Creates a queue view that returns all queued executables - without filteringvoidExecutableOrderProvider.onEnqueue(@NotNull Iterable<CommonContext> contexts) Will not be called concurrently. -
Uses of CommonContext in com.atlassian.bamboo.v2.build.queue.order
Methods in com.atlassian.bamboo.v2.build.queue.order with parameters of type CommonContextModifier and TypeMethodDescriptionvoidFifoExecutableOrderProvider.onDequeue(@NotNull CommonContext context) Method parameters in com.atlassian.bamboo.v2.build.queue.order with type arguments of type CommonContextModifier and TypeMethodDescriptionvoidFifoExecutableOrderProvider.onEnqueue(@NotNull Iterable<CommonContext> contexts) -
Uses of CommonContext in com.atlassian.bamboo.v2.build.queue.queues
Methods in com.atlassian.bamboo.v2.build.queue.queues that return CommonContextModifier and TypeMethodDescription@Nullable CommonContext@NotNull CommonContextCommonContextMap.ContextWithMetadata.getContext()@Nullable CommonContext@Nullable CommonContextMethods in com.atlassian.bamboo.v2.build.queue.queues with parameters of type CommonContextModifier and TypeMethodDescriptionbooleanAbstractQueueOfExecutables.enqueue(@NotNull CommonContext context, @Nullable MinimalRequirementSet requirements) @NotNull QueueOfExecutables.EnqueueResultAbstractQueueOfExecutables.enqueueAndRequestDedicatedAgentIfApplicable(@NotNull CommonContext context, @Nullable MinimalRequirementSet requirements) Constructors in com.atlassian.bamboo.v2.build.queue.queues with parameters of type CommonContextModifierConstructorDescriptionContextWithMetadata(@NotNull CommonContext context, @NotNull MinimalRequirementSet requirements) -
Uses of CommonContext in com.atlassian.bamboo.v2.build.task
Methods in com.atlassian.bamboo.v2.build.task that return CommonContextModifier and TypeMethodDescription@NotNull CommonContextInitializeBuild.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) Methods in com.atlassian.bamboo.v2.build.task with parameters of type CommonContextModifier and TypeMethodDescription@NotNull CommonContextInitializeBuild.call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) -
Uses of CommonContext in com.atlassian.bamboo.variable
Methods in com.atlassian.bamboo.variable with parameters of type CommonContextModifier and TypeMethodDescriptionvoidCustomVariableContextRunner.execute(CommonContext buildContext, @NotNull Runnable runnable) <V> VCustomVariableContextRunner.execute(CommonContext context, @NotNull Callable<V> callable) voidCustomVariableContextRunnerImpl.execute(CommonContext context, @NotNull Runnable runnable) <V> VCustomVariableContextRunnerImpl.execute(CommonContext context, @NotNull Callable<V> callable) -
Uses of CommonContext in com.atlassian.bamboo.variable.substitutor
Methods in com.atlassian.bamboo.variable.substitutor with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VariableSubstitutorVariableSubstitutorFactory.newSubstitutorForCommonContext(@NotNull CommonContext commonContext) @NotNull VariableSubstitutorVariableSubstitutorFactoryImpl.newSubstitutorForCommonContext(@NotNull CommonContext commonContext) Constructors in com.atlassian.bamboo.variable.substitutor with parameters of type CommonContextModifierConstructorDescriptionprotectedVariableSubstitutorImpl(@NotNull CommonContext commonContext, @NotNull BuildLoggerManager buildLoggerManager, @Nullable CapabilityContext capabilityContext, @NotNull AgentContext agentContext, @NotNull BuildDirectoryManager buildDirectoryManager, @NotNull BambooUrl bambooUrl, @NotNull CustomVariableContext customVariableContext, @NotNull VcsRepositoryManager vcsRepositoryManager) -
Uses of CommonContext in com.atlassian.bamboo.vcs.configuration.legacy
Classes in com.atlassian.bamboo.vcs.configuration.legacy that implement CommonContextMethods in com.atlassian.bamboo.vcs.configuration.legacy with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyLegacyWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) @NotNull FileLegacyFixedDirectoryWorkingCopyManager.getWorkingCopyPath(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData) @NotNull VcsWorkingCopyLegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision) @NotNull VcsWorkingCopyLegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyLegacyWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) @NotNull VcsWorkingCopyLegacyFixedDirectoryWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) @NotNull VcsWorkingCopyLegacyWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) Constructors in com.atlassian.bamboo.vcs.configuration.legacy with parameters of type CommonContext -
Uses of CommonContext in com.atlassian.bamboo.vcs.runtime
Methods in com.atlassian.bamboo.vcs.runtime with parameters of type CommonContextModifier and TypeMethodDescription@NotNull VcsWorkingCopyMergingVcsWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) Checks out the targetBranch and merges sourceBranch to it.@NotNull FileFixedDirectoryWorkingCopyManager.getWorkingCopyPath(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData) Deprecated.Based on configuration and current context produce absolute path to the working copy.@NotNull VcsWorkingCopyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision) Deprecated.Checkout or update a working copy to a revision.default @NotNull VcsWorkingCopyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) Deprecated.If you can implement this correctly using targetPath, then you should not be implementing this interface.@NotNull VcsWorkingCopyVcsWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) Checkout or update a working copy to a revision.default @NotNull VcsWorkingCopyFixedDirectoryWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) Deprecated.If you can implement this, then you should not be implementing this interface.@NotNull VcsWorkingCopyVcsWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) Checkout or update a working copy to the latest revision. -
Uses of CommonContext in com.atlassian.bamboo.warnings
Methods in com.atlassian.bamboo.warnings with parameters of type CommonContextModifier and TypeMethodDescriptionvoidWarningsBackgroundProcessor.finaliseProcessing(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext) voidWarningsBackgroundProcessor.initProcessing(@NotNull RuntimeTaskDefinition taskDefinition, @NotNull CommonContext commonContext)
EphemeralAgentExecutionService.launch(List, CommonContext)}