performOptimization
boolean performOptimization(@NotNull
QueuedBuildInfo queuedBuildInfo,
@Nullable
WaitReason waitReason,
@NotNull
BuildDistributorInputEx buildDistributorInput)
Performs optimization of a queued build. Returns true if the build has been optimized and there is no need to start it, and false otherwise.
- Parameters:
queuedBuild - queued build which is ready to start (preconditions allow it to start)
waitReason - current wait reason associated with the build
input - input of the build distributor
- Returns: