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(@NotNull AnyTask copy) |
AnyTask(@NotNull AtlassianModule atlassianPlugin)
Specifies a task of given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull AnyTaskProperties |
build() |
AnyTask |
configuration(Map<String,String> configuration)
Appends the generic configuration to the task.
|
boolean |
equals(Object o) |
int |
hashCode() |
conditions, description, enabled, requirements, toStringpublic AnyTask(@NotNull
@NotNull AnyTask copy)
public AnyTask(@NotNull
@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 @NotNull AnyTaskProperties build() throws PropertiesValidationException
build in class Task<AnyTask,AnyTaskProperties>PropertiesValidationExceptionpublic boolean equals(Object o)
equals in class Task<AnyTask,AnyTaskProperties>public int hashCode()
hashCode in class Task<AnyTask,AnyTaskProperties>Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.