org.pentaho.di.core.config
Class AnnotatedJobConfigManager<T extends JobPluginMeta>

java.lang.Object
  extended by org.pentaho.di.core.config.BasicConfigManager<T>
      extended by org.pentaho.di.core.config.AnnotatedJobConfigManager<T>
Type Parameters:
T -
All Implemented Interfaces:
ConfigManager<T>

public class AnnotatedJobConfigManager<T extends JobPluginMeta>
extends BasicConfigManager<T>

Registers classes annotated with @Job as Kettle/PDI jobs, without the need for XML configurations. Note: XML configurations will superseed and overwrite annotated definitions.

Author:
Alex Silva

Constructor Summary
AnnotatedJobConfigManager()
           
 
Method Summary
 Collection<T> load()
          Loads the configuration parameters.
 
Methods inherited from class org.pentaho.di.core.config.BasicConfigManager
getId, loadAs, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedJobConfigManager

public AnnotatedJobConfigManager()
Method Detail

load

public Collection<T> load()
                                         throws org.pentaho.di.core.exception.KettleConfigException
Description copied from interface: ConfigManager
Loads the configuration parameters.

Returns:
A collection containing the parameters
Throws:
org.pentaho.di.core.exception.KettleConfigException - If an error occurs during load.