Interface BuildTask
-
- All Superinterfaces:
Callable<BuildContext>
- All Known Subinterfaces:
AgentBuildTask,CapabililitiesAwareBuildTask,CustomBuildProcessor,CustomBuildProcessorServer,CustomPostBuildCompletedAction,CustomPreBuildAction,CustomPreBuildQueuedAction,HibernateBuildTask,InterruptibleBuildTask
- All Known Implementing Classes:
AbstractBuildTask,BaseConfigurableBuildPlugin,BuildArtifactPostProcessor,BuildLabeller,BuildLabellerCustomBuildProcessor,BuildLogLabellerPreBuildAction,BuildMonitoringPerPlanPlugin,CloverBuildProcessor,CloverDeltaCalculator,MavenDependenciesServerPostProcessor,VCSVersionReader
public interface BuildTask extends Callable<BuildContext>
Interface that defines a basic interface for a task in Bamboo. Allcall()methods returnBuildContextobjects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull BuildContextcall()Execute the build task.voidinit(@NotNull BuildContext buildContext)
-
-
-
Method Detail
-
init
void init(@NotNull @NotNull BuildContext buildContext)
-
call
@NotNull @NotNull BuildContext call() throws InterruptedException, Exception
Execute the build task.
Implementations should regularly check if the calling
Threadhas been interrupted.- Specified by:
callin interfaceCallable<BuildContext>- Returns:
- Throws:
InterruptedException- if the callingThreadhas been interrupted.Exception- A general exception that will be handled.
-
-