public class AndroMDAGenTask extends org.apache.tools.ant.taskdefs.MatchingTask
<andromda> custom
task which can be called from an Ant build script.
AndroMDA| Constructor and Description |
|---|
AndroMDAGenTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Starts the generation of source code from an object model.
|
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. |
void |
setConfigurationUri(URL configurationUri)
Sets the URI to the configuration file.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic AndroMDAGenTask()
public void setConfigurationUri(URL configurationUri)
configurationUri - public void execute() throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if something goes wrongprotected String replaceProperties(String string)
${some.property} with the value
of the specified property if there is one.string - the fileContents to perform replacement on.public String removePropertyReferences(String string)
string - the string from which to remove the property
referencesCopyright © 2003–2014 AndroMDA.org. All rights reserved.