Interface CapabilityConfigurationManager

All Known Implementing Classes:
DefaultCapabilityConfigurationManager

@PublicApi public interface CapabilityConfigurationManager
Manager for retrieving/storing configuration associated with Capability. Configuration object can be associated with a capability key.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.apache.commons.configuration.Configuration
    getConfiguration(@NotNull String capabilityKey)
    Get the Configuration object associated with the capability key.
    void
    setConfiguration(@NotNull String capabilityKey, @NotNull org.apache.commons.configuration.Configuration configuration)
    Associate CapabilityConfiguration with the capability key.
  • Method Details

    • getConfiguration

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