private EmbeddedNeo4jConfiguration getEmbeddedNeo4jConfiguration() {
        OptionHelper.verifyDeprecatedOption(PARAMETER_SERVER_ADDRESS, this.serverAddress, PARAMETER_EMBEDDED_LISTEN_ADDRESS);
        OptionHelper.verifyDeprecatedOption(PARAMETER_SERVER_PORT, this.serverPort, PARAMETER_EMBEDDED_HTTP_PORT);
        EmbeddedNeo4jConfiguration embedded = store.getEmbedded();
        EmbeddedNeo4jConfiguration.EmbeddedNeo4jConfigurationBuilder builder = EmbeddedNeo4jConfiguration.builder();
        builder.connectorEnabled(embedded.isConnectorEnabled() || isConnectorRequired());
        builder.listenAddress(OptionHelper.selectValue(embedded.getListenAddress(), this.serverAddress, embeddedListenAddress));
        builder.boltPort(OptionHelper.selectValue(embedded.getBoltPort(), embeddedBoltPort));
        builder.httpPort(OptionHelper.selectValue(embedded.getHttpPort(), this.serverPort, embeddedHttpPort));
        builder.apocEnabled(OptionHelper.selectValue(embedded.isApocEnabled(), this.apocEnabled));
        builder.graphAlgorithmsEnabled(OptionHelper.selectValue(embedded.isGraphAlgorithmsEnabled(), this.graphAlgorithmsEnabled));
        return builder.build();
    }
private EmbeddedNeo4jConfiguration getEmbeddedNeo4jConfiguration ( ) { OptionHelper . verifyDeprecatedOption ( PARAMETER_SERVER_ADDRESS , this . serverAddress , PARAMETER_EMBEDDED_LISTEN_ADDRESS ) ; OptionHelper . verifyDeprecatedOption ( PARAMETER_SERVER_PORT , this . serverPort , PARAMETER_EMBEDDED_HTTP_PORT ) ; EmbeddedNeo4jConfiguration embedded = store . getEmbedded ( ) ; EmbeddedNeo4jConfiguration . EmbeddedNeo4jConfigurationBuilder builder = EmbeddedNeo4jConfiguration . builder ( ) ; builder . connectorEnabled ( embedded . isConnectorEnabled ( ) || isConnectorRequired ( ) ) ; builder . listenAddress ( OptionHelper . selectValue ( embedded . getListenAddress ( ) , this . serverAddress , embeddedListenAddress ) ) ; builder . boltPort ( OptionHelper . selectValue ( embedded . getBoltPort ( ) , embeddedBoltPort ) ) ; builder . httpPort ( OptionHelper . selectValue ( embedded . getHttpPort ( ) , this . serverPort , embeddedHttpPort ) ) ; builder . apocEnabled ( OptionHelper . selectValue ( embedded . isApocEnabled ( ) , this . apocEnabled ) ) ; builder . graphAlgorithmsEnabled ( OptionHelper . selectValue ( embedded . isGraphAlgorithmsEnabled ( ) , this . graphAlgorithmsEnabled ) ) ; return builder . build ( ) ; }
Create the configuration for the embedded server.