| Modifier and Type | Method and Description |
|---|---|
void |
StopBuildManager.cancelDeployment(ResultKey resultKey,
Long deploymentResultId,
Long agentId)
Cancel a running deployment
|
CurrentlyBuilding |
BuildExecutionManager.getCurrentlyBuildingByPlanResultKey(ResultKey resultKey)
Returns
CurrentlyBuilding instance for build identified by buildResultKey. |
BuildLogger |
BuildLoggerManager.getLogger(ResultKey resultKey)
Returns a
BuildLogger for the given result |
CurrentlyBuilding |
BuildExecutionManager.removeCurrentlyBuilding(ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArtifactManager.retrieve(BuildLogger buildLogger,
PlanResultKey planResultKey,
ResultKey clientKey,
ArtifactDefinitionContext artifactDefinitionContext,
String destinationPath,
Map<String,String> artifactHandlersConfiguration,
File buildWorkingDirectory,
Map<String,Artifact> versionArtifacts)
Retrieves an artifact from artifact storage.
|
ArtifactRetrievalStatus |
ArtifactHandler.retrieve(PlanResultKey planResultKey,
ResultKey clientKey,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig)
Retrieve plan artifact.
|
ArtifactRetrievalStatus |
ArtifactHandler.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig)
Retrieve arbitrary
Artifact. |
| Modifier and Type | Method and Description |
|---|---|
File |
BuildDirectoryManager.getServerSideTaskWorkingDirectory(ResultKey resultKey)
Returns the directory used by server-side tasks, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AgentManager.updateAgentStatusIfResultReturnPossibleAfterServerRestart(long agentId,
ResultKey resultKey,
String displayName,
long deploymentResultId)
Checks if agent is capable of 'surviving' a server restart, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
ResultKeyProvider.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
ResultEvent.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionPhaseService.executionCancelled(ResultKey resultKey,
Long deploymentResultId,
boolean buildActuallyCancelled)
Marks confirmation of build cancellation request.
|
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
ErrorDetails.getResultKey()
Get result key associated with this error
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractErrorUpdateHandler.addErrorCollection(ResultKey buildKey,
ErrorCollection errors) |
void |
ErrorUpdateHandler.addErrorCollection(ResultKey buildKey,
ErrorCollection errors)
Adds all the error messages in the errorCollection to the build
|
Collection<ErrorDetails> |
ErrorAccessor.getErrors(ResultKey resultKey)
Obtain all the errors recorded against a specific result
|
void |
AbstractErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable) |
void |
ErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable)
Record an error against a result
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlanResultKey
Identifier for result objects such as
ChainResultsSummary and BuildResultsSummary
Can be created from PlanKeys |
| Modifier and Type | Method and Description |
|---|---|
SecureToken |
SecureTokenService.generate(ResultKey resultKey)
Generates a
SecureToken for a given PlanResultKey |
void |
SecureTokenService.invalidate(ResultKey resultKey)
Invalidates the
SecureToken for the given ResultKey |
boolean |
SecureTokenService.isValid(SecureToken tokenToValidate,
ResultKey resultKey)
Checks if the given
SecureToken is valid for given ResultKey |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
CommonContext.getResultKey() |
| Modifier and Type | Field and Description |
|---|---|
protected ResultKey |
AbstractBuildAwareAgentStatus.resultKey |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
AbstractBuildAwareAgentStatus.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalResultProcessor.terminateResult(ResultKey resultKey)
Method invoked when process producing a result is stopped abrubtly (by a user, by an agent going down...)
|
| Constructor and Description |
|---|
AbstractBuildAwareAgentStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
AgentBuildingStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
AgentCancellingStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<ResultKeyProvider,ResultKey> |
QueueManagerUtils.GET_RESULT_KEY |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
ExecutableOrderProvider.findExecutableForAgent(long agentId,
Collection<QueueOfExecutables.ExecutableData> executableData)
From the list of executables, returns the executable that should be picked up by the agent.
|
ResultKey |
QueueOfExecutables.ExecutableData.getResultKey() |
ResultKey |
BuildQueueManager.QueuedResultKey.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<ResultKey> |
QueueManagerUtils.getQueuedExecutables(BuildQueueManager buildQueueManager) |
| Modifier and Type | Method and Description |
|---|---|
static BuildQueueManager.QueuedResultKey |
QueueManagerUtils.asQueued(ResultKey resultKey) |
CommonContext |
QueueOfExecutables.get(ResultKey resultKey)
Retrieves an executable with given key from storage.
|
BuildQueuePosition |
BuildQueueManager.getQueuePosition(ResultKey resultKey)
Returns information on position of plan result in the queue.
|
static com.google.common.base.Predicate<? super ResultKeyProvider> |
QueueManagerUtils.hasResultKeyEqualTo(ResultKey resultKey) |
CommonContext |
QueueOfExecutables.inflight(ResultKey resultKey)
Called when a given executable is en route to agent.
|
BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManager.peekContext(ResultKey resultKey)
Returns a queued CommonContext for given resultKey.
|
CommonContext |
QueueOfExecutables.remove(ResultKey resultKey)
Called when an executable should be removed from the queue.
|
void |
BuildQueueManager.removeBuildFromQueue(ResultKey resultKey)
Removes the
CommonContext associated with the resultKey to be removed from the queue. |
boolean |
ExecutableOrderProvider.reorder(ResultKey resultKey,
int index)
Called when an executable with a specific result key should be moved to a specific index in the queue.
|
boolean |
BuildQueueManager.reorderInQueue(ResultKey resultKey,
int index)
Reorders the build queue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BuildQueueManager.restoreState(Set<ResultKey> resultsToRestore)
Restore state after server restart.
|
| Constructor and Description |
|---|
BuildQueueManager.QueuedResultKey(ResultKey resultKey,
long timestamp) |
QueueOfExecutables.ExecutableData(ResultKey resultKey) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.