Interface BuildDistributor.QueuedBuildTerminator

    • 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