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