Class BmEngines


  • public final class BmEngines
    extends Object
    Factory methods for engines.
    • Method Detail

      • createEngine

        public static IBmEngine createEngine​(String id,
                                             Path root,
                                             Collection<org.eclipse.emf.ecore.EPackage> ePackages)
        Creates a new IBmEngine with default settings.
        Parameters:
        id - The engine ID. May not be null.
        root - The root directory path where engine keeps its data. May not be null.
        ePackages - The supported EMF packages to set. May be null.
        Returns:
        the created engine. Never null.
      • createEngine

        public static IBmEngine createEngine​(String id,
                                             Path root,
                                             Collection<org.eclipse.emf.ecore.EPackage> ePackages,
                                             BmEngineSettings settings)
        Creates a new IBmEngine with the specified settings.
        Parameters:
        id - The engine ID. May not be null.
        root - The root directory path where engine keeps its data. May not be null.
        ePackages - The supported EMF packages to set. May be null.
        settings - The engine settings. May not be null.
        Returns:
        the created engine. Never null.