org.apache.continuum.buildagent.taskqueue.manager
Interface BuildAgentTaskQueueManager

Package class diagram package BuildAgentTaskQueueManager
All Known Implementing Classes:
DefaultBuildAgentTaskQueueManager

public interface BuildAgentTaskQueueManager


Field Summary
static String ROLE
           
 
Method Summary
 void cancelBuild()
           
 org.codehaus.plexus.taskqueue.TaskQueue getBuildQueue()
           
 org.apache.continuum.taskqueue.BuildProjectTask getCurrentProjectInBuilding()
           
 PrepareBuildProjectsTask getCurrentProjectInPrepareBuild()
           
 int getIdOfProjectCurrentlyBuilding()
           
 org.codehaus.plexus.taskqueue.TaskQueue getPrepareBuildQueue()
           
 List<org.apache.continuum.taskqueue.BuildProjectTask> getProjectsInBuildQueue()
           
 List<PrepareBuildProjectsTask> getProjectsInPrepareBuildQueue()
           
 boolean hasBuildTaskInQueue()
           
 boolean isInPrepareBuildQueue(int projectGroupId, int trigger, String scmRootAddress)
           
 boolean isProjectInBuildQueue(int projectId)
           
 void removeFromBuildQueue(int[] hashCodes)
           
 boolean removeFromBuildQueue(int projectId, int buildDefinitionId)
           
 void removeFromPrepareBuildQueue(int[] hashCodes)
           
 boolean removeFromPrepareBuildQueue(int projectGroupId, int scmRootId)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

getBuildQueue

org.codehaus.plexus.taskqueue.TaskQueue getBuildQueue()

getPrepareBuildQueue

org.codehaus.plexus.taskqueue.TaskQueue getPrepareBuildQueue()

cancelBuild

void cancelBuild()
                 throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

getIdOfProjectCurrentlyBuilding

int getIdOfProjectCurrentlyBuilding()
                                    throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

getCurrentProjectInBuilding

org.apache.continuum.taskqueue.BuildProjectTask getCurrentProjectInBuilding()
                                                                            throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

getCurrentProjectInPrepareBuild

PrepareBuildProjectsTask getCurrentProjectInPrepareBuild()
                                                         throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

hasBuildTaskInQueue

boolean hasBuildTaskInQueue()
                            throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

isProjectInBuildQueue

boolean isProjectInBuildQueue(int projectId)
                              throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

isInPrepareBuildQueue

boolean isInPrepareBuildQueue(int projectGroupId,
                              int trigger,
                              String scmRootAddress)
                              throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

getProjectsInPrepareBuildQueue

List<PrepareBuildProjectsTask> getProjectsInPrepareBuildQueue()
                                                              throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

getProjectsInBuildQueue

List<org.apache.continuum.taskqueue.BuildProjectTask> getProjectsInBuildQueue()
                                                                              throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

removeFromPrepareBuildQueue

boolean removeFromPrepareBuildQueue(int projectGroupId,
                                    int scmRootId)
                                    throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

removeFromPrepareBuildQueue

void removeFromPrepareBuildQueue(int[] hashCodes)
                                 throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

removeFromBuildQueue

boolean removeFromBuildQueue(int projectId,
                             int buildDefinitionId)
                             throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException

removeFromBuildQueue

void removeFromBuildQueue(int[] hashCodes)
                          throws org.apache.continuum.taskqueue.manager.TaskQueueManagerException
Throws:
org.apache.continuum.taskqueue.manager.TaskQueueManagerException


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