public class AnyTask extends Task<AnyTask,AnyTaskProperties>
Since knowledge of internal representation of plugin data is required to properly construct this object, this class should only be used if the specialised implementation of a given task type is not available.
conditions, description, requirements, taskEnabled| Constructor and Description |
|---|
AnyTask(AnyTask copy) |
AnyTask(AtlassianModule atlassianPlugin)
Specifies a task of given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected AnyTaskProperties |
build() |
AnyTask |
configuration(Map<String,String> configuration)
Appends the generic configuration to the task.
|
conditions, description, enabled, requirementspublic AnyTask(@NotNull
AnyTask copy)
public AnyTask(@NotNull
AtlassianModule atlassianPlugin)
throws PropertiesValidationException
atlassianPlugin - type of the task identified by its plugin module keyPropertiesValidationExceptionAtlassianModulepublic AnyTask configuration(Map<String,String> configuration)
The configuration should be in the format used by respective plugin. No syntactical nor semantic validation is performed on the source data. The configuration is stored 'as is' in the Bamboo DB.
@NotNull protected AnyTaskProperties build() throws PropertiesValidationException
build in class Task<AnyTask,AnyTaskProperties>PropertiesValidationExceptionCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.