Modifier and Type | Method and Description |
---|---|
CommonContext |
ExecuteBuildTask.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
CommonContext |
PrepareBuildTask.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
ExecuteBuildTask.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
CommonContext |
PrepareBuildTask.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
static void |
ChainPluginSupportHelper.prepareRuntimeTaskData(CommonContext commonContext,
TaskManager taskManager,
ErrorUpdateHandler errorUpdateHandler) |
static void |
ChainPluginSupportHelper.processRuntimeTaskData(CommonContext commonContext,
TaskManager taskManager,
ErrorUpdateHandler errorUpdateHandler) |
Modifier and Type | Interface and Description |
---|---|
interface |
DeploymentContext |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
ContextEvent<C extends CommonContext> |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionPhaseServiceImpl.agentAssigned(CommonContext context,
long agentId) |
void |
ExecutionPhaseService.agentAssigned(CommonContext context,
long agentId)
This is executed on the agent
|
void |
ExecutionPhaseServiceImpl.executionFinished(CommonContext context) |
void |
ExecutionPhaseService.executionFinished(CommonContext context)
Marks finish of tasks execution.
|
void |
ExecutionPhaseServiceImpl.executionStarted(CommonContext context) |
void |
ExecutionPhaseService.executionStarted(CommonContext context)
Marks start of tasks execution.
|
void |
ExecutionPhaseServiceImpl.queued(CommonContext context) |
void |
ExecutionPhaseService.queued(CommonContext context)
This is executed on the server When the build/deployment gets put on the queue
|
void |
ExecutionPhaseServiceImpl.vcsSyncStarted(CommonContext context)
Implementation for Deployments is simple do-nothing
|
void |
ExecutionPhaseService.vcsSyncStarted(CommonContext context)
This is executed on the agent
|
Modifier and Type | Method and Description |
---|---|
CommonContext |
ExecutableAgentsHelper.ExecutorQuery.getContext() |
Modifier and Type | Method and Description |
---|---|
ExecutableAgentsHelper.ExecutorQuery |
ExecutableAgentsHelper.ExecutorQuery.withContext(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
Map<String,WhitelistedSerializable> |
ArtifactDownloaderRuntimeDataProvider.createRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext) |
Map<String,String> |
ArtifactDownloaderRuntimeDataProvider.populateRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext) |
void |
ArtifactDownloaderRuntimeDataProvider.processRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext) |
void |
ArtifactDownloaderRuntimeDataProvider.processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentRepositoryBuildContext |
Constructor and Description |
---|
DeploymentRepositoryBuildContext(CommonContext commonContext) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
CommonTaskContextImpl.getBuildContext() |
CommonContext |
CommonTaskContextImpl.getCommonContext() |
CommonContext |
TaskExecutionContext.getCommonContext() |
CommonContext |
CommonTaskContext.getCommonContext()
Contains all the build related information about the running of the tasks
|
Modifier and Type | Method and Description |
---|---|
Map<String,WhitelistedSerializable> |
RuntimeTaskDataProvider.createRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
List<TaskResult> |
TaskExecutorImpl.execute(CommonContext buildContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutor.execute(CommonContext buildContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutorImpl.executeFinalTasks(CommonContext commonContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutor.executeFinalTasks(CommonContext commonContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutorImpl.executePreparationTasks(CommonContext buildContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutor.executePreparationTasks(CommonContext buildContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
Map<String,String> |
RuntimeTaskDataProvider.populateRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Server side pre-build action that may be implemented by task.
|
void |
RuntimeTaskDataProvider.processRuntimeTaskData(RuntimeTaskDefinition taskDefinition,
CommonContext commonContext)
Server side post-build action that may be implemented by task.
|
void |
RuntimeTaskDataProvider.processRuntimeTaskData(TaskDefinition taskDefinition,
CommonContext commonContext)
Deprecated.
|
Constructor and Description |
---|
RuntimeTaskContextImpl(CommonContext owningContext) |
TaskExecutionContext(Queue<RuntimeTaskDefinition> tasks,
TaskExecutionStrategy executionStrategy,
CommonContext commonContext,
ReadOnlyCapabilitySet capabilities,
BuildLoggerManager buildLoggerManager,
File defaultRootDirectory) |
Modifier and Type | Method and Description |
---|---|
static RepositoryDefinition |
RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(CommonContext buildContext,
TaskDefinition taskDefinition,
String repositoryIdSelector) |
Modifier and Type | Interface and Description |
---|---|
interface |
BuildContext
A class that encapsulates how to build a particular plan at a given instance
|
Modifier and Type | Class and Description |
---|---|
class |
BuildContextImpl |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
BuildContextHelper.getArtifactHandlerConfiguration(CommonContext context) |
static File |
BuildContextHelper.getBuildWorkingDirectory(CommonContext buildContext) |
static void |
CommonContextHelper.rewire(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
BuildPhase.call(CommonContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
Execute the build task.
|
CommonContext |
DefaultBuildAgent.getBuilding() |
CommonContext |
ExecutableBuildAgent.getBuilding()
Gets the
BuildContext related to the build that is building on the agent. |
Modifier and Type | Method and Description |
---|---|
CommonContext |
BuildPhase.call(CommonContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
Execute the build task.
|
Collection<BuildAgent> |
BuildAgentRequirementFilter.filter(CommonContext context,
Collection<BuildAgent> agents,
MinimalRequirementSet requirements)
Filter the given collection of agents by the requirements
|
void |
LocalResultProcessorImpl.processResult(CommonContext context) |
void |
ResultProcessor.processResult(CommonContext context) |
void |
DefaultBuildAgent.setContextToBuild(CommonContext newContext) |
void |
ExecutableBuildAgent.setContextToBuild(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
ProcessResult.getContext() |
Constructor and Description |
---|
ProcessResult(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteExecutionPhaseServiceImpl.agentAssigned(CommonContext context,
long agentId) |
void |
RemoteExecutionPhaseServiceImpl.executionFinished(CommonContext context) |
void |
RemoteExecutionPhaseServiceImpl.executionStarted(CommonContext context) |
void |
RemoteResultProcessor.processResult(CommonContext context) |
void |
RemoteExecutionPhaseServiceImpl.queued(CommonContext context) |
void |
RemoteExecutionPhaseServiceImpl.vcsSyncStarted(CommonContext context)
Implementation for Deployments is simple do-nothing
|
Modifier and Type | Class and Description |
---|---|
class |
QueueManagerView<S extends CommonContext,V>
QueueManagerView is the only class that should be used to access Bamboo queue.
|
Modifier and Type | Method and Description |
---|---|
CommonContext |
QueueOfExecutables.get(ResultKey resultKey)
Retrieves an executable with given key from storage.
|
CommonContext |
QueueOfExecutables.inflight(ResultKey resultKey)
Called when a given executable is en route to agent.
|
CommonContext |
QueueOfExecutables.remove(ResultKey resultKey)
Called when an executable should be removed from the queue.
|
CommonContext |
AgentQueueAccessorImpl.takeBuildContext(long id) |
CommonContext |
BuildQueueManagerImpl.takeBuildContext(long agentId) |
CommonContext |
AgentQueueAccessor.takeBuildContext(long agentId)
Takes a
BuildContext from the queue, blocking until one is available. |
Modifier and Type | Method and Description |
---|---|
Iterable<CommonContext> |
BuildQueueManagerImpl.getBuildQueue() |
Iterable<CommonContext> |
BuildQueueManager.getBuildQueue()
Deprecated.
since 5.1
|
com.google.common.collect.ImmutableList<CommonContext> |
BuildQueueManagerImpl.getRecentBuildQueue() |
com.google.common.collect.ImmutableList<CommonContext> |
BuildQueueManager.getRecentBuildQueue()
Deprecated.
since 5.1 use
BuildQueueManager.getBuildQueue() instead |
static <V> QueueManagerView<CommonContext,V> |
QueueManagerView.newView(BuildQueueManager buildQueueManager,
com.google.common.base.Function<BuildQueueManager.QueueItemView<CommonContext>,BuildQueueManager.QueueItemView<V>> context2QueueItem)
Creates a queue view that returns all queued executables - without filtering
|
BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManagerImpl.peekContext(ResultKey resultKey) |
BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManager.peekContext(ResultKey resultKey)
Returns a queued CommonContext for given resultKey.
|
Modifier and Type | Method and Description |
---|---|
void |
BuildQueueManagerImpl.addToQueue(CommonContext context) |
void |
BuildQueueManager.addToQueue(CommonContext context)
Attempts to add the build to a queue.
|
void |
QueueOfExecutables.enqueue(CommonContext context)
Adds a new executable to store.
|
void |
ExecutableOrderProvider.onDequeue(CommonContext resultKey)
Called when a context is removed from queue.
|
Modifier and Type | Method and Description |
---|---|
static <V> QueueManagerView<CommonContext,V> |
QueueManagerView.newView(BuildQueueManager buildQueueManager,
com.google.common.base.Function<BuildQueueManager.QueueItemView<CommonContext>,BuildQueueManager.QueueItemView<V>> context2QueueItem)
Creates a queue view that returns all queued executables - without filtering
|
void |
ExecutableOrderProvider.onEnqueue(Iterable<CommonContext> contexts)
Will not be called concurrently.
|
Modifier and Type | Method and Description |
---|---|
void |
FifoExecutableOrderProvider.onDequeue(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
void |
FifoExecutableOrderProvider.onEnqueue(Iterable<CommonContext> contexts) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
CommonContextMap.get(ResultKey resultKey) |
CommonContext |
AbstractQueueOfExecutables.get(ResultKey resultKey) |
CommonContext |
AbstractQueueOfExecutables.inflight(ResultKey resultKey) |
CommonContext |
CommonContextPersister.load(ResultKey resultKey) |
CommonContext |
XStreamQueuePersisterImpl.load(ResultKey resultKey) |
CommonContext |
AbstractQueueOfExecutables.remove(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
Iterable<CommonContext> |
CommonContextPersister.loadAndRemoveAll()
Lazily loads all stored objects and removes files from storage.
|
Iterable<CommonContext> |
XStreamQueuePersisterImpl.loadAndRemoveAll() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueueOfExecutables.enqueue(CommonContext context) |
void |
CommonContextMap.put(ResultKey resultKey,
CommonContext context) |
void |
CommonContextPersister.save(CommonContext context) |
void |
XStreamQueuePersisterImpl.save(CommonContext context) |
Modifier and Type | Method and Description |
---|---|
static CommonContextMap |
CommonContextMaps.offloadingMap(CommonContextPersister commonContextPersister,
Map<ResultKey,SoftReference<CommonContext>> delegate)
The supplied commonContextPersister will be used to persist contexts stored in delegate.
|
static CommonContextMap |
CommonContextMaps.wrap(Map<ResultKey,CommonContext> delegate)
Adapts supplied map to a CommonContextMap interface.
|
Constructor and Description |
---|
AbstractQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator,
CommonContextMap map) |
OffloadingQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator,
CommonContextPersister commonContextPersister) |
SimpleQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<Collection<BuildAgent>>> executorCalculator) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
InitializeBuild.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
CommonContext |
InitializeBuild.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
<V> V |
CustomVariableContextRunnerImpl.execute(CommonContext context,
Callable<V> callable) |
<V> V |
CustomVariableContextRunner.execute(CommonContext context,
Callable<V> callable) |
void |
CustomVariableContextRunnerImpl.execute(CommonContext context,
Runnable runnable) |
void |
CustomVariableContextRunner.execute(CommonContext buildContext,
Runnable runnable) |
Map<String,VariableDefinitionContext> |
CustomVariableContextImpl.getVariableContexts(CommonContext commonContext) |
Map<String,VariableDefinitionContext> |
CustomVariableContextForTests.getVariableContexts(CommonContext commonContext) |
Map<String,VariableDefinitionContext> |
CustomVariableContext.getVariableContexts(CommonContext commonContext)
Deprecated.
since 5.9 use
CustomVariableContext.getVariableContexts() if you want to use current thread local context. Use VariableSubstitutor otherwise. |
Map<String,String> |
CustomVariableContextImpl.getVariables(CommonContext buildContext) |
Map<String,String> |
CustomVariableContextForTests.getVariables(CommonContext commonContext) |
Map<String,String> |
CustomVariableContext.getVariables(CommonContext commonContext)
Deprecated.
since 5.9 use
CustomVariableContext.getVariableContexts() if you want to use current thread local context. Use VariableSubstitutor otherwise. |
void |
CustomVariableContextImpl.setCommonContext(CommonContext commonContext) |
void |
CustomVariableContextForTests.setCommonContext(CommonContext commonContext) |
void |
CustomVariableContext.setCommonContext(CommonContext commonContext)
Deprecated.
|
String |
CustomVariableContextImpl.substituteString(String value,
CommonContext commonContext,
BuildLogger buildLogger) |
String |
CustomVariableContextForTests.substituteString(String value,
CommonContext commonContext,
BuildLogger buildLogger) |
String |
CustomVariableContext.substituteString(String value,
CommonContext commonContext,
BuildLogger buildLogger)
Deprecated.
since 5.9 use
CustomVariableContext.substituteString(String) if you want to use current thread local context. Use VariableSubstitutor otherwise. |
Modifier and Type | Method and Description |
---|---|
VariableSubstitutor |
VariableSubstitutorFactoryImpl.newSubstitutorForCommonContext(CommonContext commonContext) |
VariableSubstitutor |
VariableSubstitutorFactory.newSubstitutorForCommonContext(CommonContext commonContext) |
Constructor and Description |
---|
VariableSubstitutorImpl(CommonContext commonContext,
BuildLoggerManager buildLoggerManager,
CapabilityContext capabilityContext,
AgentContext agentContext,
BuildDirectoryManager buildDirectoryManager,
BambooUrl bambooUrl,
CustomVariableContext customVariableContext) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.