com.atlassian.bamboo.builder.maven
Class Maven2CapabilityConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.capability.AbstractCapabilityConfiguratorPluginModule
      extended by com.atlassian.bamboo.builder.maven.Maven2CapabilityConfigurator
All Implemented Interfaces:
CapabilityConfiguratorPluginModule, InitablePluginModule, BambooPluginModule

public class Maven2CapabilityConfigurator
extends AbstractCapabilityConfiguratorPluginModule


Constructor Summary
Maven2CapabilityConfigurator()
           
 
Method Summary
 void customizeConfiguration(org.apache.commons.configuration.Configuration configuration, ActionParametersMap parameters)
          Customize capability configuration from action parameters.
protected  void populateContext(java.util.Map<java.lang.String,java.lang.Object> context, org.apache.commons.configuration.Configuration configuration)
           
 boolean providesEdit(java.lang.String capabilityKey)
          Provide information if capability's configuration can be edited by this module.
 boolean providesView(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maven2CapabilityConfigurator

public Maven2CapabilityConfigurator()
Method Detail

providesEdit

public boolean providesEdit(@NotNull
                            java.lang.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
                            java.lang.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
                                   org.apache.commons.configuration.Configuration configuration,
                                   @NotNull
                                   ActionParametersMap parameters)
Description copied from interface: CapabilityConfiguratorPluginModule
Customize capability configuration from action parameters.

Parameters:
configuration - Configuration object
parameters - Action parameters

populateContext

protected void populateContext(@NotNull
                               java.util.Map<java.lang.String,java.lang.Object> context,
                               @NotNull
                               org.apache.commons.configuration.Configuration configuration)
Specified by:
populateContext in class AbstractCapabilityConfiguratorPluginModule


Copyright © 2011 Atlassian. All Rights Reserved.