com.atlassian.bamboo.v2.build.agent.capability
Interface CapabilityConfigurationManager


public interface CapabilityConfigurationManager

Manager for retrieving/storing configuration associated with Capability. Configuration object can be associated with a capability key.


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.
 

Method Detail

getConfiguration

@NotNull
org.apache.commons.configuration.Configuration getConfiguration(@NotNull
                                                                        java.lang.String capabilityKey)
Get the Configuration object associated with the capability key.

Parameters:
capabilityKey - Capability's key
Returns:
Configuration object associated with the key or empty configuration object.

setConfiguration

void setConfiguration(@NotNull
                      java.lang.String capabilityKey,
                      @NotNull
                      org.apache.commons.configuration.Configuration configuration)
Associate CapabilityConfiguration with the capability key.

Parameters:
capabilityKey - capability key
configuration - Configuration object to be associated with the key


Copyright © 2011 Atlassian. All Rights Reserved.