Class TaskModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<InternalTaskType>
com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl
- All Implemented Interfaces:
TaskModuleDescriptor,NameProvider,com.atlassian.plugin.ModuleDescriptor<InternalTaskType>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,Serializable
public final class TaskModuleDescriptorImpl
extends AbstractBambooModuleDescriptor<InternalTaskType>
implements TaskModuleDescriptor, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
AbstractBambooModuleDescriptor.ClassNameSource, AbstractBambooModuleDescriptor.ModuleAvailability -
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
CLASSFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionTaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisabled()Retrieves 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.@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>@NotNull TaskDefinitionExporterRetrieves the plugin class responsible for exporting of user configuration of this plugin.voidinit(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit, prepareSubModuleConfiguration, prepareSubModuleConfigurationMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, 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
-
Field Details
-
PLUGIN_TYPE
- See Also:
-
-
Constructor Details
-
TaskModuleDescriptorImpl
public TaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<InternalTaskType>- Overrides:
initin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<InternalTaskType>- Throws:
com.atlassian.plugin.PluginParseException
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classAbstractBambooModuleDescriptor<InternalTaskType>
-
getCapabilityDefaultsHelper
Description copied from interface:TaskModuleDescriptorRetrieves the instance responsible for detecting the defaultCapabilitys of this plugin- Specified by:
getCapabilityDefaultsHelperin interfaceTaskModuleDescriptor- Returns:
CapabilityDefaultsHelperfor thisTaskType
-
getTaskConfigurator
Description copied from interface:TaskModuleDescriptorRetrieves the plugin class responsible fo handling user configuration of this plugin.- Specified by:
getTaskConfiguratorin interfaceTaskModuleDescriptor- Returns:
TaskConfiguratorfor this TaskType
-
getCategories
- Specified by:
getCategoriesin interfaceTaskModuleDescriptor- Returns:
- a list of
TaskCategorys that this module belongs to
-
getTaskExecutables
- Specified by:
getTaskExecutablesin interfaceTaskModuleDescriptor- Returns:
- details for
TaskTypeexecutable
-
getIconUrl
Description copied from interface:TaskModuleDescriptorURL to the icon to be used in the Task browser- Specified by:
getIconUrlin interfaceTaskModuleDescriptor- Returns:
- url to the resource named 'icon' with the type 'download'
-
getIcon2xUrl
Description copied from interface:TaskModuleDescriptorURL to a two-times larger version of theiconto be used in the task browser for screens with high resolution.- Specified by:
getIcon2xUrlin interfaceTaskModuleDescriptor- Returns:
- url to the resource named 'icon@2x' with the type 'download'
-
getHelpLink
Description copied from interface:TaskModuleDescriptorTaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks and their corresponding titles.- Specified by:
getHelpLinkin interfaceTaskModuleDescriptor- Returns:
- TaskHelpLink object
-
getRuntimeTaskDataProvider
Description copied from interface:TaskModuleDescriptorOptional server side component allowing inject runtime parameters for task- Specified by:
getRuntimeTaskDataProviderin interfaceTaskModuleDescriptor- Returns:
-
getTaskBackgroundProcessor
Description copied from interface:TaskModuleDescriptorOptional agent side components allowing additional processing happening before and after the build.- Specified by:
getTaskBackgroundProcessorin interfaceTaskModuleDescriptor- Returns:
-
getTaskExporter
Description copied from interface:TaskModuleDescriptorRetrieves the plugin class responsible for exporting of user configuration of this plugin.- Specified by:
getTaskExporterin interfaceTaskModuleDescriptor- Returns:
TaskDefinitionExporterfor this ModuleDescriptor
-