com.atlassian.bamboo.buildqueue
Class SmallestQueueStrategy

java.lang.Object
  extended by com.atlassian.bamboo.buildqueue.SmallestQueueStrategy
All Implemented Interfaces:
QueueStrategy

public class SmallestQueueStrategy
extends java.lang.Object
implements QueueStrategy


Constructor Summary
SmallestQueueStrategy()
           
 
Method Summary
 boolean placeOnQueue(java.util.Collection queues, BuildResults buildResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmallestQueueStrategy

public SmallestQueueStrategy()
Method Detail

placeOnQueue

public boolean placeOnQueue(java.util.Collection queues,
                            BuildResults buildResults)
                     throws java.lang.InterruptedException,
                            java.lang.Exception
Specified by:
placeOnQueue in interface QueueStrategy
Returns:
wheteher the build results could be placed on a queue
Throws:
java.lang.InterruptedException
java.lang.Exception


Copyright © 2008 Atlassian Software Systems.. All Rights Reserved.