Class DefaultCapabilityConfigurationManager

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

public class DefaultCapabilityConfigurationManager extends Object implements CapabilityConfigurationManager
  • Field Details

    • BANDANA_KEY_PREFIX

      public static final String BANDANA_KEY_PREFIX
  • Constructor Details

    • DefaultCapabilityConfigurationManager

      public DefaultCapabilityConfigurationManager(com.atlassian.bandana.BandanaManager bandanaManager)
  • Method Details

    • getConfiguration

      @NotNull public @NotNull org.apache.commons.configuration.Configuration getConfiguration(@NotNull @NotNull 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 @NotNull String capabilityKey, @NotNull @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