Package scriptella.core
Class DynamicContext
java.lang.Object
scriptella.core.DynamicContext
- All Implemented Interfaces:
ParametersCallback
- Direct Known Subclasses:
DynamicContextDecorator
Represents dynamic execution context for executable elements.
TODO: Probably it's better to extract interface from this class
and merge implementation with EtlContext
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EtlContextgetParameter(String name) Returns the value of parameter specified by name.
-
Field Details
-
globalContext
-
etlVariable
-
-
Constructor Details
-
DynamicContext
protected DynamicContext() -
DynamicContext
-
-
Method Details
-
getParameter
Description copied from interface:ParametersCallbackReturns the value of parameter specified by name.The callback internally delegates a call to parent callbacks if the parameter cannot be found.
- Specified by:
getParameterin interfaceParametersCallback- Parameters:
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.- Returns:
- parameter value or null if parameter doesn't exist.
-
getConnection
-
getGlobalContext
-