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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable CapabilityDefaultsHelpergetCapabilityDefaultsHelper()Retrieves the instance responsible for detecting the defaultCapabilitys of this plugin@NotNull List<TaskCategory>getCategories()@Nullable TaskHelpLinkgetHelpLink()TaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks and their corresponding titles.default @Nullable StringgetIcon2xUrl()URL to a two-times larger version of theiconto be used in the task browser for screens with high resolution.@Nullable StringgetIconUrl()URL to the icon to be used in the Task browser@Nullable RuntimeTaskDataProvidergetRuntimeTaskDataProvider()Optional server side component allowing inject runtime parameters for task@Nullable TaskBackgroundProcessorgetTaskBackgroundProcessor()Optional agent side components allowing additional processing happening before and after the build.@Nullable TaskConfiguratorgetTaskConfigurator()Retrieves the plugin class responsible fo handling user configuration of this plugin.@NotNull List<TaskExecutableType>getTaskExecutables()@Nullable TaskDefinitionExportergetTaskExporter()Retrieves 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, setBroken
-
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
-
-
-
-
Method Detail
-
getTaskConfigurator
@Nullable @Nullable TaskConfigurator getTaskConfigurator()
Retrieves the plugin class responsible fo handling user configuration of this plugin.- Returns:
TaskConfiguratorfor this TaskType
-
getRuntimeTaskDataProvider
@Nullable @Nullable RuntimeTaskDataProvider getRuntimeTaskDataProvider()
Optional server side component allowing inject runtime parameters for task- Returns:
-
getTaskBackgroundProcessor
@Nullable @Nullable TaskBackgroundProcessor getTaskBackgroundProcessor()
Optional agent side components allowing additional processing happening before and after the build.- Returns:
-
getCapabilityDefaultsHelper
@Nullable @Nullable CapabilityDefaultsHelper getCapabilityDefaultsHelper()
Retrieves the instance responsible for detecting the defaultCapabilitys of this plugin- Returns:
CapabilityDefaultsHelperfor thisTaskType
-
getCategories
@NotNull @NotNull List<TaskCategory> getCategories()
- Returns:
- a list of
TaskCategorys that this module belongs to
-
getTaskExecutables
@NotNull @NotNull List<TaskExecutableType> getTaskExecutables()
- Returns:
- details for
TaskTypeexecutable
-
getIconUrl
@Nullable @Nullable String 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
@Nullable default @Nullable String 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
@Nullable @Nullable TaskHelpLink 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
@Nullable @Nullable TaskDefinitionExporter getTaskExporter()
Retrieves the plugin class responsible for exporting of user configuration of this plugin.- Returns:
TaskDefinitionExporterfor this ModuleDescriptor- Since:
- 5.14
-
-