| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.continuum.builder.distributed.executor.ThreadedDistributedBuildTaskQueueExecutor
public class ThreadedDistributedBuildTaskQueueExecutor
Codes were taken from Plexus' ThreadedTaskQueueExecutor
| Field Summary | 
|---|
| Fields inherited from interface org.apache.continuum.builder.distributed.executor.DistributedBuildTaskQueueExecutor | 
|---|
ROLE | 
| Constructor Summary | |
|---|---|
ThreadedDistributedBuildTaskQueueExecutor()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
cancelTask(org.codehaus.plexus.taskqueue.Task task)
Cancels execution of this task, if it's currently running.  | 
 String | 
getBuildAgentUrl()
Returns the build agent url of task queue executor  | 
 org.codehaus.plexus.taskqueue.Task | 
getCurrentTask()
Returns the currently executing task.  | 
 org.codehaus.plexus.taskqueue.TaskQueue | 
getQueue()
Returns the task queue  | 
 void | 
initialize()
 | 
 void | 
setBuildAgentUrl(String buildAgentUrl)
Sets the build agent url of this task queue executor  | 
 void | 
start()
 | 
 void | 
stop()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ThreadedDistributedBuildTaskQueueExecutor()
| Method Detail | 
|---|
public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializableorg.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public void start()
           throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
start in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
public void stop()
          throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingException
stop in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startableorg.codehaus.plexus.personality.plexus.lifecycle.phase.StoppingExceptionpublic org.codehaus.plexus.taskqueue.Task getCurrentTask()
DistributedBuildTaskQueueExecutor
getCurrentTask in interface DistributedBuildTaskQueueExecutorpublic boolean cancelTask(org.codehaus.plexus.taskqueue.Task task)
DistributedBuildTaskQueueExecutor
cancelTask in interface DistributedBuildTaskQueueExecutortask - The task to cancel
public void setBuildAgentUrl(String buildAgentUrl)
DistributedBuildTaskQueueExecutor
setBuildAgentUrl in interface DistributedBuildTaskQueueExecutorpublic String getBuildAgentUrl()
DistributedBuildTaskQueueExecutor
getBuildAgentUrl in interface DistributedBuildTaskQueueExecutorpublic org.codehaus.plexus.taskqueue.TaskQueue getQueue()
DistributedBuildTaskQueueExecutor
getQueue in interface DistributedBuildTaskQueueExecutor
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||