public enum RepositoryType extends Enum<RepositoryType>
Enum Constant and Description |
---|
CASSANDRA |
COUCHBASE |
COUCHDB |
JDBC |
JPA |
Modifier and Type | Method and Description |
---|---|
static RepositoryType |
get(String s)
Return the type of repository, default is JDBC
|
static RepositoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryType JDBC
public static final RepositoryType JPA
public static final RepositoryType CASSANDRA
public static final RepositoryType COUCHDB
public static final RepositoryType COUCHBASE
public static RepositoryType[] values()
for (RepositoryType c : RepositoryType.values()) System.out.println(c);
public static RepositoryType 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 RepositoryType get(String s)
s
- enumeration name of the types
or JDBC as default.Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.