Package com.atlassian.bamboo.task
Interface TaskType
-
- All Superinterfaces:
InternalTaskType
- All Known Implementing Classes:
GrailsBuildTask,JUnitResultParserTask,MavenDependenciesProcessorTask,PhpUnitBuildTask,TestNGResultParserTask,TestResultGeneratorTask,WarningsTask
@PublicApi public interface TaskType extends InternalTaskType
An Executable Task. To be implemented by task plugins. TaskTypes are only responsible for executing the task. SeeTaskConfiguratorfor 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:
TaskConfigurator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull TaskResultexecute(@NotNull TaskContext taskContext)Execute the task
-
-
-
Method Detail
-
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
-
-