Package com.atlassian.bamboo.task
Interface CommonTaskType
- All Superinterfaces:
InternalTaskType
- All Known Implementing Classes:
AbstractShellBuildTask
,AntBuildTask
,ArtifactDownloaderTask
,CleanWorkingDirectoryTask
,CommandBuildTask
,DumpVariablesTask
,InjectVariablesTask
,Maven1BuildTask
,Maven2BuildTask
,Maven3BuildTask
,ScriptBuildTask
,VcsBranchTask
,VcsCheckoutTask
,VcsCommitTask
,VcsPushTask
,VcsTagTask
An Executable Task. To be implemented by task plugins. TaskTypes are only responsible for executing the task.
See
TaskConfigurator
for how to generate a UI to configure this particular task.
Task implementing this interface are usable both in Build Plans and Deployment Jobs. If task is Build or Deployments specific,
it should implement TaskType
or DeploymentTaskType respectively.- Since:
- 5.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(@NotNull CommonTaskContext taskContext) Executes the task.
-
Method Details
-
execute
Executes the task.- Parameters:
taskContext
-- Returns:
- a
TaskResult
representing the status of the task execution - Throws:
TaskException
-