Package org.citrusframework.actions.sql
Interface DatabaseConnectingActionBuilder<T extends TestAction,B extends DatabaseConnectingActionBuilder<T,B>>
- All Superinterfaces:
ActionBuilder<T,,B> ReferenceResolverAwareBuilder<T,,B> TestActionBuilder<T>
- All Known Subinterfaces:
ExecutePlsqlActionBuilder<T,,B> ExecuteSqlActionBuilder<T,,B> ExecuteSqlQueryActionBuilder<T,B>
public interface DatabaseConnectingActionBuilder<T extends TestAction,B extends DatabaseConnectingActionBuilder<T,B>>
extends ActionBuilder<T,B>, TestActionBuilder<T>, ReferenceResolverAwareBuilder<T,B>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Method Summary
Modifier and TypeMethodDescriptiondataSource(String dataSourceName) Sets the name of the SQL data source.dataSource(DataSource dataSource) Sets the SQL data source.jdbcTemplate(Object jdbcTemplate) Sets the Spring JDBC template to use.sqlResource(String filePath) Setter for external file resource containing the SQL statements to execute.sqlResource(Resource sqlResource) Setter for external file resource containing the SQL statements to execute.Adds a new statement to the list of SQL executions.statements(List<String> statements) List of statements to execute.transactionIsolationLevel(String isolationLevel) Sets the transaction isolation level to use.transactionManager(Object transactionManager) Sets the transaction manager to use.transactionTimeout(int transactionTimeout) Sets the transaction timeout to use.transactionTimeout(String transactionTimeout) Sets the transaction timeout to use.Methods inherited from interface org.citrusframework.actions.ActionBuilder
actor, description, nameMethods inherited from interface org.citrusframework.actions.ReferenceResolverAwareBuilder
withReferenceResolverMethods inherited from interface org.citrusframework.TestActionBuilder
build
-
Method Details
-
jdbcTemplate
Sets the Spring JDBC template to use. -
transactionManager
Sets the transaction manager to use. -
transactionTimeout
Sets the transaction timeout to use. -
transactionTimeout
Sets the transaction timeout to use. -
transactionIsolationLevel
Sets the transaction isolation level to use. -
dataSource
Sets the SQL data source. -
dataSource
Sets the name of the SQL data source. -
statements
List of statements to execute. Declared inline in the test case. -
statement
Adds a new statement to the list of SQL executions. -
sqlResource
Setter for external file resource containing the SQL statements to execute. -
sqlResource
Setter for external file resource containing the SQL statements to execute.
-