Modifier and Type | Method and Description |
---|---|
Set<ResultKey> |
CurrentlyBuildingContainer.restoreState(Set<PlanResultKey> pendingBuildKeys) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultStopBuildManager.cancelDeployment(ResultKey resultKey,
Long deploymentResultId,
Long agentId) |
void |
StopBuildManager.cancelDeployment(ResultKey resultKey,
Long deploymentResultId,
Long agentId)
Cancel a running deployment
|
CurrentlyBuilding |
DefaultBuildExecutionManager.getCurrentlyBuildingByPlanResultKey(ResultKey resultKey) |
CurrentlyBuilding |
BuildExecutionManager.getCurrentlyBuildingByPlanResultKey(ResultKey resultKey)
Returns
CurrentlyBuilding instance for build identified by buildResultKey. |
CurrentlyBuilding |
CurrentlyBuildingContainer.getCurrentlyBuildingByResultKey(ResultKey resultKey) |
BuildLogger |
BuildLoggerManager.getLogger(ResultKey resultKey)
Returns a
BuildLogger for the given result |
CurrentlyBuilding |
DefaultBuildExecutionManager.removeCurrentlyBuilding(ResultKey resultKey) |
CurrentlyBuilding |
CurrentlyBuildingContainer.removeCurrentlyBuilding(ResultKey resultKey) |
CurrentlyBuilding |
BuildExecutionManager.removeCurrentlyBuilding(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractArtifactManager.retrieve(BuildLogger buildLogger,
PlanResultKey planResultKey,
ResultKey resultKey,
ArtifactDefinitionContext artifactDefinitionContext,
String destinationPath,
Map<String,String> artifactHandlersConfiguration,
File buildWorkingDirectory,
com.google.common.collect.Multimap<String,Artifact> availableArtifacts) |
boolean |
ArtifactManager.retrieve(BuildLogger buildLogger,
PlanResultKey planResultKey,
ResultKey clientKey,
ArtifactDefinitionContext artifactDefinitionContext,
String destinationPath,
Map<String,String> artifactHandlersConfiguration,
File buildWorkingDirectory,
com.google.common.collect.Multimap<String,Artifact> availableArtifacts)
Retrieves an artifact from artifact storage.
|
ArtifactRetrievalStatus |
S3ArtifactHandler.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig) |
ArtifactRetrievalStatus |
BambooRemoteArtifactHandler.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig) |
ArtifactRetrievalStatus |
AbstractLocalArtifactHandler.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig) |
ArtifactRetrievalStatus |
ArtifactHandlerDecoratorSupport.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig) |
ArtifactRetrievalStatus |
ArtifactHandler.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig)
Retrieve arbitrary
Artifact . |
Modifier and Type | Method and Description |
---|---|
ArtifactRetrievalStatus |
ArtifactHandlerPackagingDecorator.retrieve(ResultKey clientKey,
Artifact artifact,
ArtifactSubscriptionContext artifactSubscription,
ArtifactRetrievalConfig artifactRetrievalConfig) |
Modifier and Type | Method and Description |
---|---|
File |
DefaultBuildDirectoryManager.getServerSideTaskWorkingDirectory(ResultKey resultKey) |
File |
BuildDirectoryManager.getServerSideTaskWorkingDirectory(ResultKey resultKey)
Returns the directory used by server-side tasks, e.g.
|
Modifier and Type | Method and Description |
---|---|
static LoggerId<ResultKey> |
LoggerIds.get(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
BuildLogFileAccessor |
BuildLogFileAccessorFactory.createBuildLogFileAccessor(ResultKey resultKey) |
BuildLogFileAccessor |
BuildLogFileAccessorFactoryImpl.createBuildLogFileAccessor(ResultKey resultKey) |
static LoggerId<ResultKey> |
LoggerIds.get(ResultKey resultKey) |
static String |
BuildLogUtils.getLogFileName(ResultKey resultKey)
Deprecated.
since 5.11, use
StorageLocationService instead. |
BuildLogger |
DefaultBuildLoggerManager.getLogger(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
AgentManagerImpl.updateAgentStatusIfResultReturnPossibleAfterServerRestart(long agentId,
ResultKey resultKey,
String displayName,
long deploymentResultId) |
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 |
---|---|
Set<ResultKey> |
PendingBuildResultsStateRestoration.restoreState()
Loads server state stored on disk and restores it.
|
Set<ResultKey> |
PendingBuildResultsStateRestorationImpl.restoreState() |
Modifier and Type | Method and Description |
---|---|
ResultKey |
ResultKeyProvider.getResultKey() |
Modifier and Type | Interface and Description |
---|---|
interface |
DeploymentResultKey |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentResultKeyImpl |
Modifier and Type | Method and Description |
---|---|
ResultKey |
DeploymentContextEvent.getResultKey() |
Modifier and Type | Method and Description |
---|---|
ResultKey |
DeploymentContextImpl.getResultKey() |
Modifier and Type | Method and Description |
---|---|
ResultKey |
ResultEvent.getResultKey() |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionPhaseServiceImpl.executionCancelled(ResultKey resultKey,
Long deploymentResultId,
boolean buildActuallyCancelled) |
void |
ExecutionPhaseService.executionCancelled(ResultKey resultKey,
Long deploymentResultId,
boolean buildActuallyCancelled)
Marks confirmation of build cancellation request.
|
Modifier and Type | Class and Description |
---|---|
class |
ResultKeyUserType<K extends ResultKey> |
Modifier and Type | Method and Description |
---|---|
ResultKey |
ErrorDetailsImpl.getResultKey() |
ResultKey |
DecoratedErrorDetailsImpl.getResultKey() |
ResultKey |
ErrorDetails.getResultKey()
Get result key associated with this error
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorUpdateHandler.addErrorCollection(ResultKey buildKey,
ErrorCollection errors)
Adds all the error messages in the errorCollection to the build
|
void |
AbstractErrorUpdateHandler.addErrorCollection(ResultKey buildKey,
ErrorCollection errors) |
Collection<ErrorDetails> |
DefaultErrorHandler.getErrors(ResultKey resultKey) |
Collection<ErrorDetails> |
AggregatedChainErrorAccessor.getErrors(ResultKey resultKey) |
Collection<ErrorDetails> |
DecoratingErrorAccessorImpl.getErrors(ResultKey resultKey) |
Collection<ErrorDetails> |
ErrorAccessor.getErrors(ResultKey resultKey)
Obtain all the errors recorded against a specific result
|
void |
ErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable)
Record an error against a result
|
void |
AbstractErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable) |
void |
ErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable,
Map<String,String> metadata)
Record an error against a result
|
void |
AbstractErrorUpdateHandler.recordError(ResultKey resultKey,
String context,
Throwable throwable,
Map<String,String> metadata) |
Constructor and Description |
---|
ErrorOfPlanResultPredicate(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
SMOutputElementAppender |
SMOutputElementAppender.append(String elementName,
ResultKey resultKey) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentResultKeyAsPlanResultKey
Deprecated.
since 5.12 with not replacement.
|
class |
PlanResultKey
Identifier for result objects such as
ChainResultsSummary and BuildResultsSummary
Can be created from PlanKeys |
Constructor and Description |
---|
DeploymentResultKeyAsPlanResultKey(ResultKey source)
Deprecated.
|
Constructor and Description |
---|
RestBuildStatus(ResultKey resultKey,
RestBuildStatus.State state,
String name,
javax.ws.rs.core.UriBuilder uriBuilder,
String description) |
Modifier and Type | Field and Description |
---|---|
protected ResultKey |
StreamToBuildLoggerOutputHandler.resultKey |
Constructor and Description |
---|
ErrorStreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey) |
StreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey) |
StreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey,
boolean filterDownloadStatusMessages) |
Modifier and Type | Class and Description |
---|---|
class |
RestResultKey |
Constructor and Description |
---|
RestResultKey(ResultKey resultKey) |
Modifier and Type | Class and Description |
---|---|
class |
RestDeploymentResultKey |
Constructor and Description |
---|
RestDeploymentResultKey(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
File |
StorageLocationService.getLogFile(ResultKey resultKey)
Returns the location of the log file for the specified build or deployment.
|
String |
StorageLocationService.getLogFileName(ResultKey resultKey)
Returns the standard name of the log file for the specified build or deployment.
|
Modifier and Type | Method and Description |
---|---|
File |
StorageLocationServiceImpl.getLogFile(ResultKey resultKey) |
String |
StorageLocationServiceImpl.getLogFileName(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
SimpleBuildLogger |
BuildLoggerManagerForTesting.getLogger(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<ResultKeyProvider,ResultKey> |
BambooFunctions.getResultKey()
Extract ResultKey from ResultKeyProvider
JDK8: replace with lambda
|
Modifier and Type | Method and Description |
---|---|
ResultKey |
BuildContextImpl.getResultKey() |
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 |
LocalResultProcessorImpl.terminateResult(ResultKey resultKey) |
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 | Method and Description |
---|---|
static ResultKey |
AuthenticableMessage.Identification.forResultKey(ResultKey resultKey) |
ResultKey |
ArtifactAckMessage.getIdentification() |
ResultKey |
AuthenticableMessage.getIdentification() |
Modifier and Type | Method and Description |
---|---|
static ResultKey |
AuthenticableMessage.Identification.forResultKey(ResultKey resultKey) |
Constructor and Description |
---|
CancelExecutionAgentMessage(ResultKey resultKey,
Long deploymentResultId) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteExecutionPhaseServiceImpl.executionCancelled(ResultKey resultKey,
Long deploymentResultId,
boolean buildActuallyCancelled) |
BuildLogger |
RemoteBuildLoggerManager.getLogger(ResultKey resultKey) |
File |
RemoteBuildDirectoryManager.getServerSideTaskWorkingDirectory(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
ResultKey |
BuildContextEvent.getResultKey() |
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.
|
Set<Long> |
QueueOfExecutables.getExecutorsForExecutable(ResultKey resultKey)
Returns the executors currently considered to be eligible for building resultKey.
|
Set<Long> |
BuildQueueManagerImpl.getExecutorsForQueuedExecutable(ResultKey resultKey) |
Set<Long> |
BuildQueueManager.getExecutorsForQueuedExecutable(ResultKey resultKey) |
Collection<ElasticImageConfiguration> |
QueueOfExecutables.getImagesForExecutable(ResultKey resultKey)
Returns the images currently considered to be eligible for building resultKey.
|
Collection<ElasticImageConfiguration> |
BuildQueueManagerImpl.getImagesForQueuedExecutable(ResultKey resultKey) |
Collection<ElasticImageConfiguration> |
BuildQueueManager.getImagesForQueuedExecutable(ResultKey resultKey) |
BuildQueuePosition |
BuildQueueManagerImpl.getQueuePosition(ResultKey resultKey) |
BuildQueuePosition |
BuildQueueManager.getQueuePosition(ResultKey resultKey)
Returns information on position of plan result in the queue.
|
static 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> |
BuildQueueManagerImpl.peekContext(ResultKey resultKey) |
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 |
BuildQueueManagerImpl.removeBuildFromQueue(ResultKey resultKey) |
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 |
BuildQueueManagerImpl.reorderInQueue(ResultKey resultKey,
int index) |
boolean |
BuildQueueManager.reorderInQueue(ResultKey resultKey,
int index)
Reorders the build queue.
|
Modifier and Type | Method and Description |
---|---|
void |
BuildQueueManagerImpl.restoreState(Set<ResultKey> resultsToRestore) |
void |
BuildQueueManager.restoreState(Set<ResultKey> resultsToRestore)
Restore state after server restart.
|
Constructor and Description |
---|
ExecutableData(ResultKey resultKey) |
QueuedResultKey(ResultKey resultKey,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
ResultKey |
FifoExecutableOrderProvider.findExecutableForAgent(long agentId,
Collection<QueueOfExecutables.ExecutableData> executableData) |
Modifier and Type | Method and Description |
---|---|
boolean |
FifoExecutableOrderProvider.reorder(ResultKey resultKey,
int index) |
Modifier and Type | Method and Description |
---|---|
Set<ResultKey> |
CommonContextMap.keySet() |
Modifier and Type | Method and Description |
---|---|
CommonContext |
AbstractQueueOfExecutables.get(ResultKey resultKey) |
CommonContextMap.ContextWithMetadata |
CommonContextMap.get(ResultKey resultKey) |
Set<Long> |
AbstractQueueOfExecutables.getExecutorsForExecutable(ResultKey resultKey) |
Collection<ElasticImageConfiguration> |
AbstractQueueOfExecutables.getImagesForExecutable(ResultKey resultKey) |
CommonContext |
AbstractQueueOfExecutables.inflight(ResultKey resultKey) |
CommonContextMap.ContextWithMetadata |
CommonContextPersister.load(ResultKey resultKey) |
CommonContextMap.ContextWithMetadata |
XStreamQueuePersisterImpl.load(ResultKey resultKey) |
void |
CommonContextMap.put(ResultKey resultKey,
CommonContextMap.ContextWithMetadata contextWithMetadata) |
CommonContext |
AbstractQueueOfExecutables.remove(ResultKey resultKey) |
void |
CommonContextPersister.remove(ResultKey resultKey) |
boolean |
CommonContextMap.remove(ResultKey resultKey) |
void |
XStreamQueuePersisterImpl.remove(ResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
static CommonContextMap |
CommonContextMaps.offloadingMap(CommonContextPersister commonContextPersister,
Map<ResultKey,SoftReference<CommonContextMap.ContextWithMetadata>> delegate)
The supplied commonContextPersister will be used to persist contexts stored in delegate.
|
static CommonContextMap |
CommonContextMaps.wrap(Map<ResultKey,CommonContextMap.ContextWithMetadata> delegate)
Adapts supplied map to a CommonContextMap interface.
|
Modifier and Type | Method and Description |
---|---|
ResultKey |
DeploymentRepositoryBuildContext.getResultKey() |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.