|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.container.BambooTask
public abstract class BambooTask
This class provides an executable task abstraction.
| Constructor Summary | |
|---|---|
BambooTask()
|
|
| Method Summary | |
|---|---|
protected abstract void |
doTask()
The task we're executing |
protected Persister |
getPersister()
What is the task's Build Persister? |
protected void |
init()
Lets the the component be initailed when the task daemon starts. |
boolean |
isRunning()
Is the task currently running? |
void |
run()
Execute the task. |
void |
stop()
Stop the task from running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BambooTask()
| Method Detail |
|---|
protected Persister getPersister()
public void run()
run in interface Runnable
protected abstract void doTask()
throws Exception
Exceptionprotected void init()
public void stop()
public boolean isRunning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||