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
Modifier and TypeFieldDescriptionprotected File
protected boolean
protected String
protected 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_REFERENCE
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfiguredInModel
(InModel model) Adds an input model to the task.void
addConfiguredInoutModel
(InModel model) Adds an input/output model to the task.void
addConfiguredLibrary
(Library library) Adds a library to the task.void
addConfiguredOption
(Param option) Adds an option to the task.void
addConfiguredOutModel
(OutModel model) Adds an output model to the task.void
addConfiguredSuperimpose
(Superimpose superimpose) Adds a superimposition module to the task.void
execute()
void
void
void
setRefining
(boolean isRefining) Methods inherited from class org.eclipse.m2m.atl.core.ant.tasks.AbstractAtlTask
error, error, getDefaultModelFactory, getLauncher, getLauncherName, init, newModel, newModel, newReferenceModel
Methods 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, setTaskType
Methods 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:
execute
in classAbstractAtlTask
- Throws:
org.apache.tools.ant.BuildException
- See Also:
-