public static enum CreateDatabaseBase.Source extends Enum<CreateDatabaseBase.Source> implements BmcEnum
The source of the database: Use NONE
for creating a new database. Use DB_BACKUP
for creating a new database by restoring from a backup. The default is NONE
.
Modifier and Type | Method and Description |
---|---|
static CreateDatabaseBase.Source |
create(String key) |
String |
getValue() |
static CreateDatabaseBase.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateDatabaseBase.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateDatabaseBase.Source None
public static final CreateDatabaseBase.Source DbBackup
public static CreateDatabaseBase.Source[] values()
for (CreateDatabaseBase.Source c : CreateDatabaseBase.Source.values()) System.out.println(c);
public static CreateDatabaseBase.Source 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 CreateDatabaseBase.Source create(String key)
Copyright © 2016–2024. All rights reserved.