Class Maven2CapabilityConfigurator
- java.lang.Object
-
- com.atlassian.bamboo.capability.AbstractCapabilityConfiguratorPluginModule
-
- com.atlassian.bamboo.plugins.maven.Maven2CapabilityConfigurator
-
- All Implemented Interfaces:
CapabilityConfiguratorPluginModule
,InitablePluginModule
,BambooPluginModule
public class Maven2CapabilityConfigurator extends AbstractCapabilityConfiguratorPluginModule
-
-
Constructor Summary
Constructors Constructor Description Maven2CapabilityConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customizeConfiguration(@NotNull org.apache.commons.configuration.Configuration configuration, @NotNull ActionParametersMap parameters)
Customize capability configuration from action parameters.protected void
populateContext(@NotNull Map<String,Object> context, @NotNull org.apache.commons.configuration.Configuration configuration)
boolean
providesEdit(@NotNull String capabilityKey)
Provide information if capability's configuration can be edited by this module.boolean
providesView(@NotNull String capabilityKey)
Provide information if capability's configuration can be viewed by this module.-
Methods inherited from class com.atlassian.bamboo.capability.AbstractCapabilityConfiguratorPluginModule
getEditHtml, getTemplateRenderer, getViewHtml, init, setTemplateRenderer
-
-
-
-
Method Detail
-
providesEdit
public boolean providesEdit(@NotNull @NotNull String capabilityKey)
Description copied from interface:CapabilityConfiguratorPluginModule
Provide information if capability's configuration can be edited by this module.- Parameters:
capabilityKey
-Capability
key to be verified- Returns:
- True if configuration for capability can be edited with this module, false otherwise.
-
providesView
public boolean providesView(@NotNull @NotNull String capabilityKey)
Description copied from interface:CapabilityConfiguratorPluginModule
Provide information if capability's configuration can be viewed by this module.- Parameters:
capabilityKey
-Capability
key to be verified- Returns:
- True if configuration for capability can be viewed with this module, false otherwise.
-
customizeConfiguration
public void customizeConfiguration(@NotNull @NotNull org.apache.commons.configuration.Configuration configuration, @NotNull @NotNull ActionParametersMap parameters)
Description copied from interface:CapabilityConfiguratorPluginModule
Customize capability configuration from action parameters.- Parameters:
configuration
-Configuration
objectparameters
- Action parameters
-
populateContext
protected void populateContext(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull org.apache.commons.configuration.Configuration configuration)
- Specified by:
populateContext
in classAbstractCapabilityConfiguratorPluginModule
-
-