public class CommandLineCommandSettingsAdapter extends Object implements CommandSettings
| Constructor and Description |
|---|
CommandLineCommandSettingsAdapter(CommandType commandType,
org.apache.commons.cli.CommandLine commandLine) |
| Modifier and Type | Method and Description |
|---|---|
ApexParameter |
getApexParameter() |
DataSource |
getDataSource(String password) |
String |
getInstallSchemaConnect() |
Path |
getOutputDirectory() |
Writer |
getOutputFile(Writer consoleWriter) |
String |
getPassword() |
ProcessBuilder |
getSQLPlusCommand() |
String |
getSQLPlusConnect() |
String |
getSQLPlusConnect(String password) |
Path |
getTemporaryDirectory(boolean createIfNotExists) |
UpgradeParameter |
getUpgradeParameter() |
boolean |
isChangeLogInOtherSchema() |
boolean |
isInstallInOtherSchema() |
boolean |
isOptionNotSet(CommandLineOption option) |
boolean |
isOptionSet(CommandLineOption option) |
boolean |
isOutputToConsole() |
boolean |
isPasswordAvailable() |
boolean |
isPasswordNotAvailable() |
boolean |
isQuiet() |
public CommandLineCommandSettingsAdapter(CommandType commandType, org.apache.commons.cli.CommandLine commandLine)
public Path getTemporaryDirectory(boolean createIfNotExists)
getTemporaryDirectory in interface CommandSettingspublic DataSource getDataSource(String password)
getDataSource in interface CommandSettingspublic boolean isOptionSet(CommandLineOption option)
public boolean isOptionNotSet(CommandLineOption option)
public ProcessBuilder getSQLPlusCommand()
getSQLPlusCommand in interface CommandSettingspublic String getSQLPlusConnect(String password)
getSQLPlusConnect in interface CommandSettingspublic String getSQLPlusConnect()
getSQLPlusConnect in interface CommandSettingspublic String getInstallSchemaConnect()
getInstallSchemaConnect in interface CommandSettingspublic boolean isQuiet()
isQuiet in interface CommandSettingspublic boolean isPasswordAvailable()
isPasswordAvailable in interface CommandSettingspublic boolean isPasswordNotAvailable()
isPasswordNotAvailable in interface CommandSettingspublic String getPassword()
getPassword in interface CommandSettingspublic UpgradeParameter getUpgradeParameter()
getUpgradeParameter in interface CommandSettingspublic ApexParameter getApexParameter()
getApexParameter in interface CommandSettingspublic boolean isInstallInOtherSchema()
isInstallInOtherSchema in interface CommandSettingspublic boolean isChangeLogInOtherSchema()
isChangeLogInOtherSchema in interface CommandSettingspublic Writer getOutputFile(Writer consoleWriter)
getOutputFile in interface CommandSettingspublic boolean isOutputToConsole()
isOutputToConsole in interface CommandSettingspublic Path getOutputDirectory()
getOutputDirectory in interface CommandSettingsCopyright © 2016. All rights reserved.