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 CapabilityDefaultsHelper
Retrieves the instance responsible for detecting the defaultCapability
s of this plugin@NotNull List<TaskCategory>
@Nullable TaskHelpLink
TaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks and their corresponding titles.default @Nullable String
URL to a two-times larger version of theicon
to be used in the task browser for screens with high resolution.@Nullable String
URL to the icon to be used in the Task browser@Nullable RuntimeTaskDataProvider
Optional server side component allowing inject runtime parameters for task@Nullable TaskBackgroundProcessor
Optional agent side components allowing additional processing happening before and after the build.@Nullable TaskConfigurator
Retrieves the plugin class responsible fo handling user configuration of this plugin.@NotNull List<TaskExecutableType>
@Nullable TaskDefinitionExporter
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
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocation
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Method Details
-
getTaskConfigurator
Retrieves the plugin class responsible fo handling user configuration of this plugin.- Returns:
TaskConfigurator
for 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 defaultCapability
s of this plugin- Returns:
CapabilityDefaultsHelper
for thisTaskType
-
getCategories
- Returns:
- a list of
TaskCategory
s that this module belongs to
-
getTaskExecutables
- Returns:
- details for
TaskType
executable
-
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 theicon
to 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:
TaskDefinitionExporter
for this ModuleDescriptor- Since:
- 5.14
-