public static enum DatabaseUpgradeHistoryEntry.Source extends Enum<DatabaseUpgradeHistoryEntry.Source>
The source of the Oracle Database software to be used for the upgrade.
DB_HOME
to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home.DB_VERSION
to specify a generally-available Oracle Database software version to upgrade the database.DB_SOFTWARE_IMAGE
to specify a database software image to upgrade the database.Enum Constant and Description |
---|
DbHome |
DbSoftwareImage |
DbVersion |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseUpgradeHistoryEntry.Source |
create(String key) |
String |
getValue() |
static DatabaseUpgradeHistoryEntry.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseUpgradeHistoryEntry.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseUpgradeHistoryEntry.Source DbHome
public static final DatabaseUpgradeHistoryEntry.Source DbVersion
public static final DatabaseUpgradeHistoryEntry.Source DbSoftwareImage
public static final DatabaseUpgradeHistoryEntry.Source UnknownEnumValue
public static DatabaseUpgradeHistoryEntry.Source[] values()
for (DatabaseUpgradeHistoryEntry.Source c : DatabaseUpgradeHistoryEntry.Source.values()) System.out.println(c);
public static DatabaseUpgradeHistoryEntry.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 String getValue()
public static DatabaseUpgradeHistoryEntry.Source create(String key)
Copyright © 2016–2022. All rights reserved.