public class ExecutePLSQLAction extends AbstractDatabaseConnectingTestAction
log, SQL_COMMENT, sqlResourcePath, statements| Constructor and Description |
|---|
ExecutePLSQLAction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
decorateLastScriptLine(String line)
Subclasses may want to decorate last script line.
|
void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
String |
getScript()
Gets the script.
|
protected String |
getStatemendEndingCharacter()
Gets the SQL statement ending character sequence.
|
boolean |
isIgnoreErrors()
Gets the ignoreErrors.
|
ExecutePLSQLAction |
setIgnoreErrors(boolean ignoreErrors)
Ignore errors during execution.
|
ExecutePLSQLAction |
setScript(String script)
Setter for inline script.
|
createStatementsFromFileResource, execute, getActor, getDescription, getName, getSqlResourcePath, getStatements, isDisabled, setActor, setDescription, setName, setSqlResourcePath, setStatementspublic void doExecute(TestContext context)
AbstractDatabaseConnectingTestActiondoExecute in class AbstractDatabaseConnectingTestActionprotected String getStatemendEndingCharacter()
AbstractDatabaseConnectingTestActiongetStatemendEndingCharacter in class AbstractDatabaseConnectingTestActionprotected String decorateLastScriptLine(String line)
AbstractDatabaseConnectingTestActiondecorateLastScriptLine in class AbstractDatabaseConnectingTestActionline - the last script line finishing a SQL statement.public ExecutePLSQLAction setScript(String script)
script - public ExecutePLSQLAction setIgnoreErrors(boolean ignoreErrors)
ignoreErrors - boolean flag to setpublic String getScript()
public boolean isIgnoreErrors()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.