public class ConsoleContext extends AbstractContext
Modifier and Type | Class and Description |
---|---|
static interface |
ConsoleContext.IConnectHandler |
IContext.RunType
LOG_BEGIN, LOG_END, LOG_INDENTATION
Constructor and Description |
---|
ConsoleContext(ConsoleContext.IConnectHandler handler) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Get a JDBC connection based on the configuration.
|
ISarWriter |
getSarWriter()
Writer to receive output to Subject Access Request.
|
createAnonymizeContext, createEraseContext, createSarContext, getRunParams, getRunType, isAutoCommit, isRepeatableRandom, setAutoCommit, setRepeatableRandom, setRunParams, setRunType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLogBegin, getLogEnd, getLogIndentation
public ConsoleContext(ConsoleContext.IConnectHandler handler)
public Connection getConnection() throws Throwable
IContext
Throwable
- SQL errorpublic ISarWriter getSarWriter()
IContext
getSarWriter
in interface IContext
getSarWriter
in class AbstractContext
Copyright © 2021. All rights reserved.