public static enum DatabaseHosting.Mode extends Enum<DatabaseHosting.Mode>
| Enum Constant and Description |
|---|
EXTERNAL
A database where the user has explicitly specified a disk location for the database files.
|
MANAGED
A database where the user has asked the server to provide a database and handle the files for it.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseHosting.Mode |
fromString(String mode) |
static DatabaseHosting.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseHosting.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseHosting.Mode EXTERNAL
public static final DatabaseHosting.Mode MANAGED
public static DatabaseHosting.Mode[] values()
for (DatabaseHosting.Mode c : DatabaseHosting.Mode.values()) System.out.println(c);
public static DatabaseHosting.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static DatabaseHosting.Mode fromString(String mode)
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.