@Deprecated
public interface Task
| Modifier and Type | Method and Description |
|---|---|
TaskConfig |
config()
Deprecated.
Specifies the configuration accepted and expected for the task.
|
TaskExecutor |
executor()
Deprecated.
The executor is the part of the plugin which actually does the work.
|
ValidationResult |
validate(TaskConfig configuration)
Deprecated.
Checks if a given task configuration is valid.
|
TaskView |
view()
Deprecated.
The implementation of TaskView returned by this method defines the view of the plugin, both in
the task type dropdown of the job configuration UI as well as the modal box for the task.
|
TaskConfig config()
TaskConfigTaskExecutor executor()
TaskExecutorTaskView view()
TaskViewValidationResult validate(TaskConfig configuration)
configuration - Task configuration which needs to be validated.ValidationResult,
which has any errors that need to be shown on the UI. The key against which the error is created
should be the same as the one in the configuration.Copyright © 2019 ThoughtWorks, Inc. GoCD Version: 19.2.0-8641