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:
java.lang.Cloneable
public class RegisterMetamodelTask extends EMFTVMTask
Registers an EMF metamodel.
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask
RESOURCE_SET
-
-
Constructor Summary
Constructors Constructor Description RegisterMetamodelTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFileExtension()Returns the file extension of the instance models.java.lang.StringgetPackageClass()Returns theEPackageclass to register.java.lang.StringgetResourceFactoryClass()protected voidinnerExecute()Performs the actual execution.voidsetFileExtension(java.lang.String fileExtension)Sets the file extension of the instance models.voidsetPackageClass(java.lang.String packageClass)Sets theEPackageclass to register.voidsetResourceFactoryClass(java.lang.String resourceFactoryClass)-
Methods inherited from class org.eclipse.m2m.atl.emftvm.ant.EMFTVMTask
execute, getMetamodel, getModel, getResourceSet, setModel
-
Methods 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, setTaskType
-
-
-
-
Method Detail
-
innerExecute
protected void innerExecute() throws java.lang.ExceptionPerforms the actual execution.- Specified by:
innerExecutein classEMFTVMTask- Throws:
java.lang.Exception
-
getPackageClass
public java.lang.String getPackageClass()
Returns theEPackageclass to register.- Returns:
- the packageClass
-
setPackageClass
public void setPackageClass(java.lang.String packageClass)
Sets theEPackageclass to register.- Parameters:
packageClass- the packageClass to set
-
getResourceFactoryClass
public java.lang.String getResourceFactoryClass()
- Returns:
- the resourceFactoryClass
-
setResourceFactoryClass
public void setResourceFactoryClass(java.lang.String resourceFactoryClass)
- Parameters:
resourceFactoryClass- the resourceFactoryClass to set
-
getFileExtension
public java.lang.String getFileExtension()
Returns the file extension of the instance models.- Returns:
- the fileExtension
-
setFileExtension
public void setFileExtension(java.lang.String fileExtension)
Sets the file extension of the instance models.- Parameters:
fileExtension- the fileExtension to set
-
-