com.atlassian.bamboo.capability
Class DefaultCapabilityConfigurationManager

java.lang.Object
  extended by com.atlassian.bamboo.capability.DefaultCapabilityConfigurationManager
All Implemented Interfaces:
CapabilityConfigurationManager

public class DefaultCapabilityConfigurationManager
extends java.lang.Object
implements CapabilityConfigurationManager


Constructor Summary
DefaultCapabilityConfigurationManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 
Method Summary
 org.apache.commons.configuration.Configuration getConfiguration(java.lang.String capabilityKey)
          Get the Configuration object associated with the capability key.
 void setConfiguration(java.lang.String capabilityKey, org.apache.commons.configuration.Configuration configuration)
          Associate CapabilityConfiguration with the capability key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCapabilityConfigurationManager

public DefaultCapabilityConfigurationManager(com.atlassian.bandana.BandanaManager bandanaManager)
Method Detail

getConfiguration

@NotNull
public org.apache.commons.configuration.Configuration getConfiguration(@NotNull
                                                                               java.lang.String capabilityKey)
Description copied from interface: CapabilityConfigurationManager
Get the Configuration object associated with the capability key.

Specified by:
getConfiguration in interface CapabilityConfigurationManager
Parameters:
capabilityKey - Capability's key
Returns:
Configuration object associated with the key or empty configuration object.

setConfiguration

public void setConfiguration(@NotNull
                             java.lang.String capabilityKey,
                             @NotNull
                             org.apache.commons.configuration.Configuration configuration)
Description copied from interface: CapabilityConfigurationManager
Associate CapabilityConfiguration with the capability key.

Specified by:
setConfiguration in interface CapabilityConfigurationManager
Parameters:
capabilityKey - capability key
configuration - Configuration object to be associated with the key


Copyright © 2010 Atlassian. All Rights Reserved.