estimateBuilds
@NotNull
Map<String,Result> estimateBuilds(@NotNull
BuildDistributorInput buildDistributorInput,
@NotNull
TaskProgress progress)
Calculates time estimates for all the queued builds.
Uses the same input data as build distribution algorithm since the distribution is actively used
and no additional input data required.
Time to wait is calculated for the moment of invocation (with some accuracy)
- Parameters:
buildDistributorInput
- input data
progress
- calculator should check TaskProgress.isInterrupted()
method and stop calculation if method returns true,
in this case result of operation does not matter as it won't be used anyway.
- Returns:
- buildInfo item id -> Result.
The returned objects are exactly the same objects (not copies) that came as input data.