Class ModelContainerFactory
- java.lang.Object
-
- net.ssehub.easy.producer.core.varMod.container.ModelContainerFactory
-
public class ModelContainerFactory extends java.lang.ObjectFactory forModelContainers.- Author:
- El-Sharkawy
-
-
Constructor Summary
Constructors Constructor Description ModelContainerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelContainer<?>createContainer(net.ssehub.easy.basics.modelManagement.IModel model, Configuration location)Creates aModelContainerfor a successfully loadedIModel.static ModelContainer<?>createContainer(net.ssehub.easy.basics.modelManagement.IModel model, SemanticErrorDescription description, Configuration location)
-
-
-
Method Detail
-
createContainer
public static ModelContainer<?> createContainer(net.ssehub.easy.basics.modelManagement.IModel model, Configuration location)
Creates aModelContainerfor a successfully loadedIModel.- Parameters:
model- The loaded model, either one ofProjectorScript.location- The location from the model.- Returns:
- The
ModelContaineror null not one ofProjectorScriptwas passed as a model.
-
createContainer
public static ModelContainer<?> createContainer(net.ssehub.easy.basics.modelManagement.IModel model, SemanticErrorDescription description, Configuration location)
- Parameters:
model- The loaded model, either one ofProjectorScript.description- description A description of an occurred semantic error while parsing theIModel. Can be null, then this constructor has the same behavior ascreateContainer(IModel, Configuration).location- The location from the model.- Returns:
- The
ModelContaineror null not one ofProjectorScriptwas passed as a model.
-
-