import(data, force = false, overwrite = false) {
        let isEmpty = null;
        for (let i in data) {
            if (this[i] !== undefined || force) {
                if ((this[i] != null && overwrite) || this[i] == null) {
                    this[i] = data[i];
                } else {
                    Logger.error("[Configuration::import] The property '", i, '" cannot be overwrote.');
                }
            } else if (!force) {
                Logger.error("[Configuration::import] The property '", i, '" not exists.');
            }
        }

        if(typeof this.web_port == "string"){
            this.web_port = parseInt(this.web_port, 10);
        }

        this.autocomplete();

        for (let i in this.platform_available) {
            this.platform_available[i] = new Platform(this.platform_available[i], Path.join( __dirname, "..", "APIs"));
        }

        this.ready = true;

        return true;
    }
/**
     *  To import a configuration.
     * 
     *  @param {Object}     data    Configuration data
     *  @param {Boolean}    force   Force not existing properties to be created
     *  @param {Boolean}    overwrite   Override properties already setted
     *  @function
     */
To import a configuration.

@param {Object}     data    Configuration data
@param {Boolean}    force   Force not existing properties to be created
@param {Boolean}    overwrite   Override properties already setted
@function
To import a configuration . @param { Object } data Configuration data @param { Boolean } force Force not existing properties to be created @param { Boolean } overwrite Override properties already setted @function
import(data, force = false, overwrite = false) {
        let isEmpty = null;
        for (let i in data) {
            if (this[i] !== undefined || force) {
                if ((this[i] != null && overwrite) || this[i] == null) {
                    this[i] = data[i];
                } else {
                    Logger.error("[Configuration::import] The property '", i, '" cannot be overwrote.');
                }
            } else if (!force) {
                Logger.error("[Configuration::import] The property '", i, '" not exists.');
            }
        }
        if(typeof this.web_port == "string"){
            this.web_port = parseInt(this.web_port, 10);
        }
        this.autocomplete();
        for (let i in this.platform_available) {
            this.platform_available[i] = new Platform(this.platform_available[i], Path.join( __dirname, "..", "APIs"));
        }
        this.ready = true;
        return true;
    }
import ( data , force = false , overwrite = false ) { let isEmpty = null ; for ( let i in data ) { if ( this [ i ] !== undefined || force ) { if ( ( this [ i ] != null && overwrite ) || this [ i ] == null ) { this [ i ] = data [ i ] ; } else { Logger . error ( "[Configuration::import] The property '" , i , '" cannot be overwrote.' ) ; } } else if ( ! force ) { Logger . error ( "[Configuration::import] The property '" , i , '" not exists.' ) ; } } if ( typeof this . web_port == "string" ) { this . web_port = parseInt ( this . web_port , 10 ) ; } this . autocomplete ( ) ; for ( let i in this . platform_available ) { this . platform_available [ i ] = new Platform ( this . platform_available [ i ] , Path . join ( __dirname , ".." , "APIs" ) ) ; } this . ready = true ; return true ; }
To import a configuration.
To import a configuration .