| |
|
| org.andromda.ant.task.AndroMDAGenTask
AndroMDAGenTask | public class AndroMDAGenTask extends MatchingTask (Code) | | This class wraps the AndroMDA model processor so that AndroMDA can be
used as an Ant task. Represents the <andromda> custom
task which can be called from an Ant build script.
author: Matthias Bohlen author: Anthony Mowers author: Chad Brandon See Also: org.andromda.core.AndroMDA |
Method Summary | |
public void | execute()
Starts the generation of source code from an object model. | public String | removePropertyReferences(String string) Removes any ${some.property} type references from the string
and returns the modifed string. | protected String | replaceProperties(String string) Replaces all properties having the style
${some.property} with the value
of the specified property if there is one. | public void | setConfigurationUri(URL configurationUri) Sets the URI to the configuration file. |
execute | public void execute() throws BuildException(Code) | |
Starts the generation of source code from an object model.
This is the main entry point of the application when running Ant. It is called by ant whenever the surrounding
task is executed (which could be multiple times).
throws: BuildException - if something goes wrong |
removePropertyReferences | public String removePropertyReferences(String string)(Code) | | Removes any ${some.property} type references from the string
and returns the modifed string.
Parameters: string - the string from which to remove the propertyreferences the modified string. |
replaceProperties | protected String replaceProperties(String string)(Code) | | Replaces all properties having the style
${some.property} with the value
of the specified property if there is one.
Parameters: fileContents - the fileContents to perform replacement on. |
setConfigurationUri | public void setConfigurationUri(URL configurationUri)(Code) | | Sets the URI to the configuration file.
Parameters: configurationUri - |
|
|
|