public enum DatabaseKind extends java.lang.Enum<DatabaseKind>
Enum Constant and Description |
---|
FINAL |
FINAL_MODULES
Deprecated.
|
FINAL_SCHEMAS |
FINAL_TRIGGERS |
JOB |
MODULES |
STAGING |
STAGING_MODULES
Deprecated.
|
STAGING_SCHEMAS |
STAGING_TRIGGERS |
TRACE
Deprecated.
|
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
@Deprecated public static final DatabaseKind TRACE
public static final DatabaseKind STAGING_SCHEMAS
public static final DatabaseKind FINAL_SCHEMAS
public static final DatabaseKind STAGING_TRIGGERS
public static final DatabaseKind FINAL_TRIGGERS
public static final DatabaseKind MODULES
@Deprecated public static final DatabaseKind STAGING_MODULES
@Deprecated public static final DatabaseKind FINAL_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