public interface BuildTask extends Callable<BuildContext>
call()
methods return BuildContext
objects.Modifier and Type | Method and Description |
---|---|
BuildContext |
call()
Execute the build task.
|
void |
init(BuildContext buildContext) |
void init(@NotNull BuildContext buildContext)
@NotNull BuildContext call() throws InterruptedException, Exception
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface Callable<BuildContext>
InterruptedException
- if the calling Thread
has been interrupted.Exception
- A general exception that will be handled.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.