com.atlassian.bamboo.task
Interface CommonTaskType

All Superinterfaces:
InternalTaskType
All Known Implementing Classes:
AbstractShellBuildTask, AntBuildTask, CommandBuildTask, Maven1BuildTask, Maven2BuildTask, Maven3BuildTask, ScriptBuildTask, VcsCheckoutTask

public interface CommonTaskType
extends InternalTaskType

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:
TaskConfigurator

Method Summary
 TaskResult execute(CommonTaskContext taskContext)
          Executes the task.
 

Method Detail

execute

TaskResult execute(@NotNull
                   CommonTaskContext taskContext)
                   throws TaskException
Executes the task.

Parameters:
taskContext -
Returns:
a TaskResult representing the status of the task execution
Throws:
TaskException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.