Package org.eclipse.m2m.atl.emftvm.ant
Class RunTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask
org.eclipse.m2m.atl.emftvm.ant.RunTask
- All Implemented Interfaces:
Cloneable
Runs a model transformation in the EMFTVM.
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask
RESOURCE_SETFields 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 TypeMethodDescriptionvoidAdds model as input/output model to the run task.voidaddConfiguredInoutModelSet(InOutModelSet modelSet) Adds model as input/output model to the run task.voidaddConfiguredInputModel(InModel model) Adds model as input model to the run task.voidaddConfiguredInputModelSet(InModelSet modelSet) Adds model set as input model set to the run task.voidaddConfiguredMetamodel(MetaModel metamodel) Adds metamodel to the run task.voidaddConfiguredOutputModel(OutModel model) Adds model as output model to the run task.voidaddConfiguredOutputModelSet(OutModelSet modelSet) Adds model as output model to the run task.Returns the list of in/out models.Returns the list of input/output model sets.Returns the list of input models.Returns the list of input model sets.Returns the list of metamodels.Returns the module name.Returns the module path.Returns the list of output models.Returns the list of output model sets.protected voidPerforms the actual execution.booleanReturns whether to disable the JIT compiler.voidsetDisableJIT(boolean disableJIT) Sets whether to disable the JIT compilervoidSets the module name.voidsetModulePath(String modulePath) Sets the module path.Methods inherited from class org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask
execute, getMetamodel, getModel, getResourceSet, setModelMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, 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
-
Constructor Details
-
RunTask
public RunTask()
-
-
Method Details
-
setModule
Sets the module name.- Parameters:
module- the module to set
-
getModule
Returns the module name.- Returns:
- the module
-
setModulePath
Sets the module path.- Parameters:
modulePath- the modulePath to set
-
getModulePath
Returns the module path.- Returns:
- the modulePath
-
isDisableJIT
public boolean isDisableJIT()Returns whether to disable the JIT compiler.- Returns:
- whether to disable the JIT compiler
-
setDisableJIT
public void setDisableJIT(boolean disableJIT) Sets whether to disable the JIT compiler- Parameters:
disableJIT- whether to disable the JIT compiler
-
getMetaModels
Returns the list of metamodels.- Returns:
- the metaModels
-
getInputModels
Returns the list of input models.- Returns:
- the inputModels
-
getInoutModels
Returns the list of in/out models.- Returns:
- the inoutModels
-
getOutputModels
Returns the list of output models.- Returns:
- the outputModels
-
getInputModelSets
Returns the list of input model sets.- Returns:
- the inModelSets
-
getInoutModelSets
Returns the list of input/output model sets.- Returns:
- the inOutModelSets
-
getOutputModelSets
Returns the list of output model sets.- Returns:
- the outModelSets
-
addConfiguredMetamodel
Adds metamodel to the run task.- Parameters:
metamodel- the metamodel
-
addConfiguredInputModel
Adds model as input model to the run task.- Parameters:
model- the input model
-
addConfiguredInoutModel
Adds model as input/output model to the run task.- Parameters:
model- the in/out model
-
addConfiguredOutputModel
Adds model as output model to the run task.- Parameters:
model- the output model
-
addConfiguredInputModelSet
Adds model set as input model set to the run task.- Parameters:
modelSet- the input model set
-
addConfiguredInoutModelSet
Adds model as input/output model to the run task.- Parameters:
modelSet- the in/out model set
-
addConfiguredOutputModelSet
Adds model as output model to the run task.- Parameters:
modelSet- the output model set
-
innerExecute
Performs the actual execution.- Specified by:
innerExecutein classEMFTVMTask- Throws:
Exception
-