public interface

BuildTask

implements Callable<V>
com.atlassian.bamboo.v2.build.task.BuildTask
Known Indirect Subclasses

Class Overview

Interface the defines a basic interface for a task in Bamboo. All call() methods return BuildContext objects.

Summary

Public Methods
@NotNull BuildContext call()

Execute the build task.

void init(BuildContext buildContext)
[Expand]
Inherited Methods
From interface java.util.concurrent.Callable

Public Methods

@NotNull public BuildContext call ()

Execute the build task.

Implementations should regularly check if the calling Thread has been interrupted.

@return
Throws
InterruptedException if the calling Thread has been interrupted.
Exception A general exception that will be handled.

public void init (BuildContext buildContext)