Package org.eclipse.m2m.atl.emftvm.ant
Class RegisterMetamodelTask
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.RegisterMetamodelTask
- All Implemented Interfaces:
Cloneable
Registers an EMF metamodel.
-
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 TypeMethodDescriptionReturns the file extension of the instance models.Returns theEPackageclass to register.protected voidPerforms the actual execution.voidsetFileExtension(String fileExtension) Sets the file extension of the instance models.voidsetPackageClass(String packageClass) Sets theEPackageclass to register.voidsetResourceFactoryClass(String resourceFactoryClass) 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
-
RegisterMetamodelTask
public RegisterMetamodelTask()
-
-
Method Details
-
innerExecute
Performs the actual execution.- Specified by:
innerExecutein classEMFTVMTask- Throws:
Exception
-
getPackageClass
Returns theEPackageclass to register.- Returns:
- the packageClass
-
setPackageClass
Sets theEPackageclass to register.- Parameters:
packageClass- the packageClass to set
-
getResourceFactoryClass
- Returns:
- the resourceFactoryClass
-
setResourceFactoryClass
- Parameters:
resourceFactoryClass- the resourceFactoryClass to set
-
getFileExtension
Returns the file extension of the instance models.- Returns:
- the fileExtension
-
setFileExtension
Sets the file extension of the instance models.- Parameters:
fileExtension- the fileExtension to set
-