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

public class ATLModelTransformationTask extends AbstractAtlTask
Launches an ATL transformation, using the launcher specified as property in the ant project.
  • Field Details

    • mode

      protected String mode
    • isRefiningTraceMode

      protected boolean isRefiningTraceMode
    • asmPath

      protected File asmPath
    • inModels

      protected List<InModel> inModels
    • outModels

      protected List<OutModel> outModels
    • inoutModels

      protected List<InModel> inoutModels
    • libraries

      protected List<Library> libraries
    • options

      protected Map<String,Object> options
    • superimposeModules

      protected List<Superimpose> superimposeModules
  • Constructor Details

    • ATLModelTransformationTask

      public ATLModelTransformationTask()
  • Method Details

    • setMode

      public void setMode(String mode)
    • setRefining

      public void setRefining(boolean isRefining)
    • setPath

      public void setPath(File path)
    • addConfiguredInModel

      public void addConfiguredInModel(InModel model)
      Adds an input model to the task.
      Parameters:
      model - the given model
    • addConfiguredOutModel

      public void addConfiguredOutModel(OutModel model)
      Adds an output model to the task.
      Parameters:
      model - the given model
    • addConfiguredInoutModel

      public void addConfiguredInoutModel(InModel model)
      Adds an input/output model to the task.
      Parameters:
      model - the given model
    • addConfiguredLibrary

      public void addConfiguredLibrary(Library library)
      Adds a library to the task.
      Parameters:
      library - the given library
    • addConfiguredSuperimpose

      public void addConfiguredSuperimpose(Superimpose superimpose)
      Adds a superimposition module to the task.
      Parameters:
      superimpose - the given superimposition module
    • addConfiguredOption

      public void addConfiguredOption(Param option)
      Adds an option to the task.
      Parameters:
      option - the given option
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Overrides:
      execute in class AbstractAtlTask
      Throws:
      org.apache.tools.ant.BuildException
      See Also: