overallBuildQueue = overallBuildQueues.get( key );
CheckOutTask checkoutTask =
(CheckOutTask) overallBuildQueue.getCheckoutTaskQueueExecutor().getCurrentTask();
if ( checkoutTask != null && checkoutTask.getProjectId() == projectId )
{
overallBuildQueue.cancelCheckoutTask( projectId );
return true;
}
}
log.info( "Project '" + projectId + "' not found in any of the checkout queues." );
}