public enum DatabaseKind extends java.lang.Enum<DatabaseKind>
Enum Constant and Description |
---|
FINAL |
JOB |
MODULES |
SCHEMAS |
STAGING |
TRACE |
TRIGGERS |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getName(DatabaseKind databaseKind)
Validates the MarkLogic server to ensure compatibility with the hub
|
static DatabaseKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseKind STAGING
public static final DatabaseKind FINAL
public static final DatabaseKind JOB
public static final DatabaseKind TRACE
public static final DatabaseKind SCHEMAS
public static final DatabaseKind TRIGGERS
public static final DatabaseKind MODULES
public static DatabaseKind[] values()
for (DatabaseKind c : DatabaseKind.values()) System.out.println(c);
public static DatabaseKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.String getName(DatabaseKind databaseKind)
databaseKind
- - the enum for the type of databaseInvalidDBOperationError
- if the database kind is not found in enumeration