| Modifier and Type | Method and Description |
|---|---|
protected Stream<ResultKey> |
ElasticRunningInstancesOptimizerImpl.getQueuedExecutables() |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull Collection<ElasticImageConfiguration> |
ElasticRunningInstancesOptimizerImpl.getImagesForQueuedExecutable(ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
protected File |
ArtifactServlet.getArtifactStorageDirectory(@NotNull ResultKey resultKey,
@NotNull ImmutableArtifactDefinitionBase artifact) |
| Modifier and Type | Method and Description |
|---|---|
Set<ResultKey> |
CurrentlyBuildingContainer.restoreState(Set<PlanResultKey> pendingBuildKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
StopBuildManager.cancelDeployment(@NotNull ResultKey resultKey,
@NotNull Long deploymentResultId,
Long agentId)
Cancel a running deployment
|
void |
DefaultStopBuildManager.cancelDeployment(@NotNull ResultKey resultKey,
@NotNull Long deploymentResultId,
@Nullable Long agentId) |
@Nullable CurrentlyBuilding |
DefaultBuildExecutionManager.getCurrentlyBuildingByPlanResultKey(@NotNull ResultKey resultKey) |
@Nullable CurrentlyBuilding |
BuildExecutionManager.getCurrentlyBuildingByPlanResultKey(@NotNull ResultKey resultKey)
Returns
CurrentlyBuilding instance for build identified by buildResultKey. |
@Nullable CurrentlyBuilding |
CurrentlyBuildingContainer.getCurrentlyBuildingByResultKey(@NotNull ResultKey resultKey) |
@NotNull BuildLogger |
BuildLoggerManager.getLogger(@NotNull ResultKey resultKey)
Returns a
BuildLogger for the given result. |
@NotNull FileWritingBuildLogger |
ServerBuildLoggerManager.getNonPersistentLogger(@NotNull ResultKey resultKey)
Returns a
BuildLogger for the given result. |
@NotNull FileWritingBuildLogger |
ServerBuildLoggerManager.getPersistentLogger(@NotNull ResultKey resultKey)
Returns a
BuildLogger for the given result. |
@Nullable CurrentlyBuilding |
CurrentlyBuildingContainer.removeCurrentlyBuilding(@NotNull ResultKey resultKey) |
@Nullable CurrentlyBuilding |
DefaultBuildExecutionManager.removeCurrentlyBuilding(@NotNull ResultKey resultKey) |
@Nullable CurrentlyBuilding |
BuildExecutionManager.removeCurrentlyBuilding(@NotNull ResultKey resultKey) |
void |
BuildLoggerManager.removeLogger(@NotNull ResultKey resultKey)
Remove a logger if you are finished with it.
|
| Modifier and Type | Method and Description |
|---|---|
protected @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) |
ArtifactPublishingResult |
AbstractArtifactManager.publish(@Nullable BuildLogger buildLogger,
@NotNull ResultKey resultKey,
@NotNull File baseDirectory,
@NotNull ArtifactDefinitionContext artifact,
@NotNull Map<String,String> artifactHandlerConfiguration,
int minExpectedFilesCnt) |
ArtifactPublishingResult |
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.
|
ArtifactHandlerPublishingResult |
BambooArtifactHttpTransport.publish(@NotNull org.apache.tools.ant.types.FileSet sourceFileSet,
ResultKey resultKey,
ArtifactDefinitionContext artifact,
String artifactDescription,
@NotNull BuildLogger buildLogger) |
default @NotNull ArtifactHandlerPublishingResult |
ArtifactHandler.publish(@NotNull ResultKey resultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactPublishingConfig artifactPublishingConfig)
Deprecated.
|
@NotNull ArtifactHandlerPublishingResult |
AbstractLocalArtifactHandler.publish(@NotNull ResultKey planResultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactPublishingConfig artifactPublishingConfig,
@NotNull BuildLogger buildLogger) |
@NotNull ArtifactHandlerPublishingResult |
ServerLocalArtifactHandler.publish(@NotNull ResultKey resultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactPublishingConfig artifactPublishingConfig,
@Nullable 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) |
@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) |
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) |
default @NotNull ArtifactHandlerPublishingResult |
RepublishingArtifactHandler.republish(@NotNull ArtifactHandlerPublishingResult previousPublishingResult,
@NotNull ResultKey resultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider)
|
@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 |
BambooRemoteArtifactHandler.republish(@NotNull ArtifactHandlerPublishingResult previousPublishingResult,
@NotNull ResultKey resultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider,
@Nullable BuildLogger buildLogger) |
@NotNull ArtifactHandlerPublishingResult |
S3ArtifactHandler.republish(@NotNull ArtifactHandlerPublishingResult previousPublishingResult,
@NotNull ResultKey resultKey,
@NotNull ArtifactDefinitionContext artifact,
@NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider,
@Nullable BuildLogger buildLogger) |
ArtifactPublishingResult |
AbstractArtifactManager.republish(@Nullable BuildLogger buildLoggerArg,
@NotNull ResultKey resultKey,
@NotNull ArtifactPublishingResult artifactPublishingResult,
@NotNull Map<String,String> artifactHandlersConfiguration) |
ArtifactPublishingResult |
ArtifactManager.republish(@Nullable BuildLogger buildLogger,
@NotNull ResultKey resultKey,
@NotNull ArtifactPublishingResult artifactPublishingResult,
@NotNull Map<String,String> artifactHandlerConfiguration)
Retry publishing artifacts that are in
ArtifactHandlerPublishingResult.Status.DEFERRED status. |
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 com.google.common.collect.Multimap<String,Artifact> availableArtifacts) |
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 com.google.common.collect.Multimap<String,Artifact> availableArtifacts)
Retrieves an artifact from artifact storage.
|
@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 arbitrary
Artifact. |
@NotNull ArtifactRetrievalStatus |
ArtifactHandlerDecoratorSupport.retrieve(@NotNull ResultKey clientKey,
@NotNull Artifact artifact,
@NotNull ArtifactSubscriptionContext artifactSubscription,
@NotNull ArtifactRetrievalConfig artifactRetrievalConfig) |
@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) |
| Modifier and Type | Method and Description |
|---|---|
@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) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull File |
DefaultBuildDirectoryManager.getServerSideTaskWorkingDirectory(@NotNull ResultKey resultKey) |
@NotNull File |
BuildDirectoryManager.getServerSideTaskWorkingDirectory(@NotNull 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 |
BuildLogFileAccessorFactoryImpl.createBuildLogFileAccessor(ResultKey resultKey) |
BuildLogFileAccessor |
BuildLogFileAccessorFactory.createBuildLogFileAccessor(ResultKey resultKey) |
static LoggerId<ResultKey> |
LoggerIds.get(ResultKey resultKey) |
@NotNull BuildLogger |
DefaultBuildLoggerManager.getLogger(@NotNull ResultKey resultKey) |
@NotNull FileWritingBuildLogger |
DefaultBuildLoggerManager.getNonPersistentLogger(@NotNull ResultKey resultKey) |
FileWritingBuildLogger |
DefaultBuildLoggerManager.getPersistentLogger(@NotNull ResultKey resultKey) |
void |
DefaultBuildLoggerManager.removeLogger(@NotNull ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull String |
DeploymentStopDelayedJob.getJobName(@NotNull ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ResultKey |
RemotableRemoteAgentDefinition.getEphemeralAgentDedication() |
@Nullable ResultKey |
PipelineDefinition.getEphemeralAgentDedication()
Key of the job this agent is dedicated to or null if not a dedicated ephemeral agent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PipelineDefinition.setEphemeralAgentDedication(@Nullable ResultKey key)
Mark this agent as dedicated to a specific job.
|
| 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.
|
boolean |
AgentManagerImpl.updateAgentStatusIfResultReturnPossibleAfterServerRestart(long agentId,
ResultKey resultKey,
String displayName,
long deploymentResultId) |
| 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 |
|---|---|
@NotNull 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 |
|---|---|
@NotNull ResultKey |
DeploymentContextImpl.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
ChainCompletedEvent.getResultKey() |
ResultKey |
ResultEvent.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionPhaseServiceImpl.executionCancelled(@NotNull ResultKey resultKey,
@Nullable Long deploymentResultId,
boolean buildActuallyCancelled) |
void |
ExecutionPhaseService.executionCancelled(@NotNull ResultKey resultKey,
@Nullable 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 |
|---|---|
@Nullable ResultKey |
ErrorDetailsImpl.getResultKey() |
@Nullable ResultKey |
DecoratedErrorDetailsImpl.getResultKey() |
@Nullable 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) |
@NotNull Collection<ErrorDetails> |
AggregatedChainErrorAccessor.getErrors(@NotNull ResultKey resultKey) |
@NotNull Collection<ErrorDetails> |
DecoratingErrorAccessorImpl.getErrors(@NotNull ResultKey resultKey) |
@NotNull Collection<ErrorDetails> |
DefaultErrorHandler.getErrors(@NotNull ResultKey resultKey) |
@NotNull Collection<ErrorDetails> |
ErrorAccessor.getErrors(@NotNull ResultKey resultKey)
Obtain all the errors recorded against a specific result
|
void |
ErrorUpdateHandler.recordError(@NotNull ResultKey resultKey,
@Nullable String context,
@Nullable Throwable throwable)
Record an error against a result
|
void |
AbstractErrorUpdateHandler.recordError(@NotNull ResultKey resultKey,
String context,
@Nullable Throwable throwable) |
void |
ErrorUpdateHandler.recordError(@NotNull ResultKey resultKey,
@Nullable String context,
@Nullable Throwable throwable,
@Nullable Map<String,String> metadata)
Record an error against a result
|
void |
AbstractErrorUpdateHandler.recordError(@NotNull ResultKey resultKey,
String context,
@Nullable Throwable throwable,
Map<String,String> metadata) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SMOutputElementAppender |
SMOutputElementAppender.append(@NotNull String elementName,
@Nullable 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.
Casting deployment result id to int might generate unpredictable side effect on instances with db id extending int range.
|
| 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 |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ResultKey |
ProcessContextImpl.getResultKey() |
@NotNull ResultKey |
ProcessContext.getResultKey() |
| Constructor and Description |
|---|
ErrorStreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey) |
StreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey) |
StreamToBuildLoggerOutputHandler(BuildLogger buildLogger,
ResultKey resultKey,
boolean filterDownloadStatusMessages) |
| Modifier and Type | Method and Description |
|---|---|
static URI |
RestUrlUtils.getDeploymentLogFileUri(@NotNull javax.ws.rs.core.UriBuilder baseUriBuilder,
@NotNull long environmentId,
@NotNull ResultKey resultKey) |
| 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 |
ArtifactDirectoryBuilder.getEntityOrientedArtifactDirectory(ResultKey resultKey,
ImmutableArtifactDefinitionBase artifactDefinition)
Always returns a entity-oriented directory, never a global storage directory.
|
String |
ArtifactPathBuilder.getEntityOrientedArtifactPath(ResultKey resultKey,
@Nullable ImmutableArtifactDefinitionBase artifactDefinition)
Always returns a entity-oriented path, never a global storage path.
|
File |
StorageLocationService.getLogFile(ResultKey resultKey)
Returns the location of the log file for the specified build or deployment.
|
File |
StorageLocationService.getLogFile(@NotNull ResultKey resultKey,
@Nullable String suffix)
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.
|
List<String> |
StorageLocationService.getLogsFileNames(@NotNull ResultKey resultKey)
Return all log filenames sorted by age (newest first).
|
List<String> |
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.
|
| Modifier and Type | Method and Description |
|---|---|
File |
ArtifactDirectoryBuilderImpl.getEntityOrientedArtifactDirectory(ResultKey resultKey,
ImmutableArtifactDefinitionBase artifactDefinition) |
String |
ArtifactPathBuilderImpl.getEntityOrientedArtifactPath(ResultKey resultKey,
@Nullable ImmutableArtifactDefinitionBase artifactDefinition) |
File |
StorageLocationServiceImpl.getLogFile(ResultKey resultKey) |
File |
StorageLocationServiceImpl.getLogFile(@NotNull ResultKey resultKey,
@Nullable String suffix) |
String |
StorageLocationServiceImpl.getLogFileName(ResultKey resultKey) |
List<String> |
StorageLocationServiceImpl.getLogsFileNames(@NotNull ResultKey resultKey) |
List<String> |
StorageLocationServiceImpl.getOldLogsFileNames(@NotNull ResultKey resultKey) |
void |
StorageLocationServiceImpl.renameOldBuildLogsIfNeeded(@NotNull ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SimpleBuildLogger |
BuildLoggerManagerForTesting.getLogger(@NotNull ResultKey resultKey) |
void |
BuildLoggerManagerForTesting.removeLogger(@NotNull ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
static ResultKey |
ResultKeyUtils.toResultKey(@NotNull String key)
Convert a string to a
ResultKey of the correct type. |
| 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 | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<PipelineDefinitionImpl,ResultKey> |
PipelineDefinitionImpl_.ephemeralAgentDedication |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ResultKey |
PipelineDefinitionImpl.getEphemeralAgentDedication() |
@Nullable ResultKey |
RemotableRemoteAgentDefinitionImpl.getEphemeralAgentDedication() |
static @Nullable ResultKey |
AgentEphemeralityContext.getEphemeralAgentDedication() |
ResultKey |
AbstractBuildAwareAgentStatus.getResultKey() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
AbstractBuildAwareAgentStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
AgentBuildingStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
AgentCancellingStatus(ResultKey resultKey,
String displayName,
long deploymentResultId) |
RemotableRemoteAgentDefinitionImpl(long id,
String name,
String description,
@Nullable UUID uuid,
@Nullable ResultKey ephemeralAgentDedication) |
| Modifier and Type | Method and Description |
|---|---|
static ResultKey |
AuthenticableMessage.Identification.forResultKey(@NotNull ResultKey resultKey) |
ResultKey |
AuthenticableMessage.getIdentification() |
ResultKey |
ArtifactAckMessage.getIdentification() |
| Modifier and Type | Method and Description |
|---|---|
static ResultKey |
AuthenticableMessage.Identification.forResultKey(@NotNull ResultKey resultKey) |
| Constructor and Description |
|---|
CancelExecutionAgentMessage(ResultKey resultKey,
@Nullable Long deploymentResultId) |
| Modifier and Type | Method and Description |
|---|---|
ResultKey |
LogsAreWatchedAgentMessage.getResultKey() |
| Constructor and Description |
|---|
LogsAreWatchedAgentMessage(ResultKey resultKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteExecutionPhaseServiceImpl.executionCancelled(@NotNull ResultKey resultKey,
@Nullable Long deploymentResultId,
boolean buildActuallyCancelled) |
@NotNull BuildLogger |
RemoteBuildLoggerManager.getLogger(@NotNull ResultKey resultKey) |
@NotNull File |
RemoteBuildDirectoryManager.getServerSideTaskWorkingDirectory(@NotNull ResultKey resultKey) |
void |
RemoteBuildLoggerManager.removeLogger(@NotNull 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 |
|---|---|
@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() |
ResultKey |
QueueOfExecutables.ExecutableData.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) |
@Nullable CommonContext |
QueueOfExecutables.get(@NotNull ResultKey resultKey)
Retrieves an executable with given key from storage.
|
@Nullable Set<Long> |
QueueOfExecutables.getExecutorsForExecutable(@NotNull ResultKey resultKey)
Returns the executors currently considered to be eligible for building resultKey.
|
@Nullable Set<Long> |
BuildQueueManagerImpl.getExecutorsForQueuedExecutable(@NotNull ResultKey resultKey) |
@Nullable Set<Long> |
BuildQueueManager.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> |
BuildQueueManagerImpl.getImagesForQueuedExecutable(@NotNull ResultKey resultKey) |
@Nullable Collection<ElasticImageConfiguration> |
BuildQueueManager.getImagesForQueuedExecutable(@NotNull ResultKey resultKey) |
@NotNull BuildQueuePosition |
BuildQueueManagerImpl.getQueuePosition(@NotNull ResultKey resultKey) |
@NotNull BuildQueuePosition |
BuildQueueManager.getQueuePosition(@NotNull ResultKey resultKey)
Returns information on position of plan result in the queue.
|
static Predicate<? super ResultKeyProvider> |
QueueManagerUtils.hasResultKeyEqualTo(ResultKey resultKey) |
@Nullable CommonContext |
QueueOfExecutables.inflight(@NotNull ResultKey resultKey)
Called when a given executable is en route to agent.
|
@Nullable BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManagerImpl.peekContext(@NotNull ResultKey resultKey) |
@Nullable BuildQueueManager.QueueItemView<CommonContext> |
BuildQueueManager.peekContext(@NotNull ResultKey resultKey)
Returns a queued CommonContext for given resultKey.
|
@Nullable CommonContext |
QueueOfExecutables.remove(@NotNull ResultKey resultKey)
Called when an executable should be removed from the queue.
|
void |
BuildQueueManagerImpl.removeBuildFromQueue(@NotNull ResultKey resultKey) |
void |
BuildQueueManager.removeBuildFromQueue(@NotNull ResultKey resultKey)
Removes the
CommonContext associated with the resultKey to be removed from the queue. |
void |
ExecutableOrderProvider.removeByKey(ResultKey resultKey)
Remove items with a
ResultKey. |
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.
|
AgentQueueAccessor.QueueAccessResult |
BuildQueueManagerImpl.takeContext(long agentId,
@Nullable ResultKey resultKey) |
AgentQueueAccessor.QueueAccessResult |
AgentQueueAccessorImpl.takeContext(long agentId,
@Nullable ResultKey resultKey) |
@NotNull AgentQueueAccessor.QueueAccessResult |
AgentQueueAccessor.takeContext(long agentId,
@Nullable ResultKey resultKey)
If resultKey is not null, takes a specific
CommonContext from the queue or nothing if there's no job with specified key in the 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(@NotNull ResultKey resultKey,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ResultKey |
FifoExecutableOrderProvider.findExecutableForAgent(long agentId,
@NotNull Collection<QueueOfExecutables.ExecutableData> executableData) |
| Modifier and Type | Method and Description |
|---|---|
void |
FifoExecutableOrderProvider.removeByKey(ResultKey resultKey) |
boolean |
FifoExecutableOrderProvider.reorder(ResultKey resultKey,
int index) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable CommonContextMap.ContextWithMetadata |
CommonContextMap.get(ResultKey resultKey) |
@Nullable CommonContext |
AbstractQueueOfExecutables.get(@NotNull ResultKey resultKey) |
@Nullable Set<Long> |
AbstractQueueOfExecutables.getExecutorsForExecutable(@NotNull ResultKey resultKey) |
@Nullable Collection<ElasticImageConfiguration> |
AbstractQueueOfExecutables.getImagesForExecutable(@NotNull ResultKey resultKey) |
@Nullable CommonContext |
AbstractQueueOfExecutables.inflight(@NotNull ResultKey resultKey) |
CommonContextMap.ContextWithMetadata |
XStreamQueuePersisterImpl.load(@NotNull ResultKey resultKey) |
@NotNull CommonContextMap.ContextWithMetadata |
CommonContextPersister.load(@NotNull ResultKey resultKey) |
void |
CommonContextMap.put(ResultKey resultKey,
CommonContextMap.ContextWithMetadata contextWithMetadata) |
boolean |
CommonContextMap.remove(ResultKey resultKey) |
void |
XStreamQueuePersisterImpl.remove(ResultKey resultKey) |
@Nullable CommonContext |
AbstractQueueOfExecutables.remove(@NotNull ResultKey resultKey) |
void |
CommonContextPersister.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() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BambooActionSupport.hasResultKeyReadPermission(ResultKey resultKey) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.