Package com._1c.g5.v8.bm.core
Class BmEngines
- java.lang.Object
-
- com._1c.g5.v8.bm.core.BmEngines
-
public final class BmEngines extends Object
Factory methods for engines.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IBmEngine
createEngine(String id, Path root, Collection<org.eclipse.emf.ecore.EPackage> ePackages)
Creates a newIBmEngine
with default settings.static IBmEngine
createEngine(String id, Path root, Collection<org.eclipse.emf.ecore.EPackage> ePackages, BmEngineSettings settings)
Creates a newIBmEngine
with the specified settings.
-
-
-
Method Detail
-
createEngine
public static IBmEngine createEngine(String id, Path root, Collection<org.eclipse.emf.ecore.EPackage> ePackages)
Creates a newIBmEngine
with default settings.- Parameters:
id
- The engine ID. May not benull
.root
- The root directory path where engine keeps its data. May not benull
.ePackages
- The supported EMF packages to set. May benull
.- 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 newIBmEngine
with the specified settings.- Parameters:
id
- The engine ID. May not benull
.root
- The root directory path where engine keeps its data. May not benull
.ePackages
- The supported EMF packages to set. May benull
.settings
- The engine settings. May not benull
.- Returns:
- the created engine. Never
null
.
-
-