com.atlassian.bamboo.capability
Class AbstractCapabilityConfiguratorPluginModule

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

public abstract class AbstractCapabilityConfiguratorPluginModule
extends java.lang.Object
implements CapabilityConfiguratorPluginModule


Constructor Summary
AbstractCapabilityConfiguratorPluginModule()
           
 
Method Summary
 java.lang.String getEditHtml(org.apache.commons.configuration.Configuration configuration)
          Get edit HTML for capability configuration.
 TemplateRenderer getTemplateRenderer()
           
 java.lang.String getViewHtml(org.apache.commons.configuration.Configuration configuration)
          Get view HTML for capability configuration.
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
          Initialises the Plugin with the plugin module descriptor
protected abstract  void populateContext(java.util.Map<java.lang.String,java.lang.Object> context, org.apache.commons.configuration.Configuration configuration)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 
Methods 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 Detail

AbstractCapabilityConfiguratorPluginModule

public AbstractCapabilityConfiguratorPluginModule()
Method Detail

init

public void init(@NotNull
                 com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
Description copied from interface: InitablePluginModule
Initialises the Plugin with the plugin module descriptor

Specified by:
init in interface InitablePluginModule
Parameters:
moduleDescriptor - Plugin module descriptor

getEditHtml

@NotNull
public java.lang.String getEditHtml(@NotNull
                                            org.apache.commons.configuration.Configuration configuration)
Description copied from interface: CapabilityConfiguratorPluginModule
Get edit HTML for capability configuration.

Specified by:
getEditHtml in interface CapabilityConfiguratorPluginModule
Parameters:
configuration - Configuration object
Returns:
HTML snippet

getViewHtml

@NotNull
public java.lang.String getViewHtml(@NotNull
                                            org.apache.commons.configuration.Configuration configuration)
Description copied from interface: CapabilityConfiguratorPluginModule
Get view HTML for capability configuration.

Specified by:
getViewHtml in interface CapabilityConfiguratorPluginModule
Parameters:
configuration - Configuration object
Returns:
HTML snippet

populateContext

protected abstract void populateContext(@NotNull
                                        java.util.Map<java.lang.String,java.lang.Object> context,
                                        @NotNull
                                        org.apache.commons.configuration.Configuration configuration)

getTemplateRenderer

public TemplateRenderer getTemplateRenderer()

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)


Copyright © 2010 Atlassian. All Rights Reserved.