|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.continuum.taskqueue.manager.DefaultTaskQueueManager
public class DefaultTaskQueueManager
Field Summary |
---|
Fields inherited from interface org.apache.continuum.taskqueue.manager.TaskQueueManager |
---|
ROLE |
Constructor Summary | |
---|---|
DefaultTaskQueueManager()
|
Method Summary | |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context)
|
List<PrepareBuildProjectsTask> |
getDistributedBuildProjectsInQueue()
|
org.codehaus.plexus.taskqueue.TaskQueue |
getDistributedBuildQueue()
|
org.codehaus.plexus.taskqueue.TaskQueue |
getPurgeQueue()
|
boolean |
isInDistributedBuildQueue(int projectGroupId,
String scmRootAddress)
|
boolean |
isInPurgeQueue(int purgeConfigId)
|
boolean |
isProjectInReleaseStage(String releaseId)
Check whether a project is in the release stage based on the given releaseId. |
boolean |
isRepositoryInPurgeQueue(int repositoryId)
Check if the repository is already in the purging queue |
boolean |
isRepositoryInUse(int repositoryId)
Check if the repository is being used by a project that is currently building |
boolean |
releaseInProgress()
|
void |
removeFromDistributedBuildQueue(int projectGroupId,
String scmRootAddress)
|
boolean |
removeFromPurgeQueue(int purgeConfigId)
Remove local repository from the purge queue |
boolean |
removeFromPurgeQueue(int[] purgeConfigIds)
Remove local repositories from the purge queue |
void |
removeRepositoryFromPurgeQueue(int repositoryId)
Remove local repository from the purge queue |
void |
removeTasksFromDistributedBuildQueueWithHashCodes(int[] hashCodes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTaskQueueManager()
Method Detail |
---|
public org.codehaus.plexus.taskqueue.TaskQueue getDistributedBuildQueue()
public List<PrepareBuildProjectsTask> getDistributedBuildProjectsInQueue() throws TaskQueueManagerException
TaskQueueManagerException
public org.codehaus.plexus.taskqueue.TaskQueue getPurgeQueue()
getPurgeQueue
in interface TaskQueueManager
public boolean isInDistributedBuildQueue(int projectGroupId, String scmRootAddress) throws TaskQueueManagerException
TaskQueueManagerException
public boolean isInPurgeQueue(int purgeConfigId) throws TaskQueueManagerException
isInPurgeQueue
in interface TaskQueueManager
TaskQueueManagerException
public boolean isRepositoryInPurgeQueue(int repositoryId) throws TaskQueueManagerException
TaskQueueManager
isRepositoryInPurgeQueue
in interface TaskQueueManager
repositoryId
- the id of the repository purge configuration
TaskQueueManagerException
public boolean isRepositoryInUse(int repositoryId) throws TaskQueueManagerException
TaskQueueManager
isRepositoryInUse
in interface TaskQueueManager
repositoryId
- the id of the local repository
TaskQueueManagerException
public boolean isProjectInReleaseStage(String releaseId) throws TaskQueueManagerException
TaskQueueManager
isProjectInReleaseStage
in interface TaskQueueManager
TaskQueueManagerException
public boolean releaseInProgress() throws TaskQueueManagerException
releaseInProgress
in interface TaskQueueManager
TaskQueueManagerException
public void removeFromDistributedBuildQueue(int projectGroupId, String scmRootAddress) throws TaskQueueManagerException
TaskQueueManagerException
public boolean removeFromPurgeQueue(int purgeConfigId) throws TaskQueueManagerException
TaskQueueManager
removeFromPurgeQueue
in interface TaskQueueManager
purgeConfigId
- the id of the purge configuration
TaskQueueManagerException
public boolean removeFromPurgeQueue(int[] purgeConfigIds) throws TaskQueueManagerException
TaskQueueManager
removeFromPurgeQueue
in interface TaskQueueManager
purgeConfigIds
- the ids of the purge configuration
TaskQueueManagerException
public void removeRepositoryFromPurgeQueue(int repositoryId) throws TaskQueueManagerException
TaskQueueManager
removeRepositoryFromPurgeQueue
in interface TaskQueueManager
repositoryId
- the id of the local repository
TaskQueueManagerException
public void removeTasksFromDistributedBuildQueueWithHashCodes(int[] hashCodes) throws TaskQueueManagerException
TaskQueueManagerException
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |