Enum RemoteNeo4jXOProvider.Property
- java.lang.Object
-
- java.lang.Enum<RemoteNeo4jXOProvider.Property>
-
- com.buschmais.xo.neo4j.remote.api.RemoteNeo4jXOProvider.Property
-
- All Implemented Interfaces:
com.buschmais.xo.spi.bootstrap.XODatastoreProvider.ConfigurationProperty,Serializable,Comparable<RemoteNeo4jXOProvider.Property>
- Enclosing class:
- RemoteNeo4jXOProvider
public static enum RemoteNeo4jXOProvider.Property extends Enum<RemoteNeo4jXOProvider.Property> implements com.buschmais.xo.spi.bootstrap.XODatastoreProvider.ConfigurationProperty
Defines the properties supported by this datastore.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCRYPTIONPASSWORDSTATEMENT_BATCHABLE_DEFAULTSTATEMENT_LOG_LEVELTRUST_CERTIFICATETRUST_STRATEGYUSERNAME
-
Field Summary
Fields Modifier and Type Field Description static StringNEO4J_REMOTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(Properties properties)StringgetKey()Class<?>getType()static RemoteNeo4jXOProvider.PropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static RemoteNeo4jXOProvider.Property[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USERNAME
public static final RemoteNeo4jXOProvider.Property USERNAME
-
PASSWORD
public static final RemoteNeo4jXOProvider.Property PASSWORD
-
ENCRYPTION
public static final RemoteNeo4jXOProvider.Property ENCRYPTION
-
TRUST_STRATEGY
public static final RemoteNeo4jXOProvider.Property TRUST_STRATEGY
-
TRUST_CERTIFICATE
public static final RemoteNeo4jXOProvider.Property TRUST_CERTIFICATE
-
STATEMENT_LOG_LEVEL
public static final RemoteNeo4jXOProvider.Property STATEMENT_LOG_LEVEL
-
STATEMENT_BATCHABLE_DEFAULT
public static final RemoteNeo4jXOProvider.Property STATEMENT_BATCHABLE_DEFAULT
-
-
Field Detail
-
NEO4J_REMOTE
public static final String NEO4J_REMOTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RemoteNeo4jXOProvider.Property[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RemoteNeo4jXOProvider.Property c : RemoteNeo4jXOProvider.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoteNeo4jXOProvider.Property valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
public String getKey()
- Specified by:
getKeyin interfacecom.buschmais.xo.spi.bootstrap.XODatastoreProvider.ConfigurationProperty
-
getType
public Class<?> getType()
- Specified by:
getTypein interfacecom.buschmais.xo.spi.bootstrap.XODatastoreProvider.ConfigurationProperty
-
get
public String get(Properties properties)
-
-