com.atlassian.bamboo.task
Interface TaskType

All Superinterfaces:
InternalTaskType<TaskContext>
All Known Implementing Classes:
AbstractShellBuildTask, AbstractSingleAntBuildTask, AntBuildTask, CommandBuildTask, GrailsBuildTask, JUnitResultParserTask, Maven1BuildTask, Maven2BuildTask, Maven3BuildTask, MavenDependenciesProcessorTask, PhpUnitBuildTask, ScriptBuildTask, SingleAntBuildTask, VcsBranchingTask, VcsCheckoutTask, VcsTaggingTask

public interface TaskType
extends InternalTaskType<TaskContext>

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.

Since:
3.1
See Also:
TaskConfigurator

Method Summary
 TaskResult execute(TaskContext taskContext)
          Execute the task
 

Method Detail

execute

@NotNull
TaskResult execute(@NotNull
                           TaskContext taskContext)
                   throws TaskException
Execute the task

Specified by:
execute in interface InternalTaskType<TaskContext>
Parameters:
taskContext -
Returns:
a TaskResult representing the status of the task execution
Throws:
TaskException


Copyright © 2012 Atlassian. All Rights Reserved.