Class ATLModelTransformationTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
org.eclipse.m2m.atl.core.ant.tasks.ATLModelTransformationTask
- All Implemented Interfaces:
Cloneable
Launches an ATL transformation, using the launcher specified as property in the ant project.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fileprotected booleanprotected Stringprotected List<Superimpose>Fields inherited from class org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
DEFAULT_LAUNCHER, DEFAULT_MODEL_HANDLER, LAUNCHER_PROPERTY, OPTION_MODEL_HANDLER, OPTION_MODEL_NAME, OPTION_MODEL_PATH, OPTION_NEW_MODEL, RESULT_REFERENCEFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguredInModel(InModel model) Adds an input model to the task.voidaddConfiguredInoutModel(InModel model) Adds an input/output model to the task.voidaddConfiguredLibrary(Library library) Adds a library to the task.voidaddConfiguredOption(Param option) Adds an option to the task.voidaddConfiguredOutModel(OutModel model) Adds an output model to the task.voidaddConfiguredSuperimpose(Superimpose superimpose) Adds a superimposition module to the task.voidexecute()voidvoidvoidsetRefining(boolean isRefining) Methods inherited from class org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
error, error, getDefaultModelFactory, getLauncher, getLauncherName, init, newModel, newModel, newReferenceModelMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
mode
-
isRefiningTraceMode
protected boolean isRefiningTraceMode -
asmPath
-
inModels
-
outModels
-
inoutModels
-
libraries
-
options
-
superimposeModules
-
-
Constructor Details
-
ATLModelTransformationTask
public ATLModelTransformationTask()
-
-
Method Details
-
setMode
-
setRefining
public void setRefining(boolean isRefining) -
setPath
-
addConfiguredInModel
Adds an input model to the task.- Parameters:
model- the given model
-
addConfiguredOutModel
Adds an output model to the task.- Parameters:
model- the given model
-
addConfiguredInoutModel
Adds an input/output model to the task.- Parameters:
model- the given model
-
addConfiguredLibrary
Adds a library to the task.- Parameters:
library- the given library
-
addConfiguredSuperimpose
Adds a superimposition module to the task.- Parameters:
superimpose- the given superimposition module
-
addConfiguredOption
Adds an option to the task.- Parameters:
option- the given option
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classAbstractAtlTask- Throws:
org.apache.tools.ant.BuildException- See Also:
-