public interface TransformerAccessor
Allows a Transformer module access to the main interfaces it requires to interact with the Transformer core.
Modifier and Type | Method and Description |
---|---|
String |
expandFilename(String filename)
Returns a fully qualified filename based on % substitution
fields.
|
ConfigProvider |
getConfigProvider()
Returns the config provider object which can be used to get
certain Transformer configuration options that have been set
|
DataCache |
getDataCache()
Returns an object that allows the Transformer module to access
the data cached within the Transformer's core.
|
DataProviderRegistrar |
getDataProviderRegistrar()
Returns an object that allows the Transformer module to
register and deregister itself with the Transformer core as a
provider of data.
|
FieldManager |
getFieldManager()
Returns an instance of FieldManager, which represents all the fields
that have been configured within the Transformer.
|
Logger |
getLogger()
Returns the
Logger that has
the name getLoggerName() . |
String |
getLoggerName()
Returns the name of the
Logger
that will write messages out to the Transformer module's log file. |
PipelineRegistrar |
getPipelineRegistrar()
Returns an object that allows the Transforme module to register
methods for availability in pipelines
|
Subscriber |
getSubscriber()
Returns an object that allows the Transformer module to
subscribe to and unsubcribe from data.
|
UDPAccessor |
getUDPAccessor()
Returns an object that allows the Transformer module to access
the Transformer core's UDP command interface.
|
DataCache getDataCache()
Returns an object that allows the Transformer module to access the data cached within the Transformer's core.
DataCache
object.DataProviderRegistrar getDataProviderRegistrar()
Returns an object that allows the Transformer module to register and deregister itself with the Transformer core as a provider of data.
DataProviderRegistrar
object.PipelineRegistrar getPipelineRegistrar()
Returns an object that allows the Transforme module to register methods for availability in pipelines
PipelineRegistrar
object.UDPAccessor getUDPAccessor()
Returns an object that allows the Transformer module to access the Transformer core's UDP command interface. The module will be able to register and deregister listeners for UDP commands, and send its own UDP commands.
UDPAccessor
object.Subscriber getSubscriber()
Returns an object that allows the Transformer module to subscribe to and unsubcribe from data.
Subscriber
object.FieldManager getFieldManager()
Returns an instance of FieldManager, which represents all the fields that have been configured within the Transformer.
FieldManager
object.String getLoggerName()
Returns the name of the Logger
that will write messages out to the Transformer module's log file.
Logger getLogger()
Returns the Logger
that has
the name getLoggerName()
.
getLoggerName()
.String expandFilename(String filename)
Returns a fully qualified filename based on % substitution fields.
The possible substitution fields are:
filename
- The filename, including % substitution fields, to
expand.NullPointerException
- If the filename is null.ConfigProvider getConfigProvider()
Returns the config provider object which can be used to get certain Transformer configuration options that have been set
ConfigProvider
object.Please send bug reports and comments to Caplin support