public final class TaskModuleDescriptorImpl extends AbstractBambooModuleDescriptor<InternalTaskType> implements TaskModuleDescriptor, Serializable
Constructor and Description |
---|
TaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
CapabilityDefaultsHelper |
getCapabilityDefaultsHelper()
Retrieves the instance responsible for detecting the default
Capability s of this plugin |
List<TaskCategory> |
getCategories() |
TaskHelpLink |
getHelpLink()
TaskHelpLink objects contain the i18n keys which can be used to find help urls for tasks
and their corresponding titles.
|
String |
getIcon2xUrl()
URL to a two-times larger version of the
icon to be used in the task browser for screens
with high resolution. |
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
|
TaskBackgroundProcessor |
getTaskBackgroundProcessor()
Optional agent side components allowing additional processing happening before and after the build.
|
TaskConfigurator |
getTaskConfigurator()
Retrieves the plugin class responsible fo handling user configuration of this plugin.
|
List<TaskExecutableType> |
getTaskExecutables() |
TaskDefinitionExporter |
getTaskExporter()
Retrieves the plugin class responsible for exporting of user configuration of this plugin.
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit
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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
getResourceDescriptor, getResourceDescriptors, getResourceLocation
getName
public TaskModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<InternalTaskType>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<InternalTaskType>
com.atlassian.plugin.PluginParseException
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class AbstractBambooModuleDescriptor<InternalTaskType>
public CapabilityDefaultsHelper getCapabilityDefaultsHelper()
TaskModuleDescriptor
Capability
s of this plugingetCapabilityDefaultsHelper
in interface TaskModuleDescriptor
CapabilityDefaultsHelper
for this TaskType
@Nullable public TaskConfigurator getTaskConfigurator()
TaskModuleDescriptor
getTaskConfigurator
in interface TaskModuleDescriptor
TaskConfigurator
for this TaskType@NotNull public List<TaskCategory> getCategories()
getCategories
in interface TaskModuleDescriptor
TaskCategory
s that this module belongs to@NotNull public List<TaskExecutableType> getTaskExecutables()
getTaskExecutables
in interface TaskModuleDescriptor
TaskType
executable@Nullable public String getIconUrl()
TaskModuleDescriptor
getIconUrl
in interface TaskModuleDescriptor
@Nullable public String getIcon2xUrl()
TaskModuleDescriptor
icon
to be used in the task browser for screens
with high resolution.getIcon2xUrl
in interface TaskModuleDescriptor
@Nullable public TaskHelpLink getHelpLink()
TaskModuleDescriptor
getHelpLink
in interface TaskModuleDescriptor
@Nullable public RuntimeTaskDataProvider getRuntimeTaskDataProvider()
TaskModuleDescriptor
getRuntimeTaskDataProvider
in interface TaskModuleDescriptor
@Nullable public TaskBackgroundProcessor getTaskBackgroundProcessor()
TaskModuleDescriptor
getTaskBackgroundProcessor
in interface TaskModuleDescriptor
@NotNull public TaskDefinitionExporter getTaskExporter()
TaskModuleDescriptor
getTaskExporter
in interface TaskModuleDescriptor
TaskDefinitionExporter
for this ModuleDescriptorCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.