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
@PublicApi public interface CommonTaskType extends InternalTaskType
An Executable Task. To be implemented by task plugins. TaskTypes are only responsible for executing the task. SeeTaskConfigurator
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 implementTaskType
or DeploymentTaskType respectively.- Since:
- 5.0
- See Also:
TaskConfigurator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskResult
execute(@NotNull CommonTaskContext taskContext)
Executes the task.
-
-
-
Method Detail
-
execute
TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException
Executes the task.- Parameters:
taskContext
-- Returns:
- a
TaskResult
representing the status of the task execution - Throws:
TaskException
-
-