Class CompositeConfiguration
- java.lang.Object
-
- io.smallrye.stork.servicediscovery.composite.CompositeConfiguration
-
- All Implemented Interfaces:
io.smallrye.stork.api.config.ConfigWithType
public class CompositeConfiguration extends Object implements io.smallrye.stork.api.config.ConfigWithType
Configuration for theCompositeServiceDiscoveryProviderServiceDiscovery.
-
-
Constructor Summary
Constructors Constructor Description CompositeConfiguration()Creates a new CompositeConfigurationCompositeConfiguration(Map<String,String> params)Creates a new CompositeConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServices()A comma-separated list of services that this services consists of.Map<String,String>parameters()Stringtype()CompositeConfigurationwithServices(String value)Set the 'services' attribute.
-
-
-
Method Detail
-
type
public String type()
- Specified by:
typein interfaceio.smallrye.stork.api.config.ConfigWithType- Returns:
- the type
-
parameters
public Map<String,String> parameters()
- Specified by:
parametersin interfaceio.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
-
-