com.ibm.di.config.interfaces
Class ConfigUtils

java.lang.Object
  extended by com.ibm.di.config.interfaces.ConfigUtils

public class ConfigUtils
extends java.lang.Object

This class contains a utility method for creating a configuration object.


Constructor Summary
ConfigUtils()
           
 
Method Summary
static BaseConfiguration createStandardObject(MetamergeConfig config, int type, java.lang.String name)
          Creates a new object in the default folder location for the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUtils

public ConfigUtils()
Method Detail

createStandardObject

public static BaseConfiguration createStandardObject(MetamergeConfig config,
                                                     int type,
                                                     java.lang.String name)
                                              throws java.lang.Exception
Creates a new object in the default folder location for the type.

Parameters:
config - configuration
type - type of configuration
name - name of configuration
Returns:
the newly created object
Throws:
java.lang.Exception - if could not add the newly created object