@PublicApi public interface CommonTaskType extends InternalTaskType
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.TaskConfigurator
Modifier and Type | Method and Description |
---|---|
TaskResult |
execute(CommonTaskContext taskContext)
Executes the task.
|
TaskResult execute(@NotNull CommonTaskContext taskContext) throws TaskException
taskContext
- TaskResult
representing the status of the task executionTaskException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.