Uses of Class
org.pipservices3.commons.config.ConfigParams
Package
Description
-
Uses of ConfigParams in org.pipservices3.commons.config
Modifier and TypeMethodDescriptionstatic ConfigParams
ConfigParams.fromString
(String line) Creates a new ConfigParams object filled with key-value pairs serialized as a string.static ConfigParams
ConfigParams.fromTuples
(Object... tuples) Creates a new ConfigParams object filled with provided key-value pairs called tuples.static ConfigParams
Creates a new ConfigParams object filled with key-value pairs from specified object.ConfigParams.getSection
(String section) Gets parameters from specific section stored in this ConfigMap.static ConfigParams
ConfigParams.mergeConfigs
(ConfigParams... configs) Merges two or more ConfigParams into one.ConfigParams.override
(ConfigParams configParams) Overrides parameters with new values from specified ConfigParams and returns a new ConfigParams object.static ConfigParams
OptionResolver.resolve
(ConfigParams config, boolean configAsDefault) Resolves an "options" configuration section from component configuration parameters.ConfigParams.setDefaults
(ConfigParams defaultConfigParams) Set default values from specified ConfigParams and returns a new ConfigParams object.Modifier and TypeMethodDescriptionvoid
ConfigParams.addSection
(String section, ConfigParams sectionParams) Adds parameters into this ConfigParams under specified section.void
IConfigurable.configure
(ConfigParams config) Configures object by passing configuration parameters.static ConfigParams
ConfigParams.mergeConfigs
(ConfigParams... configs) Merges two or more ConfigParams into one.ConfigParams.override
(ConfigParams configParams) Overrides parameters with new values from specified ConfigParams and returns a new ConfigParams object.static String
NameResolver.resolve
(ConfigParams config, String defaultName) Resolves a component name from configuration parameters.static ConfigParams
OptionResolver.resolve
(ConfigParams config, boolean configAsDefault) Resolves an "options" configuration section from component configuration parameters.ConfigParams.setDefaults
(ConfigParams defaultConfigParams) Set default values from specified ConfigParams and returns a new ConfigParams object. -
Uses of ConfigParams in org.pipservices3.commons.refer
Modifier and TypeMethodDescriptionvoid
DependencyResolver.configure
(ConfigParams config) Configures the component with specified parameters.ModifierConstructorDescriptionDependencyResolver
(ConfigParams config) Creates a new instance of the dependency resolver. -
Uses of ConfigParams in org.pipservices3.commons.run
Modifier and TypeMethodDescriptionstatic Parameters
Parameters.fromConfig
(ConfigParams config) Creates new Parameters from ConfigMap object.