Class ConfigUtils


  • public class ConfigUtils
    extends java.lang.Object
    This class contains a utility method for creating a configuration object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigUtils()  
    • 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