|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
TaskQueueManagerExceptionpublic 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 TaskQueueManagerTaskQueueManagerException
public boolean isRepositoryInPurgeQueue(int repositoryId)
throws TaskQueueManagerException
TaskQueueManager
isRepositoryInPurgeQueue in interface TaskQueueManagerrepositoryId - the id of the repository purge configuration
TaskQueueManagerException
public boolean isRepositoryInUse(int repositoryId)
throws TaskQueueManagerException
TaskQueueManager
isRepositoryInUse in interface TaskQueueManagerrepositoryId - the id of the local repository
TaskQueueManagerException
public boolean isProjectInReleaseStage(String releaseId)
throws TaskQueueManagerException
TaskQueueManager
isProjectInReleaseStage in interface TaskQueueManagerTaskQueueManagerException
public boolean releaseInProgress()
throws TaskQueueManagerException
releaseInProgress in interface TaskQueueManagerTaskQueueManagerException
public void removeFromDistributedBuildQueue(int projectGroupId,
String scmRootAddress)
throws TaskQueueManagerException
TaskQueueManagerException
public boolean removeFromPurgeQueue(int purgeConfigId)
throws TaskQueueManagerException
TaskQueueManager
removeFromPurgeQueue in interface TaskQueueManagerpurgeConfigId - the id of the purge configuration
TaskQueueManagerException
public boolean removeFromPurgeQueue(int[] purgeConfigIds)
throws TaskQueueManagerException
TaskQueueManager
removeFromPurgeQueue in interface TaskQueueManagerpurgeConfigIds - the ids of the purge configuration
TaskQueueManagerException
public void removeRepositoryFromPurgeQueue(int repositoryId)
throws TaskQueueManagerException
TaskQueueManager
removeRepositoryFromPurgeQueue in interface TaskQueueManagerrepositoryId - 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.Contextualizableorg.codehaus.plexus.context.ContextException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||