com.atlassian.bamboo.plugin.descriptor
Class TaskModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<InternalTaskType>
          extended by com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl
All Implemented Interfaces:
TaskModuleDescriptor, NameProvider, com.atlassian.plugin.ModuleDescriptor<InternalTaskType>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, java.io.Serializable

public final class TaskModuleDescriptorImpl
extends AbstractBambooModuleDescriptor<InternalTaskType>
implements TaskModuleDescriptor, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton
 
Constructor Summary
TaskModuleDescriptorImpl()
          Needed for AbstractModuleDescriptors that require a default constructor.
TaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 CapabilityDefaultsHelper getCapabilityDefaultsHelper()
          Retrieves the instance responsible for detecting the default Capabilitys of this plugin
 java.util.List<TaskCategory> getCategories()
           
 java.lang.String getIconUrl()
          URL to the icon to be used in the Task browser
 RuntimeTaskDataProvider getRuntimeTaskDataProvider()
          Optional server side component allowing inject runtime parameters for task
 TaskConfigurator getTaskConfigurator()
          Retrieves the plugin class responsible fo handling user configuration of this plugin.
 java.util.List<TaskExecutableType> getTaskExecutables()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, isMutable, postInit, preInit
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
 

Constructor Detail

TaskModuleDescriptorImpl

public TaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)

TaskModuleDescriptorImpl

public TaskModuleDescriptorImpl()
Needed for AbstractModuleDescriptors that require a default constructor.

Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<InternalTaskType>
Overrides:
init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<InternalTaskType>
Throws:
com.atlassian.plugin.PluginParseException

getCapabilityDefaultsHelper

public CapabilityDefaultsHelper getCapabilityDefaultsHelper()
Description copied from interface: TaskModuleDescriptor
Retrieves the instance responsible for detecting the default Capabilitys of this plugin

Specified by:
getCapabilityDefaultsHelper in interface TaskModuleDescriptor
Returns:
CapabilityDefaultsHelper for this TaskType

getTaskConfigurator

@Nullable
public TaskConfigurator getTaskConfigurator()
Description copied from interface: TaskModuleDescriptor
Retrieves the plugin class responsible fo handling user configuration of this plugin.

Specified by:
getTaskConfigurator in interface TaskModuleDescriptor
Returns:
TaskConfigurator for this TaskType

getCategories

@NotNull
public java.util.List<TaskCategory> getCategories()
Specified by:
getCategories in interface TaskModuleDescriptor
Returns:
a list of TaskCategorys that this module belongs to

getTaskExecutables

@NotNull
public java.util.List<TaskExecutableType> getTaskExecutables()
Specified by:
getTaskExecutables in interface TaskModuleDescriptor
Returns:
details for TaskType executable

getIconUrl

public java.lang.String getIconUrl()
Description copied from interface: TaskModuleDescriptor
URL to the icon to be used in the Task browser

Specified by:
getIconUrl in interface TaskModuleDescriptor
Returns:
url to the resource named 'icon' with the type 'download'

getRuntimeTaskDataProvider

@Nullable
public RuntimeTaskDataProvider getRuntimeTaskDataProvider()
Description copied from interface: TaskModuleDescriptor
Optional server side component allowing inject runtime parameters for task

Specified by:
getRuntimeTaskDataProvider in interface TaskModuleDescriptor
Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.