Class ServiceConfigurationFactory
java.lang.Object
com.palantir.conjure.java.api.config.service.ServiceConfigurationFactory
Given a
ServicesConfigBlock, populates ServiceConfiguration instances for configured services.-
Method Summary
Modifier and TypeMethodDescriptionReturns theServiceConfigurationfor the given name.getAll()Returns allServiceConfigurations.booleanChecks if a service is enabled, i.e., if the configuredservicescontains a service configuration of the given name, and the configuration has at least oneURI.static ServiceConfigurationFactoryof(ServicesConfigBlock services) Constructs a factory for a fixed ServicesConfigBlock.
-
Method Details
-
of
Constructs a factory for a fixed ServicesConfigBlock. -
get
Returns theServiceConfigurationfor the given name. -
getAll
Returns allServiceConfigurations. -
isEnabled
-