| Modifier and Type | Interface and Description |
|---|---|
interface |
ContextEvent<C extends CommonContext> |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionPhaseService.agentAssigned(CommonContext context,
long agentId)
This is executed on the agent
|
void |
ExecutionPhaseService.executionFinished(CommonContext context)
Marks finish of tasks execution.
|
void |
ExecutionPhaseService.executionStarted(CommonContext context)
Marks start of tasks execution.
|
void |
ExecutionPhaseService.queued(CommonContext context)
This is executed on the server When the build/deployment gets put on the queue
|
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 |
|---|---|
CommonContext |
CommonTaskContext.getCommonContext()
Contains all the build related information about the running of the tasks
|
| Modifier and Type | Method and Description |
|---|---|
List<TaskResult> |
TaskExecutor.execute(CommonContext buildContext,
ReadOnlyCapabilitySet readOnlyCapabilitySet) |
List<TaskResult> |
TaskExecutor.executeFinalTasks(CommonContext commonContext,
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.
|
| 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 | Method and Description |
|---|---|
CommonContext |
BuildPhase.call(CommonContext buildContext,
ReadOnlyCapabilitySet capabilitySet)
Execute the build task.
|
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 |
ResultProcessor.processResult(CommonContext context) |
void |
ExecutableBuildAgent.setContextToBuild(CommonContext context) |
| 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 |
AgentQueueAccessor.takeBuildContext(long agentId)
Takes a
BuildContext from the queue, blocking until one is available. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<CommonContext> |
BuildQueueManager.getBuildQueue()
Deprecated.
since 5.1
|
com.google.common.collect.ImmutableList<CommonContext> |
BuildQueueManager.getRecentBuildQueue()
Deprecated.
since 5.1 use
BuildQueueManager.getBuildQueue() instead |
BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManager.peekContext(ResultKey resultKey)
Returns a queued CommonContext for given resultKey.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
void |
ExecutableOrderProvider.onEnqueue(Iterable<CommonContext> contexts)
Will not be called concurrently.
|
| Modifier and Type | Method and Description |
|---|---|
<V> V |
CustomVariableContextRunner.execute(CommonContext context,
Callable<V> callable) |
void |
CustomVariableContextRunner.execute(CommonContext buildContext,
Runnable runnable) |
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> |
CustomVariableContext.getVariables(CommonContext commonContext)
Deprecated.
since 5.9 use
CustomVariableContext.getVariableContexts() if you want to use current thread local context. Use VariableSubstitutor otherwise. |
void |
CustomVariableContext.setCommonContext(CommonContext commonContext)
Deprecated.
|
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 |
VariableSubstitutorFactory.newSubstitutorForCommonContext(CommonContext commonContext) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.