Package com.atlassian.bamboo.capability
Class AbstractCapabilityConfiguratorPluginModule
java.lang.Object
com.atlassian.bamboo.capability.AbstractCapabilityConfiguratorPluginModule
- All Implemented Interfaces:
CapabilityConfiguratorPluginModule
,InitablePluginModule
,BambooPluginModule
- Direct Known Subclasses:
Maven2CapabilityConfigurator
public abstract class AbstractCapabilityConfiguratorPluginModule
extends Object
implements CapabilityConfiguratorPluginModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
getEditHtml
(@NotNull org.apache.commons.configuration.Configuration configuration) Get edit HTML for capability configuration.@NotNull String
getViewHtml
(@NotNull org.apache.commons.configuration.Configuration configuration) Get view HTML for capability configuration.void
init
(@NotNull com.atlassian.plugin.ModuleDescriptor moduleDescriptor) Initialises the Plugin with the plugin module descriptorprotected abstract void
populateContext
(@NotNull Map<String, Object> context, @NotNull org.apache.commons.configuration.Configuration configuration) void
setTemplateRenderer
(TemplateRenderer templateRenderer) Deprecated.since 6.8 use constructor injection or annotation injectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.capability.CapabilityConfiguratorPluginModule
customizeConfiguration, providesEdit, providesView
-
Constructor Details
-
AbstractCapabilityConfiguratorPluginModule
public AbstractCapabilityConfiguratorPluginModule()
-
-
Method Details
-
init
public void init(@NotNull @NotNull com.atlassian.plugin.ModuleDescriptor moduleDescriptor) Description copied from interface:InitablePluginModule
Initialises the Plugin with the plugin module descriptor- Specified by:
init
in interfaceInitablePluginModule
- Parameters:
moduleDescriptor
- Plugin module descriptor
-
getEditHtml
@NotNull public @NotNull String getEditHtml(@NotNull @NotNull org.apache.commons.configuration.Configuration configuration) Description copied from interface:CapabilityConfiguratorPluginModule
Get edit HTML for capability configuration.- Specified by:
getEditHtml
in interfaceCapabilityConfiguratorPluginModule
- Parameters:
configuration
-Configuration
object- Returns:
- HTML snippet
-
getViewHtml
@NotNull public @NotNull String getViewHtml(@NotNull @NotNull org.apache.commons.configuration.Configuration configuration) Description copied from interface:CapabilityConfiguratorPluginModule
Get view HTML for capability configuration.- Specified by:
getViewHtml
in interfaceCapabilityConfiguratorPluginModule
- Parameters:
configuration
-Configuration
object- Returns:
- HTML snippet
-
populateContext
-
getTemplateRenderer
-
setTemplateRenderer
Deprecated.since 6.8 use constructor injection or annotation injection
-