Class CompositeConfiguration

  • All Implemented Interfaces:
    io.smallrye.stork.api.config.ConfigWithType

    public class CompositeConfiguration
    extends Object
    implements io.smallrye.stork.api.config.ConfigWithType
    Configuration for the CompositeServiceDiscoveryProvider ServiceDiscovery.
    • Constructor Detail

      • CompositeConfiguration

        public CompositeConfiguration​(Map<String,​String> params)
        Creates a new CompositeConfiguration
        Parameters:
        params - the parameters, must not be null
      • CompositeConfiguration

        public CompositeConfiguration()
        Creates a new CompositeConfiguration
    • Method Detail

      • type

        public String type()
        Specified by:
        type in interface io.smallrye.stork.api.config.ConfigWithType
        Returns:
        the type
      • parameters

        public Map<String,​String> parameters()
        Specified by:
        parameters in interface io.smallrye.stork.api.config.ConfigWithType
        Returns:
        the parameters
      • getServices

        public String getServices()
        A comma-separated list of services that this services consists of.
        Returns:
        the configured services, @{code null} if not set
      • withServices

        public CompositeConfiguration withServices​(String value)
        Set the 'services' attribute.
        Parameters:
        value - the value for services
        Returns:
        the current CompositeConfiguration to chain calls