|
||||||||||
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(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 |
Method Detail |
---|
@NotNull java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> createBuildContextsForJobs(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) throws RepositoryException
BuildContext
for each Job
in the Chain
chain
- parentBuildContext
- - buildContext of the parent chain execution
Job
PlanKey
s to their BuildContext
RepositoryException
- if change detection fails@NotNull java.util.Collection<BuildContext> createBuildContextsForContinuedBuild(@NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) throws RepositoryException
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
RepositoryException
- if change detection fails@NotNull BuildRepositoryChanges cloneBuildRepositoryChanges(@NotNull BuildRepositoryChanges buildRepositoryChanges)
buildRepositoryChanges
-
BuildRepositoryChanges
@NotNull BuildRepositoryChanges buildChangesUnion(@NotNull BuildRepositoryChanges a, @NotNull BuildRepositoryChanges b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |