@ConfigurationProperties(value="embedded") public static class Neo4jBoltConfiguration.Neo4jEmbeddedSettings extends Object implements Toggleable
| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_DROPDATA
The default drop data value. 
 | 
static boolean | 
DEFAULT_ENABLED
The default enable value. 
 | 
static boolean | 
DEFAULT_EPHEMERAL
The default ephemeral value. 
 | 
| Constructor and Description | 
|---|
Neo4jEmbeddedSettings()  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<String> | 
getDirectory()  | 
Map<String,Object> | 
getOptions()  | 
boolean | 
isDropData()  | 
boolean | 
isEnabled()  | 
boolean | 
isEphemeral()  | 
void | 
setDirectory(String directory)  | 
void | 
setDropData(boolean dropData)
Default value (false). 
 | 
void | 
setEnabled(boolean enabled)
Default value (true). 
 | 
void | 
setEphemeral(boolean ephemeral)
Default value (false). 
 | 
void | 
setOptions(Map<String,Object> options)  | 
public static final boolean DEFAULT_ENABLED
public static final boolean DEFAULT_EPHEMERAL
public static final boolean DEFAULT_DROPDATA
public boolean isEnabled()
isEnabled in interface Toggleablepublic void setEnabled(boolean enabled)
enabled - enable the serverpublic void setOptions(Map<String,Object> options)
options - The options to pass to the embedded serverpublic void setDirectory(String directory)
directory - The directorypublic boolean isDropData()
public void setDropData(boolean dropData)
dropData - drop the existing datapublic boolean isEphemeral()
public void setEphemeral(boolean ephemeral)
ephemeral - define the embedded ser as ephemeral