Package org.eclipse.emf.mwe.core.config
Class GlobalConfigurationHolder
java.lang.Object
org.eclipse.emf.mwe.core.config.GlobalConfigurationHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationModel
static void
setConfigurationModel
(ConfigurationModel cm, Issues issues) Sets the configuration model.static void
setConfigurationModel
(ConfigurationModel cm, Issues issues, boolean overwrite) Sets the configuration model
-
Constructor Details
-
GlobalConfigurationHolder
public GlobalConfigurationHolder()
-
-
Method Details
-
setConfigurationModel
Sets the configuration model. This method won't allow to overwrite the existing configuration.- Parameters:
cm
- The configurationissues
- The Issues object to report errors to
-
setConfigurationModel
Sets the configuration model- Parameters:
cm
- The configurationissues
- The Issues object to report errors tooverwrite
- Allow replacement of the configuration model when it was already set
-
getConfiguration
-