src/definition/domain/container.js
function setDomains(newDomains) {
    if (!isObject(newDomains)) {
        throw new InvalidException('newDomains should be an object', newDomains);
    }
    domainsMap = domainsMap.merge(newDomains);
}
function setDomains(newDomains) {
    if (!isObject(newDomains)) {
        throw new InvalidException('newDomains should be an object', newDomains);
    }
    domainsMap = domainsMap.merge(newDomains);
}
function setDomains ( newDomains ) { if ( ! isObject ( newDomains ) ) { throw new InvalidException ( 'newDomains should be an object' , newDomains ) ; } domainsMap = domainsMap . merge ( newDomains ) ; }
Set new domains.
@param {object} newDomains - New domains to set.
à
Set new domains .