Package com.atlassian.bamboo.task
Interface TaskModuleDescriptor
- All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<InternalTaskType>,NameProvider,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware
- All Known Implementing Classes:
TaskModuleDescriptorImpl
public interface TaskModuleDescriptor
extends com.atlassian.plugin.ModuleDescriptor<InternalTaskType>, NameProvider
Note that this should not be directly used by plugin developers.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescription@Nullable CapabilityDefaultsHelperRetrieves the instance responsible for detecting the defaultCapabilitys of this plugin@NotNull List<TaskCategory>@Nullable TaskHelpLinkTaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks and their corresponding titles.default @Nullable StringURL to a two-times larger version of theiconto be used in the task browser for screens with high resolution.@Nullable StringURL to the icon to be used in the Task browser@Nullable RuntimeTaskDataProviderOptional server side component allowing inject runtime parameters for task@Nullable TaskBackgroundProcessorOptional agent side components allowing additional processing happening before and after the build.@Nullable TaskConfiguratorRetrieves the plugin class responsible fo handling user configuration of this plugin.@NotNull List<TaskExecutableType>@Nullable TaskDefinitionExporterRetrieves the plugin class responsible for exporting of user configuration of this plugin.Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.bamboo.utils.NameProvider
getNameMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Method Details
-
getTaskConfigurator
Retrieves the plugin class responsible fo handling user configuration of this plugin.- Returns:
TaskConfiguratorfor this TaskType
-
getRuntimeTaskDataProvider
Optional server side component allowing inject runtime parameters for task- Returns:
-
getTaskBackgroundProcessor
Optional agent side components allowing additional processing happening before and after the build.- Returns:
-
getCapabilityDefaultsHelper
Retrieves the instance responsible for detecting the defaultCapabilitys of this plugin- Returns:
CapabilityDefaultsHelperfor thisTaskType
-
getCategories
- Returns:
- a list of
TaskCategorys that this module belongs to
-
getTaskExecutables
- Returns:
- details for
TaskTypeexecutable
-
getIconUrl
URL to the icon to be used in the Task browser- Returns:
- url to the resource named 'icon' with the type 'download'
- Since:
- 3.3
-
getIcon2xUrl
URL to a two-times larger version of theiconto be used in the task browser for screens with high resolution.- Returns:
- url to the resource named 'icon@2x' with the type 'download'
- Since:
- 6.7
-
getHelpLink
TaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks and their corresponding titles.- Returns:
- TaskHelpLink object
- Since:
- 5.2
-
getTaskExporter
Retrieves the plugin class responsible for exporting of user configuration of this plugin.- Returns:
TaskDefinitionExporterfor this ModuleDescriptor- Since:
- 5.14
-