org.apache.continuum.buildagent.taskqueue.manager
Interface BuildAgentTaskQueueManager
- All Known Implementing Classes:
- DefaultBuildAgentTaskQueueManager
public interface BuildAgentTaskQueueManager
ROLE
static final String ROLE
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.