The engine of AndroMDA. Handles the configuration of AndroMDA and
loading/processing of models by plugins. Basically a wrapper around the
ModelProcessor that takes a configuration file in order to configure AndroMDA.
See Also:ModelProcessor author: Chad Brandon
Method Summary
public void
initialize(Configuration configuration) Initializes Engine (discovers all plugins, etc) with the
given configuration.
loadModelsIfNecessary(Configuration configuration) Checks to see if any of the models in the given configuration
should be loaded (based on whether or not they've been modified),
and if so, performs the load.
run(Configuration configuration) Runs Engine with the given configuration.
Parameters: configuration - the String that contains the configurationcontents for configuring Engine.
Initializes Engine (discovers all plugins, etc) with the
given configuration. This configuration is overridden (if changed)
when calling
Engine.run(Configuration) .
Checks to see if any of the models in the given configuration
should be loaded (based on whether or not they've been modified),
and if so, performs the load. This way the
models are loaded for the next run of the model processor.
Parameters: configuration - the AndroMDA configuration the contains the repositories containingthe models to load.
Runs Engine with the given configuration.
Parameters: configuration - the String that contains the configurationcontents for configuring Engine. the new instance of Engine.