com.atlassian.bamboo.task
Interface CommonTaskType
- All Superinterfaces:
- InternalTaskType
- All Known Implementing Classes:
- AbstractShellBuildTask, AntBuildTask, ArtifactDownloaderTask, CommandBuildTask, DumpVariablesTask, InjectVariablesTask, Maven1BuildTask, Maven2BuildTask, Maven3BuildTask, ScriptBuildTask, VcsCheckoutTask
@PublicApi
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
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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.