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
Interface that defines a basic interface for a task in Bamboo. All
call() methods return BuildContext
objects.-
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextcall()Execute the build task.voidinit(@NotNull BuildContext buildContext)
-
Method Details
-
init
-
call
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.
-