|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.chains.BuildContextFactoryImpl
public class BuildContextFactoryImpl
Constructor Summary | |
---|---|
BuildContextFactoryImpl(ArtifactSubscriptionManager artifactSubscriptionManager,
VariableDefinitionManager variableDefinitionManager,
TaskManager taskManager,
TestQuarantineManager testQuarantineManager,
AdministrationConfigurationManager administrationConfigurationManager,
BranchIntegrationService branchIntegrationService,
FeatureManager featureManager)
|
Method Summary | |
---|---|
BuildRepositoryChanges |
buildChangesUnion(BuildRepositoryChanges a,
BuildRepositoryChanges b)
|
BuildRepositoryChanges |
cloneBuildRepositoryChanges(BuildRepositoryChanges buildRepositoryChanges)
This is not a real clone() operation |
java.util.Collection<BuildContext> |
createBuildContextsForContinuedBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig)
Creates a BuildContext for each not built or failed Job in the Chain that was partially executed or can be restarted |
java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> |
createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
Creates a BuildContext for each Job in the Chain |
void |
updateBuildContextWithChanges(BuildContext contextToUpdate,
BuildChanges newBuildChanges)
Updates the build context with build changes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildContextFactoryImpl(ArtifactSubscriptionManager artifactSubscriptionManager, VariableDefinitionManager variableDefinitionManager, TaskManager taskManager, TestQuarantineManager testQuarantineManager, AdministrationConfigurationManager administrationConfigurationManager, BranchIntegrationService branchIntegrationService, FeatureManager featureManager)
Method Detail |
---|
@NotNull public java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> createBuildContextsForJobs(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext)
BuildContextFactory
BuildContext
for each Job
in the Chain
createBuildContextsForJobs
in interface BuildContextFactory
parentBuildContext
- - buildContext of the parent chain execution
Job
PlanKey
s to their BuildContext
public void updateBuildContextWithChanges(BuildContext contextToUpdate, BuildChanges newBuildChanges)
BuildContextFactory
updateBuildContextWithChanges
in interface BuildContextFactory
@NotNull public java.util.Collection<BuildContext> createBuildContextsForContinuedBuild(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig)
BuildContextFactory
BuildContext
for each not built or failed Job
in the Chain
that was partially executed or can be restarted
createBuildContextsForContinuedBuild
in interface BuildContextFactory
chainResultsSummary
- - existing ChainResultsSummary
for build to continue/restartparentBuildContext
- - Chain
BuildContext
planExecutionConfig
- - controls build continuation or restart
BuildContext
to execute@NotNull public BuildRepositoryChanges cloneBuildRepositoryChanges(@NotNull BuildRepositoryChanges buildRepositoryChanges)
BuildContextFactory
cloneBuildRepositoryChanges
in interface BuildContextFactory
BuildRepositoryChanges
@NotNull public BuildRepositoryChanges buildChangesUnion(@NotNull BuildRepositoryChanges a, @NotNull BuildRepositoryChanges b)
buildChangesUnion
in interface BuildContextFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |