public enum OracleConnection extends Enum<OracleConnection> implements CompileParameter
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Context context) |
static void |
execute(Context context,
String sql) |
String |
getAlias() |
static Map<String,String> |
getDatabaseDsl(Context context) |
static DatabaseInfo |
getDatabaseDslAndVersion(Context context) |
String |
getDetailedDescription() |
String |
getShortDescription() |
String |
getUsage() |
void |
run(Context context) |
static OracleConnection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OracleConnection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OracleConnection INSTANCE
public static OracleConnection[] values()
for (OracleConnection c : OracleConnection.values()) System.out.println(c);
public static OracleConnection 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 getAlias()
getAlias in interface CompileParameterpublic String getUsage()
getUsage in interface CompileParameterpublic static Map<String,String> getDatabaseDsl(Context context) throws ExitException
ExitExceptionpublic static DatabaseInfo getDatabaseDslAndVersion(Context context) throws ExitException
ExitExceptionpublic static void execute(Context context, String sql) throws ExitException
ExitExceptionpublic boolean check(Context context) throws ExitException
check in interface CompileParameterExitExceptionpublic void run(Context context)
run in interface CompileParameterpublic String getShortDescription()
getShortDescription in interface CompileParameterpublic String getDetailedDescription()
getDetailedDescription in interface CompileParameterCopyright © 2021. All rights reserved.