public final class AndroMDA extends Object
Engine
Modifier and Type | Method and Description |
---|---|
void |
initialize(Configuration configuration)
Initializes AndroMDA without running the engine.
|
void |
initialize(InputStream configurationStream)
Initializes AndroMDA without running the engine.
|
void |
initialize(String configuration)
Initializes AndroMDA without running the engine.
|
void |
initialize(URL configurationUri)
Initializes AndroMDA without running the engine.
|
static AndroMDA |
newInstance()
Gets a new instance of AndroMDA.
|
ModelValidationMessage[] |
run(Configuration configuration,
boolean lastModifiedCheck,
String historyDir)
Runs AndroMDA with the given configuration.
|
void |
run(InputStream configurationStream)
Runs AndroMDA with the given configuration.
|
void |
run(String configuration)
Runs AndroMDA with the given configuration.
|
void |
run(URL configurationUri)
Runs AndroMDA with the given configuration.
|
void |
shutdown()
Shuts down AndroMDA.
|
public static AndroMDA newInstance()
public void run(URL configurationUri)
configurationUri
- the URI to the configuration file that configures
AndroMDA.public void run(InputStream configurationStream)
configurationStream
- the InputStream that contains the
configuration contents for configuring AndroMDA.public void run(String configuration)
configuration
- the String that contains the configuration contents
for configuring AndroMDA.public void initialize(Configuration configuration)
configuration
- the configuration from which to initialize AndroMDApublic void initialize(InputStream configurationStream)
configurationStream
- the InputStream that contains the
configuration contents for configuring AndroMDA.public void initialize(String configuration)
configuration
- the String that contains the configuration contents
for configuring AndroMDA.public void initialize(URL configurationUri)
configurationUri
- the URI to the configuration file that configures
AndroMDA.public ModelValidationMessage[] run(Configuration configuration, boolean lastModifiedCheck, String historyDir)
configuration
- the configuration instance that configures AndroMDA.lastModifiedCheck
- true=don't regenerate code if no changes made since last model update.historyDir
- Output location for model generation history file (i.e. /target/history)public void shutdown()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.