|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChainResultManager
Chain specific result manager Not for use by plugin developers
Method Summary | |
---|---|
ChainStateResult |
create(BuildContext chainBuildContext,
java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> jobBuildContexts,
java.util.Collection<? extends ImmutableChainStage> stageToExecute)
Creates a ChainState from Chain and BuildContext and reports any errors |
long |
getAverageProgressDurationForStages(PlanIdentifier chain,
java.util.Collection<ChainStageResult> stageStates,
int numberOfResults)
Calculates average duration of provided stages execution |
ChainStateResult |
updateForContinuedBuild(BuildContext chainBuildContext,
java.util.Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a ChainState for build already executed and stopped on manual stage of failed |
void |
updateStateToInProgress(PlanResultKey chainResultKey,
java.util.Date startDate)
|
Method Detail |
---|
@NotNull ChainStateResult create(@NotNull BuildContext chainBuildContext, @NotNull java.util.Map<ImmutableChainStage,java.util.Map<ImmutableJob,BuildContext>> jobBuildContexts, @NotNull java.util.Collection<? extends ImmutableChainStage> stageToExecute)
ChainState
from Chain
and BuildContext
and reports any errors
chainBuildContext
- jobBuildContexts
- stageToExecute
-
void updateStateToInProgress(@NotNull PlanResultKey chainResultKey, @NotNull java.util.Date startDate)
chainResultKey
- startDate
- @NotNull ChainStateResult updateForContinuedBuild(@NotNull BuildContext chainBuildContext, @NotNull java.util.Collection<BuildContext> jobBuildContexts, PlanExecutionConfig planExecutionConfig)
ChainState
for build already executed and stopped on manual stage of failed
chainBuildContext
- jobBuildContexts
- planExecutionConfig
- - controls the continue/restart execution
long getAverageProgressDurationForStages(@NotNull PlanIdentifier chain, @NotNull java.util.Collection<ChainStageResult> stageStates, int numberOfResults)
chain
- stageStates
- stages for current execution of plan included in calculationnumberOfResults
- number of previous executions included in calculations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |