public interface BuildTask extends Callable<BuildContext>
call()
methods return BuildContext
objects.Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
call()
Execute the build task.
|
void |
init(@NotNull BuildContext buildContext) |
void init(@NotNull @NotNull BuildContext buildContext)
@NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.