" elements from kettle-config.xml and attempts to
inject the value of such fields into the corresponding
ConfigManager
implementation, following the rules established
the
- Author:
- Alex Silva
- See Also:
Inject
getInstance
public static KettleConfig getInstance()
getManager
public ConfigManager<?> getManager(String name)
getManagers
public Collection<ConfigManager<?>> getManagers()
- Returns:
- all loaders defined in kettle-config.xml.
addConfig
public void addConfig(String name,
ConfigManager<?> mgr)
throws org.pentaho.di.core.exception.KettleConfigException
- Adds a new manager programatically
- Parameters:
name
- - the name of the new manager. Must not already existmgr
- - The mgr implementation
- Throws:
org.pentaho.di.core.exception.KettleConfigException
- If the manager already exists in this config instance