|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildTask
Interface the defines a basic interface for a task in Bamboo. All call()
methods return BuildContext
objects.
Method Summary | |
---|---|
BuildContext |
call()
Execute the build task. |
void |
init(BuildContext buildContext)
|
Method Detail |
---|
void init(@NotNull BuildContext buildContext)
@NotNull BuildContext call() throws java.lang.InterruptedException, java.lang.Exception
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface java.util.concurrent.Callable<BuildContext>
java.lang.InterruptedException
- if the calling Thread
has been interrupted.
java.lang.Exception
- A general exception that will be handled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |