public class DynamicContext extends java.lang.Object implements ParametersCallback
TODO: Probably it's better to extract interface from this class
and merge implementation with EtlContext
Modifier and Type | Field and Description |
---|---|
protected EtlVariable |
etlVariable |
protected EtlContext |
globalContext |
Modifier | Constructor and Description |
---|---|
protected |
DynamicContext() |
|
DynamicContext(EtlContext globalContext) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
protected EtlContext |
getGlobalContext() |
java.lang.Object |
getParameter(java.lang.String name)
Returns the value of parameter specified by name.
|
protected EtlContext globalContext
protected EtlVariable etlVariable
protected DynamicContext()
public DynamicContext(EtlContext globalContext)
public java.lang.Object getParameter(java.lang.String name)
ParametersCallback
The callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter
in interface ParametersCallback
name
- parameter name. Providers are allowed (but not required) to ignore a case of the name parameter
to comply with their internal model. For example JDBC drivers are case-insensitive to column names.public Connection getConnection()
protected EtlContext getGlobalContext()
Copyright © Copyright 2006-2019 The Scriptella Project Team.