Interface BuildDistributor.QueuedBuildTerminator
-
- All Known Implementing Classes:
QueuedBuildTerminatorImpl
- Enclosing interface:
- BuildDistributor
public static interface BuildDistributor.QueuedBuildTerminator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
scheduledForTermination(QueuedBuildInfo queuedBuildInfo)
Checks if the queued build can be terminated (be canceled or marked as failed to start) based on its dependencies statuses.
-
-
-
Method Detail
-
scheduledForTermination
boolean scheduledForTermination(@NotNull QueuedBuildInfo queuedBuildInfo)
Checks if the queued build can be terminated (be canceled or marked as failed to start) based on its dependencies statuses. In that case it schedules the build for asynchronous termination and returns true which will mean that distributor should not process it further, and false otherwise.- Parameters:
queuedBuildInfo
- queued build- Returns:
- see above
-
-