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

All Known Implementing Classes:
DefaultBuildAgentTaskQueueManager

public interface BuildAgentTaskQueueManager


Field Summary
static String ROLE
           
 
Method Summary
 void cancelBuild()
           
 org.codehaus.plexus.taskqueue.TaskQueue getBuildQueue()
           
 BuildProjectTask getCurrentProjectInBuilding()
           
 PrepareBuildProjectsTask getCurrentProjectInPrepareBuild()
           
 int getIdOfProjectCurrentlyBuilding()
           
 org.codehaus.plexus.taskqueue.TaskQueue getPrepareBuildQueue()
           
 List<BuildProjectTask> getProjectsInBuildQueue()
           
 List<PrepareBuildProjectsTask> getProjectsInPrepareBuildQueue()
           
 boolean hasBuildTaskInQueue()
           
 boolean isInPrepareBuildQueue(int projectGroupId, BuildTrigger 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 TaskQueueManagerException
Throws:
TaskQueueManagerException

getIdOfProjectCurrentlyBuilding

int getIdOfProjectCurrentlyBuilding()
                                    throws TaskQueueManagerException
Throws:
TaskQueueManagerException

getCurrentProjectInBuilding

BuildProjectTask getCurrentProjectInBuilding()
                                             throws TaskQueueManagerException
Throws:
TaskQueueManagerException

getCurrentProjectInPrepareBuild

PrepareBuildProjectsTask getCurrentProjectInPrepareBuild()
                                                         throws TaskQueueManagerException
Throws:
TaskQueueManagerException

hasBuildTaskInQueue

boolean hasBuildTaskInQueue()
                            throws TaskQueueManagerException
Throws:
TaskQueueManagerException

isProjectInBuildQueue

boolean isProjectInBuildQueue(int projectId)
                              throws TaskQueueManagerException
Throws:
TaskQueueManagerException

isInPrepareBuildQueue

boolean isInPrepareBuildQueue(int projectGroupId,
                              BuildTrigger trigger,
                              String scmRootAddress)
                              throws TaskQueueManagerException
Throws:
TaskQueueManagerException

getProjectsInPrepareBuildQueue

List<PrepareBuildProjectsTask> getProjectsInPrepareBuildQueue()
                                                              throws TaskQueueManagerException
Throws:
TaskQueueManagerException

getProjectsInBuildQueue

List<BuildProjectTask> getProjectsInBuildQueue()
                                               throws TaskQueueManagerException
Throws:
TaskQueueManagerException

removeFromPrepareBuildQueue

boolean removeFromPrepareBuildQueue(int projectGroupId,
                                    int scmRootId)
                                    throws TaskQueueManagerException
Throws:
TaskQueueManagerException

removeFromPrepareBuildQueue

void removeFromPrepareBuildQueue(int[] hashCodes)
                                 throws TaskQueueManagerException
Throws:
TaskQueueManagerException

removeFromBuildQueue

boolean removeFromBuildQueue(int projectId,
                             int buildDefinitionId)
                             throws TaskQueueManagerException
Throws:
TaskQueueManagerException

removeFromBuildQueue

void removeFromBuildQueue(int[] hashCodes)
                          throws TaskQueueManagerException
Throws:
TaskQueueManagerException


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