Enum Class OracleConnection
- All Implemented Interfaces:
CompileParameter, Serializable, Comparable<OracleConnection>, Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate static voidcleanup(Connection conn, Context context) static void(package private) static DatabaseInfoextractDatabaseInfoFromMigration(Context context, String previous) (package private) static StringextractOracleVersion(String version, Context context) getAlias()private static ConnectiongetConnection(Context context, String url) getDatabaseDsl(Context context) static DatabaseInfogetDatabaseDslAndVersion(Context context) getUsage()private static OracleConnection.Credentialsvoidprivate static booleantestConnection(Context context) static OracleConnectionReturns the enum constant of this class with the specified name.static OracleConnection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
CACHE_NAME
- See Also:
-
ORACLE_CUSTOM_DRIVER
- See Also:
-
-
Constructor Details
-
OracleConnection
private OracleConnection()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getAlias
- Specified by:
getAliasin interfaceCompileParameter
-
getUsage
- Specified by:
getUsagein interfaceCompileParameter
-
getDatabaseDsl
- Throws:
ExitException
-
extractOracleVersion
-
getConnection
- Throws:
SQLException
-
getDatabaseDslAndVersion
- Throws:
ExitException
-
extractDatabaseInfoFromMigration
static DatabaseInfo extractDatabaseInfoFromMigration(Context context, String previous) throws ExitException - Throws:
ExitException
-
execute
- Throws:
ExitException
-
cleanup
-
parse
-
testConnection
- Throws:
ExitException
-
check
- Specified by:
checkin interfaceCompileParameter- Throws:
ExitException
-
run
- Specified by:
runin interfaceCompileParameter
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceCompileParameter
-
getDetailedDescription
- Specified by:
getDetailedDescriptionin interfaceCompileParameter
-