|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.continuum.taskqueue.DefaultOverallBuildQueue
public class DefaultOverallBuildQueue
"Overall" build queue which has a checkout queue and a build queue.
Constructor Summary | |
---|---|
DefaultOverallBuildQueue()
|
Method Summary | |
---|---|
void |
addToBuildQueue(BuildProjectTask buildTask)
Add the build task to the build queue. |
void |
addToBuildQueue(List<BuildProjectTask> buildTasks)
Add the build tasks to the build queue. |
void |
addToCheckoutQueue(CheckOutTask checkoutTask)
Add checkout task to checkout queue. |
void |
addToCheckoutQueue(List<CheckOutTask> checkoutTasks)
Add checkout tasks to checkout queue. |
void |
addToPrepareBuildQueue(List<PrepareBuildProjectsTask> prepareBuildTasks)
Add the prepare build tasks to the prepare build queue. |
void |
addToPrepareBuildQueue(PrepareBuildProjectsTask prepareBuildTask)
Add the prepare build task to the prepare build queue. |
void |
cancelBuildTask(int projectId)
Cancel the build task of the corresponding project. |
void |
cancelCheckoutTask(int projectId)
Cancel checkout of project. |
boolean |
cancelCurrentBuild()
Cancel the current build. |
boolean |
cancelCurrentCheckout()
Cancel current checkout. |
boolean |
cancelCurrentPrepareBuild()
Cancel the current prepare build. |
void |
cancelPrepareBuildTask(int projectId)
Cancel the prepare build task of the corresponding project |
void |
cancelPrepareBuildTask(int projectGroupId,
int scmRootId)
Cancel the prepare build task of the corresponding project group and scm root. |
org.codehaus.plexus.taskqueue.TaskQueue |
getBuildQueue()
Returns the build queue. |
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getBuildTaskQueueExecutor()
Returns the build task queue executor used. |
org.codehaus.plexus.taskqueue.TaskQueue |
getCheckoutQueue()
Returns the checkout queue. |
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getCheckoutTaskQueueExecutor()
Returns the checkout task queue executor used. |
int |
getId()
Returns the id of the "overall" build queue |
String |
getName()
Returns the name of the "overall" build queue |
org.codehaus.plexus.taskqueue.TaskQueue |
getPrepareBuildQueue()
Returns the prepare build queue. |
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor |
getPrepareBuildTaskQueueExecutor()
Returns the prepare build task queue executor used. |
List<BuildProjectTask> |
getProjectsInBuildQueue()
Returns the build tasks in the build queue. |
List<CheckOutTask> |
getProjectsInCheckoutQueue()
Get all checkout tasks in checkout queue. |
List<PrepareBuildProjectsTask> |
getProjectsInPrepareBuildQueue()
Returns the prepare build tasks in the prepare build queue. |
boolean |
isInBuildQueue(int projectId)
Checks if the specified project is in the build queue. |
boolean |
isInBuildQueue(int projectId,
int buildDefinitionId)
Checks if the specified project with the specified build definition is in the build queue. |
boolean |
isInCheckoutQueue(int projectId)
Check if the project is in the checkout queue. |
boolean |
isInPrepareBuildQueue(int projectId)
Checks if the specified project is in the prepare build queue. |
boolean |
isInPrepareBuildQueue(int projectGroupId,
int scmRootId)
Checks if the specified project group and scm root is in the prepare build queue. |
boolean |
isInPrepareBuildQueue(int projectGroupId,
String scmRootAddress)
Checks if the specified project group and scm root is in the prepare build queue. |
boolean |
removeProjectFromBuildQueue(int projectId)
Remove the specified project from the build queue. |
boolean |
removeProjectFromBuildQueue(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger,
String projectName,
int projectGroupId)
Remove the project matching the specified id, name, build definition and trigger from the build queue. |
boolean |
removeProjectFromCheckoutQueue(int projectId)
Remove project from checkout queue. |
boolean |
removeProjectFromPrepareBuildQueue(int projectGroupId,
int scmRootId)
Remove the project group matching the specified id, and scm root id from the prepare build queue. |
boolean |
removeProjectFromPrepareBuildQueue(int projectGroupId,
String scmRootAddress)
Remove the project group matching the specified id and scm root address from the prepare build queue. |
boolean |
removeProjectsFromBuildQueue(int[] projectIds)
Remove the specified projects from the build queue. |
void |
removeProjectsFromBuildQueueWithHashCodes(int[] hashCodes)
Remove the projects matching the specified hashcodes from the build queue. |
boolean |
removeProjectsFromCheckoutQueue(int[] projectsId)
Remove the specified projects in the checkout queue. |
void |
removeProjectsFromPrepareBuildQueueWithHashCodes(int[] hashCodes)
Remove the projects matching the specified hashcodes from the prepare build queue. |
void |
removeTasksFromCheckoutQueueWithHashCodes(int[] hashCodes)
|
void |
setBuildDefinitionDao(BuildDefinitionDao buildDefinitionDao)
|
void |
setBuildTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor buildTaskQueueExecutor)
|
void |
setCheckoutTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor checkoutTaskQueueExecutor)
|
void |
setId(int id)
|
void |
setName(String name)
|
void |
setPrepareBuildTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor prepareBuildTaskQueueExecutor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultOverallBuildQueue()
Method Detail |
---|
public int getId()
OverallBuildQueue
getId
in interface OverallBuildQueue
public void setId(int id)
setId
in interface OverallBuildQueue
public String getName()
OverallBuildQueue
getName
in interface OverallBuildQueue
public void setName(String name)
setName
in interface OverallBuildQueue
public void addToCheckoutQueue(CheckOutTask checkoutTask) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.addToCheckoutQueue(CheckOutTask)
public void addToCheckoutQueue(List<CheckOutTask> checkoutTasks) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.addToCheckoutQueue(List)
public List<CheckOutTask> getProjectsInCheckoutQueue() throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
getProjectsInCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.getProjectsInCheckoutQueue()
public boolean isInCheckoutQueue(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.isInCheckoutQueue(int)
public boolean removeProjectFromCheckoutQueue(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectFromCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectFromCheckoutQueue(int)
public boolean removeProjectsFromCheckoutQueue(int[] projectsId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectsFromCheckoutQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectsFromCheckoutQueue(int[])
public void removeTasksFromCheckoutQueueWithHashCodes(int[] hashCodes) throws org.codehaus.plexus.taskqueue.TaskQueueException
removeTasksFromCheckoutQueueWithHashCodes
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeTasksFromCheckoutQueueWithHashCodes(int[])
public void addToBuildQueue(BuildProjectTask buildTask) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue.addToBuildQueue(BuildProjectTask)
public void addToBuildQueue(List<BuildProjectTask> buildTasks) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.addToBuildQueue(List)
public List<BuildProjectTask> getProjectsInBuildQueue() throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
getProjectsInBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.getProjectsInBuildQueue()
public boolean isInBuildQueue(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.isInBuildQueue(int)
public boolean isInBuildQueue(int projectId, int buildDefinitionId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.isInBuildQueue(int, int)
public void cancelBuildTask(int projectId)
OverallBuildQueue
cancelBuildTask
in interface OverallBuildQueue
OverallBuildQueue.cancelBuildTask(int)
public void cancelCheckoutTask(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
cancelCheckoutTask
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue.cancelCheckoutTask(int)
public boolean cancelCurrentBuild()
OverallBuildQueue
cancelCurrentBuild
in interface OverallBuildQueue
OverallBuildQueue.cancelCurrentBuild()
public boolean cancelCurrentCheckout()
OverallBuildQueue
cancelCurrentCheckout
in interface OverallBuildQueue
OverallBuildQueue.cancelCurrentCheckout()
public boolean removeProjectFromBuildQueue(int projectId, int buildDefinitionId, BuildTrigger buildTrigger, String projectName, int projectGroupId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectFromBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectFromBuildQueue(int, int, BuildTrigger, String, int)
public boolean removeProjectsFromBuildQueue(int[] projectIds) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectsFromBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectsFromBuildQueue(int[])
public boolean removeProjectFromBuildQueue(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectFromBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectFromBuildQueue(int)
public void removeProjectsFromBuildQueueWithHashCodes(int[] hashCodes) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectsFromBuildQueueWithHashCodes
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectsFromBuildQueueWithHashCodes(int[])
public void addToPrepareBuildQueue(PrepareBuildProjectsTask prepareBuildTask) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue.addToPrepareBuildQueue(PrepareBuildProjectsTask)
public void addToPrepareBuildQueue(List<PrepareBuildProjectsTask> prepareBuildTasks) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
addToPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.addToPrepareBuildQueue(List)
public List<PrepareBuildProjectsTask> getProjectsInPrepareBuildQueue() throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
getProjectsInPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.getProjectsInPrepareBuildQueue()
public boolean isInPrepareBuildQueue(int projectId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.isInPrepareBuildQueue(int)
public boolean isInPrepareBuildQueue(int projectGroupId, int scmRootId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue.isInPrepareBuildQueue(int, int)
public boolean isInPrepareBuildQueue(int projectGroupId, String scmRootAddress) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
isInPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue.isInPrepareBuildQueue(int, String)
public void cancelPrepareBuildTask(int projectGroupId, int scmRootId)
OverallBuildQueue
cancelPrepareBuildTask
in interface OverallBuildQueue
OverallBuildQueue.cancelPrepareBuildTask(int, int)
public void cancelPrepareBuildTask(int projectId)
OverallBuildQueue
cancelPrepareBuildTask
in interface OverallBuildQueue
OverallBuildQueue.cancelPrepareBuildTask(int)
public boolean cancelCurrentPrepareBuild()
OverallBuildQueue
cancelCurrentPrepareBuild
in interface OverallBuildQueue
OverallBuildQueue.cancelCurrentPrepareBuild()
public boolean removeProjectFromPrepareBuildQueue(int projectGroupId, int scmRootId) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectFromPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectFromPrepareBuildQueue(int, int)
public boolean removeProjectFromPrepareBuildQueue(int projectGroupId, String scmRootAddress) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectFromPrepareBuildQueue
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectFromPrepareBuildQueue(int, String)
public void removeProjectsFromPrepareBuildQueueWithHashCodes(int[] hashCodes) throws org.codehaus.plexus.taskqueue.TaskQueueException
OverallBuildQueue
removeProjectsFromPrepareBuildQueueWithHashCodes
in interface OverallBuildQueue
org.codehaus.plexus.taskqueue.TaskQueueException
- TODOOverallBuildQueue.removeProjectsFromPrepareBuildQueueWithHashCodes(int[])
public org.codehaus.plexus.taskqueue.TaskQueue getCheckoutQueue()
OverallBuildQueue
getCheckoutQueue
in interface OverallBuildQueue
OverallBuildQueue.getCheckoutQueue()
public org.codehaus.plexus.taskqueue.TaskQueue getBuildQueue()
OverallBuildQueue
getBuildQueue
in interface OverallBuildQueue
OverallBuildQueue.getBuildQueue()
public org.codehaus.plexus.taskqueue.TaskQueue getPrepareBuildQueue()
OverallBuildQueue
getPrepareBuildQueue
in interface OverallBuildQueue
OverallBuildQueue.getPrepareBuildQueue()
public org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getBuildTaskQueueExecutor()
OverallBuildQueue
getBuildTaskQueueExecutor
in interface OverallBuildQueue
OverallBuildQueue.getBuildTaskQueueExecutor()
public org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getCheckoutTaskQueueExecutor()
OverallBuildQueue
getCheckoutTaskQueueExecutor
in interface OverallBuildQueue
OverallBuildQueue.getCheckoutTaskQueueExecutor()
public org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor getPrepareBuildTaskQueueExecutor()
OverallBuildQueue
getPrepareBuildTaskQueueExecutor
in interface OverallBuildQueue
OverallBuildQueue.getPrepareBuildTaskQueueExecutor()
public void setBuildDefinitionDao(BuildDefinitionDao buildDefinitionDao)
public void setBuildTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor buildTaskQueueExecutor)
public void setCheckoutTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor checkoutTaskQueueExecutor)
public void setPrepareBuildTaskQueueExecutor(org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor prepareBuildTaskQueueExecutor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |