Package com.atlassian.bamboo.task
Interface TaskType
- All Superinterfaces:
InternalTaskType
- All Known Implementing Classes:
GrailsBuildTask,JUnitResultParserTask,MavenDependenciesProcessorTask,PhpUnitBuildTask,TestNGResultParserTask,TestResultGeneratorTask,WarningsTask
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.
Tasks implementing this interface can be used in Build Plans.- Since:
- 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull TaskResultexecute(@NotNull TaskContext taskContext) Execute the task
-
Method Details
-
execute
@NotNull @NotNull TaskResult execute(@NotNull @NotNull TaskContext taskContext) throws TaskException Execute the task- Parameters:
taskContext-- Returns:
- a
TaskResultrepresenting the status of the task execution - Throws:
TaskException
-