BootstrapConfig¶
- public class BootstrapConfig¶
Represents the bootstrap configuration object. It is composed of:
- DBConfig - represents the database related bootstrap object.
- Tenant ID - represents the identifier of the tenant.
- Configuration source - represents the source of configuration (FILE / UI).
Fields¶
Constructors¶
BootstrapConfig¶
- public BootstrapConfig(DBConfig couchDbConfig, SQLDBConfig sqlConfig, String tenantId, ConfigSource configSource)¶
Parameters: - couchDbConfig –
- sqlConfig –
- tenantId –
- configSource –
Throws: - org.motechproject.config.core.MotechConfigurationException – if dbConfig is null.
Methods¶
getConfigSource¶
- public ConfigSource getConfigSource()¶
getSqlConfig¶
- public SQLDBConfig getSqlConfig()¶