Uses of Interface
com.atlassian.bamboo.ResultKey
Package
Description
-
Uses of ResultKey in com.atlassian.bamboo.agent.ephemeral
Modifier and TypeMethodDescriptionvoid
EphemeralAgentsLaunchRequestRegistry.markRequestFailed
(@NotNull ResultKey resultKey) Mark launch as failed so that it can be retried later.void
EphemeralAgentsLaunchRequestRegistryImpl.markRequestFailed
(@NotNull ResultKey resultKey) void
Remove launch requests after it's either handled (agent picked up the job) or job is cancelled and removed from the build queue.void
boolean
EphemeralAgentsLaunchRequestRegistry.requestForKeyExists
(ResultKey typedResultKey) boolean
EphemeralAgentsLaunchRequestRegistryImpl.requestForKeyExists
(ResultKey typedResultKey) -
Uses of ResultKey in com.atlassian.bamboo.agent.managed.schedule
Modifier and TypeMethodDescriptionprotected @NotNull Collection<ElasticImageConfiguration>
ManagedAgentContainersOptimizerImpl.getImagesForQueuedExecutable
(ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.agent.messaging
Modifier and TypeMethodDescriptionprotected File
ArtifactServlet.getArtifactStorageDirectory
(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact) -
Uses of ResultKey in com.atlassian.bamboo.build
Modifier and TypeMethodDescriptionCurrentlyBuildingContainer.restoreState
(Set<PlanResultKey> pendingBuildKeys, ExecutorService executorService) Modifier and TypeMethodDescriptionvoid
DefaultStopBuildManager.cancelDeployment
(@NotNull ResultKey resultKey, @NotNull Long deploymentResultId, @Nullable Long agentId) void
StopBuildManager.cancelDeployment
(@NotNull ResultKey resultKey, @NotNull Long deploymentResultId, Long agentId) Cancel a running deployment@Nullable CurrentlyBuilding
BuildExecutionManager.getCurrentlyBuildingByPlanResultKey
(@NotNull ResultKey resultKey) ReturnsCurrentlyBuilding
instance for build identified by buildResultKey.@Nullable CurrentlyBuilding
DefaultBuildExecutionManager.getCurrentlyBuildingByPlanResultKey
(@NotNull ResultKey resultKey) @Nullable CurrentlyBuilding
CurrentlyBuildingContainer.getCurrentlyBuildingByResultKey
(@NotNull ResultKey resultKey) @NotNull BuildLogger
Returns aBuildLogger
for the given result.@NotNull FileWritingBuildLogger
ServerBuildLoggerManager.getNonPersistentLogger
(@NotNull ResultKey resultKey) Returns aBuildLogger
for the given result.@NotNull FileWritingBuildLogger
ServerBuildLoggerManager.getPersistentLogger
(@NotNull ResultKey resultKey) Returns aBuildLogger
for the given result.@Nullable CurrentlyBuilding
BuildExecutionManager.removeCurrentlyBuilding
(@NotNull ResultKey resultKey) @Nullable CurrentlyBuilding
CurrentlyBuildingContainer.removeCurrentlyBuilding
(@NotNull ResultKey resultKey) @Nullable CurrentlyBuilding
DefaultBuildExecutionManager.removeCurrentlyBuilding
(@NotNull ResultKey resultKey) void
BuildLoggerManager.removeLogger
(@NotNull ResultKey resultKey) Remove a logger if you are finished with it. -
Uses of ResultKey in com.atlassian.bamboo.build.artifact
Modifier and TypeMethodDescriptionprotected @NotNull ArtifactHandlerPublishingResult
AbstractRepublishingArtifactHandler.copyToFallbackStorageIfDeferred
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger, @NotNull ArtifactHandlerPublishingResult result, @NotNull org.apache.log4j.Logger log) protected File
AbstractLocalArtifactHandler.getArtifactStorageDirectory
(ResultKey resultKey, ArtifactDefinitionContext artifact, ArtifactHandlerConfigProvider artifactHandlerConfigProvider) protected org.apache.tools.ant.types.FileSet
AbstractRepublishingArtifactHandler.getFileSetFromFallbackStorage
(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @NotNull org.apache.log4j.Logger log) AbstractArtifactManager.publish
(@Nullable BuildLogger buildLogger, @NotNull ResultKey resultKey, @NotNull File baseDirectory, @NotNull ArtifactDefinitionContext artifact, @NotNull Map<String, String> artifactHandlerConfiguration, int minExpectedFilesCnt) @NotNull ArtifactHandlerPublishingResult
AbstractLocalArtifactHandler.publish
(@NotNull ResultKey planResultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @NotNull BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
ArtifactHandler.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
ArtifactHandlerDecoratorSupport.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) ArtifactManager.publish
(@Nullable BuildLogger buildLogger, @NotNull ResultKey resultKey, @NotNull File baseDirectory, @NotNull ArtifactDefinitionContext artifact, @NotNull Map<String, String> artifactHandlerConfiguration, int minExpectedFilesCnt) Request copy of artifacts from a designated location to artifact storage.BambooArtifactHttpTransport.publish
(@NotNull org.apache.tools.ant.types.FileSet sourceFileSet, ResultKey resultKey, ArtifactDefinitionContext artifact, String artifactDescription, @NotNull BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
BambooRemoteArtifactHandler.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
S3ArtifactHandler.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
ServerLocalArtifactHandler.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) void
AbstractLocalArtifactHandler.removeArtifactFromStorage
(@NotNull ResultKey planResultKey, @NotNull ImmutableArtifactDefinitionBase artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) void
ArtifactHandler.removeArtifactFromStorage
(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) Removes artifact files for a single artifact.void
ArtifactHandlerDecoratorSupport.removeArtifactFromStorage
(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) void
BambooRemoteArtifactHandler.removeArtifactFromStorage
(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) void
S3ArtifactHandler.removeArtifactFromStorage
(@NotNull ResultKey planResultKey, @NotNull ImmutableArtifactDefinitionBase artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider) AbstractArtifactManager.republish
(@Nullable BuildLogger buildLoggerArg, @NotNull ResultKey resultKey, @NotNull ArtifactPublishingResult artifactPublishingResult, @NotNull Map<String, String> artifactHandlersConfiguration) ArtifactManager.republish
(@Nullable BuildLogger buildLogger, @NotNull ResultKey resultKey, @NotNull ArtifactPublishingResult artifactPublishingResult, @NotNull Map<String, String> artifactHandlerConfiguration) Retry publishing artifacts that are inArtifactHandlerPublishingResult.Status.DEFERRED
status.@NotNull ArtifactHandlerPublishingResult
BambooRemoteArtifactHandler.republish
(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @Nullable BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
RepublishingArtifactHandler.republish
(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @Nullable BuildLogger buildLogger) Method called when remote agent tries to recover from result publishing failures.@NotNull ArtifactHandlerPublishingResult
S3ArtifactHandler.republish
(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @Nullable BuildLogger buildLogger) boolean
AbstractArtifactManager.retrieve
(@Nullable BuildLogger buildLogger, @NotNull PlanResultKey planResultKey, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifactDefinitionContext, @NotNull String destinationPath, @NotNull Map<String, String> artifactHandlersConfiguration, @NotNull File buildWorkingDirectory, @NotNull Multimap<String, Artifact> availableArtifacts) @NotNull ArtifactRetrievalStatus
AbstractLocalArtifactHandler.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) @NotNull ArtifactRetrievalStatus
ArtifactHandler.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) Retrieve arbitraryArtifact
.@NotNull ArtifactRetrievalStatus
ArtifactHandlerDecoratorSupport.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) boolean
ArtifactManager.retrieve
(@Nullable BuildLogger buildLogger, @NotNull PlanResultKey planResultKey, @NotNull ResultKey clientKey, @NotNull ArtifactDefinitionContext artifactDefinitionContext, @NotNull String destinationPath, @NotNull Map<String, String> artifactHandlersConfiguration, @NotNull File buildWorkingDirectory, @NotNull Multimap<String, Artifact> availableArtifacts) Retrieves an artifact from artifact storage.@NotNull ArtifactRetrievalStatus
BambooRemoteArtifactHandler.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) @NotNull ArtifactRetrievalStatus
S3ArtifactHandler.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) -
Uses of ResultKey in com.atlassian.bamboo.build.artifact.handlers
Modifier and TypeMethodDescription@NotNull ArtifactHandlerPublishingResult
ArtifactHandlerPackagingDecorator.publish
(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger) @NotNull ArtifactHandlerPublishingResult
ArtifactHandlerPackagingDecorator.republish
(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @Nullable BuildLogger buildLogger) @NotNull ArtifactRetrievalStatus
ArtifactHandlerPackagingDecorator.retrieve
(@NotNull ResultKey clientKey, @NotNull Artifact artifact, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull ArtifactRetrievalConfig artifactRetrievalConfig) -
Uses of ResultKey in com.atlassian.bamboo.build.fileserver
Modifier and TypeMethodDescription@NotNull File
BuildDirectoryManager.getServerSideTaskWorkingDirectory
(@NotNull ResultKey resultKey) Returns the directory used by server-side tasks, e.g.@NotNull File
DefaultBuildDirectoryManager.getServerSideTaskWorkingDirectory
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.build.logger
Modifier and TypeMethodDescriptionBuildLogFileAccessorFactory.createBuildLogFileAccessor
(ResultKey resultKey) BuildLogFileAccessorFactoryImpl.createBuildLogFileAccessor
(ResultKey resultKey) @NotNull BuildLogger
@NotNull FileWritingBuildLogger
DefaultBuildLoggerManager.getNonPersistentLogger
(@NotNull ResultKey resultKey) DefaultBuildLoggerManager.getPersistentLogger
(@NotNull ResultKey resultKey) void
DefaultBuildLoggerManager.removeLogger
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.build.monitoring
Modifier and TypeMethodDescriptionstatic @NotNull String
DeploymentStopDelayedJob.getJobName
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.buildqueue
Modifier and TypeMethodDescription@Nullable ResultKey
PipelineDefinition.getEphemeralAgentDedication()
Key of the job this agent is dedicated to or null if not a dedicated ephemeral agent.@Nullable ResultKey
RemotableRemoteAgentDefinition.getEphemeralAgentDedication()
Modifier and TypeMethodDescriptionvoid
PipelineDefinition.setEphemeralAgentDedication
(@Nullable ResultKey key) Mark this agent as dedicated to a specific job. -
Uses of ResultKey in com.atlassian.bamboo.buildqueue.manager
Modifier and TypeMethodDescriptionboolean
AgentManager.updateAgentStatusIfResultReturnPossibleAfterServerRestart
(long agentId, ResultKey resultKey, String displayName, long deploymentResultId) Checks if agent is capable of 'surviving' a server restart, i.e.boolean
AgentManagerImpl.updateAgentStatusIfResultReturnPossibleAfterServerRestart
(long agentId, ResultKey resultKey, String displayName, long deploymentResultId) -
Uses of ResultKey in com.atlassian.bamboo.container.startup
Modifier and TypeMethodDescriptionPendingBuildResultsStateRestoration.restoreState()
Loads server state stored on disk and restores it.PendingBuildResultsStateRestorationImpl.restoreState()
-
Uses of ResultKey in com.atlassian.bamboo.core
-
Uses of ResultKey in com.atlassian.bamboo.deployments
Modifier and TypeMethodDescriptionstatic long
DeploymentKeys.getDeploymentIdFromResultKey
(@NotNull ResultKey resultKey) static long
DeploymentKeys.getEnvironmentIdFromResultKey
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.deployments.events
-
Uses of ResultKey in com.atlassian.bamboo.deployments.execution
-
Uses of ResultKey in com.atlassian.bamboo.deployments.execution.events
Modifier and TypeMethodDescriptionDeploymentTimingPoints.executionCancelled
(@NotNull ResultKey resultKey, @NotNull Date date, boolean buildActuallyCancelled) ModifierConstructorDescriptionprotected
DeploymentTimingPoints
(@NotNull ResultKey resultKey, @NotNull Date date) ExecutionCancelled
(@NotNull ResultKey resultKey, @NotNull Date date, boolean buildActuallyCancelled) -
Uses of ResultKey in com.atlassian.bamboo.event
-
Uses of ResultKey in com.atlassian.bamboo.event.ephemeral
Modifier and TypeMethodDescriptionEphemeralAgentLaunchFailed.getResultKey()
EphemeralAgentLaunchNonRecoverableFailure.getResultKey()
-
Uses of ResultKey in com.atlassian.bamboo.execution
Modifier and TypeMethodDescriptionvoid
ExecutionPhaseService.executionCancelled
(@NotNull ResultKey resultKey, boolean buildActuallyCancelled) Marks confirmation of build cancellation request.void
ExecutionPhaseServiceImpl.executionCancelled
(@NotNull ResultKey resultKey, boolean buildActuallyCancelled) -
Uses of ResultKey in com.atlassian.bamboo.key
-
Uses of ResultKey in com.atlassian.bamboo.logger
Modifier and TypeMethodDescription@Nullable ResultKey
DecoratedErrorDetailsImpl.getResultKey()
@Nullable ResultKey
ErrorDetails.getResultKey()
Get result key associated with this error@Nullable ResultKey
ErrorDetailsImpl.getResultKey()
Modifier and TypeMethodDescriptionvoid
AbstractErrorUpdateHandler.addErrorCollection
(ResultKey buildKey, ErrorCollection errors) void
ErrorUpdateHandler.addErrorCollection
(ResultKey buildKey, ErrorCollection errors) Adds all the error messages in the errorCollection to the build@NotNull Collection<ErrorDetails>
@NotNull Collection<ErrorDetails>
@NotNull Collection<ErrorDetails>
@NotNull Collection<ErrorDetails>
Obtain all the errors recorded against a specific resultvoid
AbstractErrorUpdateHandler.recordError
(@NotNull ResultKey resultKey, String context, @Nullable Throwable throwable) void
AbstractErrorUpdateHandler.recordError
(@NotNull ResultKey resultKey, String context, @Nullable Throwable throwable, Map<String, String> metadata) void
ErrorUpdateHandler.recordError
(@NotNull ResultKey resultKey, @Nullable String context, @Nullable Throwable throwable) Record an error against a resultvoid
ErrorUpdateHandler.recordError
(@NotNull ResultKey resultKey, @Nullable String context, @Nullable Throwable throwable, @Nullable Map<String, String> metadata) Record an error against a result -
Uses of ResultKey in com.atlassian.bamboo.migration
-
Uses of ResultKey in com.atlassian.bamboo.plan
Modifier and TypeClassDescriptionclass
Deprecated.since 5.12 with not replacement.class
Identifier for result objects such asChainResultsSummary
andBuildResultsSummary
Can be created fromPlanKeys
ModifierConstructorDescriptionDeprecated.Casting deployment result id to int might generate unpredictable side effect on instances with db id extending int range. -
Uses of ResultKey in com.atlassian.bamboo.process
Modifier and TypeFieldDescriptionprotected final ResultKey
StreamToBuildLoggerOutputHandler.resultKey
Modifier and TypeMethodDescription@NotNull ResultKey
ProcessContext.getResultKey()
@NotNull ResultKey
ProcessContextImpl.getResultKey()
ModifierConstructorDescriptionErrorStreamToBuildLoggerOutputHandler
(BuildLogger buildLogger, ResultKey resultKey) StreamToBuildLoggerOutputHandler
(BuildLogger buildLogger, ResultKey resultKey) StreamToBuildLoggerOutputHandler
(BuildLogger buildLogger, ResultKey resultKey, boolean filterDownloadStatusMessages) -
Uses of ResultKey in com.atlassian.bamboo.rest.common.utils
Modifier and TypeMethodDescriptionstatic URI
RestUrlUtils.getDeploymentLogFileUri
(@NotNull javax.ws.rs.core.UriBuilder baseUriBuilder, @org.jetbrains.annotations.NotNull long environmentId, @NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.rest.model
-
Uses of ResultKey in com.atlassian.bamboo.rest.model.deployments
-
Uses of ResultKey in com.atlassian.bamboo.storage
Modifier and TypeMethodDescriptionArtifactDirectoryBuilder.getEntityOrientedArtifactDirectory
(ResultKey resultKey, ImmutableArtifactDefinitionBase artifactDefinition) Always returns a entity-oriented directory, never a global storage directory.ArtifactPathBuilder.getEntityOrientedArtifactPath
(ResultKey resultKey, @Nullable ImmutableArtifactDefinitionBase artifactDefinition) Always returns a entity-oriented path, never a global storage path.StorageLocationService.getLogFile
(@NotNull ResultKey resultKey, @Nullable String suffix) Returns the location of the log file for the specified build or deployment.StorageLocationService.getLogFile
(ResultKey resultKey) Returns the location of the log file for the specified build or deployment.StorageLocationService.getLogFileName
(ResultKey resultKey) Returns the standard name of the log file for the specified build or deployment.StorageLocationService.getLogsFileNames
(@NotNull ResultKey resultKey) Return all log filenames sorted by age (newest first).StorageLocationService.getOldLogsFileNames
(@NotNull ResultKey resultKey) If a result has logs from previous runs, return their filenames sorted by age (newest first).void
StorageLocationService.renameOldBuildLogsIfNeeded
(@NotNull ResultKey resultKey) Makes sure that build log file for the current result is empty, by renaming any pre-existing build logs. -
Uses of ResultKey in com.atlassian.bamboo.storage.location
Modifier and TypeMethodDescriptionArtifactDirectoryBuilderImpl.getEntityOrientedArtifactDirectory
(ResultKey resultKey, ImmutableArtifactDefinitionBase artifactDefinition) ArtifactPathBuilderImpl.getEntityOrientedArtifactPath
(ResultKey resultKey, @Nullable ImmutableArtifactDefinitionBase artifactDefinition) StorageLocationServiceImpl.getLogFile
(@NotNull ResultKey resultKey, @Nullable String suffix) StorageLocationServiceImpl.getLogFile
(ResultKey resultKey) StorageLocationServiceImpl.getLogFileName
(ResultKey resultKey) StorageLocationServiceImpl.getLogsFileNames
(@NotNull ResultKey resultKey) StorageLocationServiceImpl.getOldLogsFileNames
(@NotNull ResultKey resultKey) void
StorageLocationServiceImpl.renameOldBuildLogsIfNeeded
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.testutils.build.logger
Modifier and TypeMethodDescription@NotNull SimpleBuildLogger
void
BuildLoggerManagerForTesting.removeLogger
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic ResultKey
ResultKeyUtils.toResultKey
(@NotNull String key) Convert a string to aResultKey
of the correct type.Modifier and TypeMethodDescriptionstatic com.google.common.base.Function<ResultKeyProvider,
ResultKey> BambooFunctions.getResultKey()
Extract ResultKey from ResultKeyProvider JDK8: replace with lambda -
Uses of ResultKey in com.atlassian.bamboo.v2.build
-
Uses of ResultKey in com.atlassian.bamboo.v2.build.agent
Modifier and TypeFieldDescriptionprotected final ResultKey
AbstractBuildAwareAgentStatus.resultKey
Modifier and TypeFieldDescriptionstatic javax.persistence.metamodel.SingularAttribute<PipelineDefinitionImpl,
ResultKey> PipelineDefinitionImpl_.ephemeralAgentDedication
Modifier and TypeMethodDescriptionstatic @Nullable ResultKey
AgentEphemeralityContext.getEphemeralAgentDedication()
@Nullable ResultKey
PipelineDefinitionImpl.getEphemeralAgentDedication()
@Nullable ResultKey
RemotableRemoteAgentDefinitionImpl.getEphemeralAgentDedication()
AbstractBuildAwareAgentStatus.getResultKey()
Modifier and TypeMethodDescriptionvoid
LocalResultProcessor.removeFromQueue
(@NotNull ResultKey resultKey) Wrapper aroundBuildQueueManager.removeBuildFromQueue(ResultKey)
that handles result processing after removal from queue.void
LocalResultProcessorImpl.removeFromQueue
(@NotNull ResultKey resultKey) void
PipelineDefinitionImpl.setEphemeralAgentDedication
(@Nullable ResultKey ephemeralAgentDedication) void
LocalResultProcessor.terminateResult
(@NotNull ResultKey resultKey) Method invoked when process producing a result is stopped abrubtly (by a user, by an agent going down...)void
LocalResultProcessorImpl.terminateResult
(@NotNull ResultKey resultKey) ModifierConstructorDescriptionAbstractBuildAwareAgentStatus
(ResultKey resultKey, String displayName, long deploymentResultId) AgentBuildingStatus
(ResultKey resultKey, String displayName, long deploymentResultId) AgentCancellingStatus
(ResultKey resultKey, String displayName, long deploymentResultId) RemotableEphemeralAgentDefinitionImpl
(long id, String name, String description, @NotNull ResultKey ephemeralAgentDedication, long ephemeralAgentTemplateId, String ephemeralAgentPodName) RemotableRemoteAgentDefinitionImpl
(long id, String name, String description, @Nullable UUID uuid, @Nullable ResultKey ephemeralAgentDedication) -
Uses of ResultKey in com.atlassian.bamboo.v2.build.agent.messages
Modifier and TypeMethodDescriptionstatic ResultKey
AuthenticableMessage.Identification.forResultKey
(@NotNull ResultKey resultKey) ArtifactAckMessage.getIdentification()
AuthenticableMessage.getIdentification()
Modifier and TypeMethodDescriptionstatic ResultKey
AuthenticableMessage.Identification.forResultKey
(@NotNull ResultKey resultKey) ModifierConstructorDescriptionCancelExecutionAgentMessage
(ResultKey resultKey, @Nullable Long deploymentResultId) -
Uses of ResultKey in com.atlassian.bamboo.v2.build.agent.messages.toagent
-
Uses of ResultKey in com.atlassian.bamboo.v2.build.agent.remote
Modifier and TypeMethodDescriptionvoid
RemoteExecutionPhaseServiceImpl.executionCancelled
(@NotNull ResultKey resultKey, boolean buildActuallyCancelled) @NotNull BuildLogger
@NotNull File
RemoteBuildDirectoryManager.getServerSideTaskWorkingDirectory
(@NotNull ResultKey resultKey) void
RemoteBuildLoggerManager.removeLogger
(@NotNull ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.v2.build.events
-
Uses of ResultKey in com.atlassian.bamboo.v2.build.queue
Modifier and TypeFieldDescriptionstatic final Function<ResultKeyProvider,
ResultKey> QueueManagerUtils.GET_RESULT_KEY
Modifier and TypeMethodDescription@Nullable ResultKey
ExecutableOrderProvider.findExecutableForAgent
(long agentId, @NotNull Collection<QueueOfExecutables.ExecutableData> executableData) From the list of executables, returns the executable that should be picked up by the agent.@NotNull ResultKey
BuildQueueManager.QueuedResultKey.getResultKey()
QueueOfExecutables.ExecutableData.getResultKey()
Modifier and TypeMethodDescriptionQueueManagerUtils.getQueuedExecutables
(BuildQueueManager buildQueueManager) Modifier and TypeMethodDescription@Nullable CommonContext
Retrieves an executable with given key from storage.QueueOfExecutables.getExecutorsForExecutable
(@NotNull ResultKey resultKey) Returns the executors currently considered to be eligible for building resultKey.BuildQueueManager.getExecutorsForQueuedExecutable
(@NotNull ResultKey resultKey) BuildQueueManagerImpl.getExecutorsForQueuedExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<ElasticImageConfiguration>
QueueOfExecutables.getImagesForExecutable
(@NotNull ResultKey resultKey) Returns the images currently considered to be eligible for building resultKey.@Nullable Collection<ElasticImageConfiguration>
BuildQueueManager.getImagesForQueuedExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<ElasticImageConfiguration>
BuildQueueManagerImpl.getImagesForQueuedExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<ElasticImageConfiguration>
QueueOfExecutables.getNonDedicatedImagesForExecutable
(@NotNull ResultKey resultKey) Returns the images that can execute the given executable.@Nullable Collection<ElasticImageConfiguration>
BuildQueueManager.getNonDedicatedImagesForQueuedExecutable
(@NotNull ResultKey resultKey) Returns the images that can execute the given executable.@Nullable Collection<ElasticImageConfiguration>
BuildQueueManagerImpl.getNonDedicatedImagesForQueuedExecutable
(@NotNull ResultKey resultKey) @NotNull BuildQueuePosition
BuildQueueManager.getQueuePosition
(@NotNull ResultKey resultKey) Returns information on position of plan result in the queue.@NotNull BuildQueuePosition
BuildQueueManagerImpl.getQueuePosition
(@NotNull ResultKey resultKey) @Nullable Collection<EphemeralAgentTemplate>
QueueOfExecutables.getTemplatesForExecutable
(@NotNull ResultKey resultKey) Returns the ephemeral agents templates currently considered to be eligible for building resultKey.@Nullable Collection<EphemeralAgentTemplate>
BuildQueueManager.getTemplatesForQueueExecutable
(@NotNull ResultKey resultKey) Returns the ephemeral agents templates currently considered to be eligible for building resultKey.@Nullable Collection<EphemeralAgentTemplate>
BuildQueueManagerImpl.getTemplatesForQueueExecutable
(@NotNull ResultKey resultKey) static Predicate<? super ResultKeyProvider>
QueueManagerUtils.hasResultKeyEqualTo
(ResultKey resultKey) @Nullable CommonContext
Called when a given executable is en route to agent.@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) @Nullable CommonContext
Called when an executable should be removed from the queue.@Nullable CommonContext
BuildQueueManager.removeBuildFromQueue
(@NotNull ResultKey resultKey) Removes theCommonContext
associated with the resultKey to be removed from the queue.BuildQueueManagerImpl.removeBuildFromQueue
(@NotNull ResultKey resultKey) void
ExecutableOrderProvider.removeByKey
(ResultKey resultKey) Remove items with aResultKey
.void
BuildQueueManager.removeDedicationTimestamp
(@NotNull ResultKey resultKey) Remove the dedication timestamp for the given result key if the one exists.void
BuildQueueManagerImpl.removeDedicationTimestamp
(@NotNull ResultKey resultKey) void
QueueOfExecutables.removeDedicationTimestamp
(@NotNull ResultKey resultKey) Remove the dedication timestamp for the given result key if the one exists.boolean
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.boolean
BuildQueueManagerImpl.reorderInQueue
(ResultKey resultKey, int index) @NotNull AgentQueueAccessor.QueueAccessResult
AgentQueueAccessor.takeContext
(long agentId, @Nullable ResultKey resultKey) If resultKey is not null, takes a specificCommonContext
from the queue or nothing if there's no job with specified key in the queue.AgentQueueAccessorImpl.takeContext
(long agentId, @Nullable ResultKey resultKey) BuildQueueManagerImpl.takeContext
(long agentId, @Nullable ResultKey resultKey) Modifier and TypeMethodDescriptionvoid
BuildQueueManager.restoreState
(Set<ResultKey> resultsToRestore) Restore state after server restart.void
BuildQueueManagerImpl.restoreState
(Set<ResultKey> resultsToRestore) ModifierConstructorDescriptionExecutableData
(ResultKey resultKey) QueuedResultKey
(@NotNull ResultKey resultKey, long timestamp) -
Uses of ResultKey in com.atlassian.bamboo.v2.build.queue.order
Modifier and TypeMethodDescription@Nullable ResultKey
FifoExecutableOrderProvider.findExecutableForAgent
(long agentId, @NotNull Collection<QueueOfExecutables.ExecutableData> executableData) Modifier and TypeMethodDescriptionvoid
FifoExecutableOrderProvider.removeByKey
(ResultKey resultKey) boolean
-
Uses of ResultKey in com.atlassian.bamboo.v2.build.queue.queues
Modifier and TypeMethodDescription@Nullable CommonContext
@Nullable CommonContextMap.ContextWithMetadata
AbstractQueueOfExecutables.getExecutorsForExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<ElasticImageConfiguration>
AbstractQueueOfExecutables.getImagesForExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<ElasticImageConfiguration>
AbstractQueueOfExecutables.getNonDedicatedImagesForExecutable
(@NotNull ResultKey resultKey) @Nullable Collection<EphemeralAgentTemplate>
AbstractQueueOfExecutables.getTemplatesForExecutable
(@NotNull ResultKey resultKey) @Nullable CommonContext
@NotNull CommonContextMap.ContextWithMetadata
void
CommonContextMap.put
(ResultKey resultKey, CommonContextMap.ContextWithMetadata contextWithMetadata) @Nullable CommonContext
boolean
void
void
void
AbstractQueueOfExecutables.removeDedicationTimestamp
(@NotNull ResultKey resultKey) Modifier and TypeMethodDescription@NotNull com.google.common.collect.ImmutableList<QueueOfExecutables.ExecutableData>
AbstractQueueOfExecutables.executablesForAgent
(long agentId, Function<Long, Collection<ResultKey>> source) 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. -
Uses of ResultKey in com.atlassian.bamboo.vcs.configuration.legacy
-
Uses of ResultKey in com.atlassian.bamboo.ww2
Modifier and TypeMethodDescriptionboolean
BambooActionSupport.hasResultKeyReadPermission
(ResultKey resultKey) -
Uses of ResultKey in com.atlassian.bamboo.ww2.actions.build
Modifier and TypeFieldDescriptionprotected ResultKey
QueueItemViewForJsonDecorator.typedResultKey