public class JdbcDataSink extends AbstractDatabaseDataSink
Modifier and Type | Class and Description |
---|---|
class |
JdbcDataSink.DriverConnStringAndQueryWizardAction |
class |
JdbcDataSink.TestConnectionAction |
Modifier and Type | Field and Description |
---|---|
protected JTextField |
connStrTextField |
protected JTextField |
driverTextField |
protected static String |
PASS_ELEMENT |
protected JPasswordField |
passField |
static String |
TYPE |
DATA_CONNECTION_FIELD, databaseConnection, dbConnAndQueryWizard, dbConnContainer, dbConnectionCombo, dbConnectionName, form, isProjectDbConnectionSelected, isRepopulating, projectListener, reconfigureConnectionButton, storedProcedureCheckBox, testConnectionButton
Constructor and Description |
---|
JdbcDataSink() |
Modifier and Type | Method and Description |
---|---|
void |
addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies) |
protected boolean |
canTestConnection() |
void |
finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
JComponent |
getComponent() |
String |
getConnectionString() |
String |
getDriver() |
String |
getPassword() |
com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] |
getPropertyExpansions() |
String |
getQuery() |
protected void |
load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader) |
protected void |
makeQueryWizard() |
protected void |
populateTextFieldsForConnection() |
void |
prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
void |
release() |
boolean |
save(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
com.eviware.soapui.support.types.StringToStringMap properties) |
protected void |
save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
void |
setConnectionProperties(DatabaseConnectionPropertiesHolder propertiesHolder) |
void |
setConnectionString(String connectionString) |
void |
setDriver(String driver) |
protected void |
setManualFieldButtonsState() |
void |
setPassword(String password) |
void |
setQuery(String query) |
addConnectionCombo, createNewConnection, doCreateStoredProcQuery, getActiveEnvironment, getActiveEnvironmentName, getDatabaseConnectionContainer, getDbConnectionName, getProject, init, isMissingDbConnection, isNonEnvironmentDbConnection, shouldEnableReconfigureButton
beforeSave, getConfig, getDataSinkStep, getDescription, getTestCase, getType, resolve, saveConfig, setConfig
protected static final String PASS_ELEMENT
public static final String TYPE
protected JTextField driverTextField
protected JTextField connStrTextField
protected JPasswordField passField
public void finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
finish
in interface DataSink
finish
in class AbstractDataSink
public JComponent getComponent()
protected boolean canTestConnection()
canTestConnection
in class AbstractDatabaseDataSink
protected void load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader)
load
in class AbstractDataSink
protected void save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
save
in class AbstractDataSink
public com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface DataSink
getPropertyExpansions
in class AbstractDataSink
public String getPassword()
public void setPassword(String password)
public void setConnectionProperties(DatabaseConnectionPropertiesHolder propertiesHolder)
public String getConnectionString()
public void setConnectionString(String connectionString)
public String getDriver()
public void setDriver(String driver)
public String getQuery()
public void setQuery(String query)
public void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context) throws Exception
Exception
public boolean save(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context, com.eviware.soapui.support.types.StringToStringMap properties) throws SQLException
SQLException
protected void populateTextFieldsForConnection()
populateTextFieldsForConnection
in class AbstractDatabaseDataSink
protected void makeQueryWizard()
makeQueryWizard
in class AbstractDatabaseDataSink
protected void setManualFieldButtonsState()
setManualFieldButtonsState
in class AbstractDatabaseDataSink
public void release()
release
in interface DataSink
release
in class AbstractDatabaseDataSink
public void addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies)
addExternalDependency
in class AbstractDataSink
Copyright © 2019. All rights reserved.