|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildContextFactory
Create a BuildContext
given the ChainStage
and Chain
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 |
Method Detail |
---|
@NotNull java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> createBuildContextsForJobs(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext)
BuildContext
for each Job
in the Chain
chain
- parentBuildContext
- - buildContext of the parent chain execution
Job
PlanKey
s to their BuildContext
@NotNull java.util.Collection<BuildContext> createBuildContextsForContinuedBuild(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig)
BuildContext
for each not built or failed Job
in the Chain
that was partially executed or can be restarted
chainResultsSummary
- - existing ChainResultsSummary
for build to continue/restartparentBuildContext
- - Chain
BuildContext
planExecutionConfig
- - controls build continuation or restart
BuildContext
to execute@NotNull BuildRepositoryChanges cloneBuildRepositoryChanges(@NotNull BuildRepositoryChanges buildRepositoryChanges)
buildRepositoryChanges
-
BuildRepositoryChanges
@NotNull BuildRepositoryChanges buildChangesUnion(@NotNull BuildRepositoryChanges a, @NotNull BuildRepositoryChanges b)
void updateBuildContextWithChanges(BuildContext contextToUpdate, BuildChanges newBuildChanges)
contextToUpdate
- newBuildChanges
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |