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 BuildContext
call()
Execute the build task.void
init
(@NotNull BuildContext buildContext)
-
Method Details
-
init
-
call
Execute the build task.
Implementations should regularly check if the calling
Thread
has been interrupted.- Specified by:
call
in interfaceCallable<BuildContext>
- Returns:
- Throws:
InterruptedException
- if the callingThread
has been interrupted.Exception
- A general exception that will be handled.
-