|
||||||||||
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(Chain chain,
BuildContext chainBuildContext,
java.util.Map<ChainStage,java.util.Map<Job,BuildContext>> jobBuildContexts,
java.util.Collection<ChainStage> stageToExecute)
Creates a ChainState from Chain and BuildContext and reports any errors |
long |
getAverageProgressDurationForStages(Chain 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 Chain chain, @NotNull BuildContext chainBuildContext, @NotNull java.util.Map<ChainStage,java.util.Map<Job,BuildContext>> jobBuildContexts, @NotNull java.util.Collection<ChainStage> stageToExecute)
ChainState
from Chain
and BuildContext
and reports any errors
chain
- chainBuildContext
- jobBuildContexts
-
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 Chain 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 |