org.apache.continuum.builder.distributed.taskqueue
Class DefaultOverallDistributedBuildQueue

java.lang.Object
  extended by org.apache.continuum.builder.distributed.taskqueue.DefaultOverallDistributedBuildQueue
All Implemented Interfaces:
OverallDistributedBuildQueue

public class DefaultOverallDistributedBuildQueue
extends Object
implements OverallDistributedBuildQueue


Constructor Summary
DefaultOverallDistributedBuildQueue()
           
 
Method Summary
 void addToDistributedBuildQueue(org.codehaus.plexus.taskqueue.Task distributedBuildTask)
           
 String getBuildAgentUrl()
           
 org.codehaus.plexus.taskqueue.TaskQueue getDistributedBuildQueue()
           
 DistributedBuildTaskQueueExecutor getDistributedBuildTaskQueueExecutor()
           
 List<PrepareBuildProjectsTask> getProjectsInQueue()
           
 boolean isInDistributedBuildQueue(int projectGroupId, int scmRootId)
           
 void removeFromDistributedBuildQueue(int[] hashCodes)
           
 void removeFromDistributedBuildQueue(int projectGroupId, int scmRootId)
           
 void removeFromDistributedBuildQueueByHashCode(int hashCode)
           
 void setBuildAgentUrl(String buildAgentUrl)
           
 void setDistributedBuildTaskQueueExecutor(DistributedBuildTaskQueueExecutor distributedBuildTaskQueueExecutor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOverallDistributedBuildQueue

public DefaultOverallDistributedBuildQueue()
Method Detail

addToDistributedBuildQueue

public void addToDistributedBuildQueue(org.codehaus.plexus.taskqueue.Task distributedBuildTask)
                                throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
addToDistributedBuildQueue in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

getBuildAgentUrl

public String getBuildAgentUrl()
Specified by:
getBuildAgentUrl in interface OverallDistributedBuildQueue

getDistributedBuildQueue

public org.codehaus.plexus.taskqueue.TaskQueue getDistributedBuildQueue()
Specified by:
getDistributedBuildQueue in interface OverallDistributedBuildQueue

getDistributedBuildTaskQueueExecutor

public DistributedBuildTaskQueueExecutor getDistributedBuildTaskQueueExecutor()
Specified by:
getDistributedBuildTaskQueueExecutor in interface OverallDistributedBuildQueue

getProjectsInQueue

public List<PrepareBuildProjectsTask> getProjectsInQueue()
                                                  throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
getProjectsInQueue in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

isInDistributedBuildQueue

public boolean isInDistributedBuildQueue(int projectGroupId,
                                         int scmRootId)
                                  throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
isInDistributedBuildQueue in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

removeFromDistributedBuildQueue

public void removeFromDistributedBuildQueue(int projectGroupId,
                                            int scmRootId)
                                     throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
removeFromDistributedBuildQueue in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

removeFromDistributedBuildQueue

public void removeFromDistributedBuildQueue(int[] hashCodes)
                                     throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
removeFromDistributedBuildQueue in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

removeFromDistributedBuildQueueByHashCode

public void removeFromDistributedBuildQueueByHashCode(int hashCode)
                                               throws org.codehaus.plexus.taskqueue.TaskQueueException
Specified by:
removeFromDistributedBuildQueueByHashCode in interface OverallDistributedBuildQueue
Throws:
org.codehaus.plexus.taskqueue.TaskQueueException

setBuildAgentUrl

public void setBuildAgentUrl(String buildAgentUrl)
Specified by:
setBuildAgentUrl in interface OverallDistributedBuildQueue

setDistributedBuildTaskQueueExecutor

public void setDistributedBuildTaskQueueExecutor(DistributedBuildTaskQueueExecutor distributedBuildTaskQueueExecutor)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.