|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.engine.Engine
public final class Engine
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.
ModelProcessor| Method Summary | |
|---|---|
void |
initialize(Configuration configuration)
Initializes Engine (discovers all plugins, etc) with the given configuration. |
ModelValidationMessage[] |
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. |
static Engine |
newInstance()
Create a new Engine instance. |
ModelValidationMessage[] |
run(Configuration configuration,
boolean lastModifiedCheck,
String historyDir)
Runs Engine with the given configuration. |
void |
shutdown()
Shuts down this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Engine newInstance()
public void initialize(Configuration configuration)
run(Configuration, boolean, String).
configuration - public ModelValidationMessage[] loadModelsIfNecessary(Configuration configuration)
configuration - the AndroMDA configuration the contains the repositories containing
the models to load.
public ModelValidationMessage[] run(Configuration configuration,
boolean lastModifiedCheck,
String historyDir)
configuration - the String that contains the configuration
contents for configuring Engine.lastModifiedCheck - Check for model modifications after last generationhistoryDir - Overrides model lastModifiedCheck globally
public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||