public class PendingBuildResultsStateRestorationImpl extends Object implements PendingBuildResultsStateRestoration
Constructor and Description |
---|
PendingBuildResultsStateRestorationImpl(ResultsSummaryManager resultsSummaryManager,
CurrentlyBuildingContainer currentlyBuildingContainer,
ChainExecutionManager chainExecutionManager,
BuildExecutionManager buildExecutionManager,
com.atlassian.event.api.EventPublisher eventPublisher,
org.quartz.Scheduler scheduler,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
Set<ResultKey> |
restoreState()
Loads server state stored on disk and restores it.
|
void |
restoreStateAsync(List<ChainResultsSummary> chainsInProgress,
List<BuildResultsSummary> buildsInProgress)
Run from quartz job with prepared list of summaries.
|
@Inject public PendingBuildResultsStateRestorationImpl(ResultsSummaryManager resultsSummaryManager, CurrentlyBuildingContainer currentlyBuildingContainer, ChainExecutionManager chainExecutionManager, BuildExecutionManager buildExecutionManager, com.atlassian.event.api.EventPublisher eventPublisher, org.quartz.Scheduler scheduler, FeatureManager featureManager)
public Set<ResultKey> restoreState()
PendingBuildResultsStateRestoration
restoreState
in interface PendingBuildResultsStateRestoration
public void restoreStateAsync(List<ChainResultsSummary> chainsInProgress, List<BuildResultsSummary> buildsInProgress)
PendingBuildResultsStateRestoration
PendingBuildResultsStateRestoration.restoreState()
restoreStateAsync
in interface PendingBuildResultsStateRestoration
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.