use of com.buschmais.jqassistant.neo4j.backend.bootstrap.EmbeddedNeo4jConfiguration in project jqa-maven-plugin by jQAssistant.
the class AbstractMojo method getEmbeddedNeo4jConfiguration.
/**
* Create the configuration for the embedded server.
*/
private EmbeddedNeo4jConfiguration getEmbeddedNeo4jConfiguration() {
EmbeddedNeo4jConfiguration embedded = store.getEmbedded();
EmbeddedNeo4jConfiguration.EmbeddedNeo4jConfigurationBuilder builder = EmbeddedNeo4jConfiguration.builder();
builder.connectorEnabled(embedded.isConnectorEnabled() || isConnectorRequired());
builder.listenAddress(coalesce(embeddedListenAddress, embedded.getListenAddress()));
builder.boltPort(coalesce(embeddedBoltPort, embedded.getBoltPort()));
builder.httpPort(coalesce(embeddedHttpPort, embedded.getHttpPort()));
return builder.build();
}
Aggregations