|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Java com.google.appengine.tools.enhancer.EnhancerTask
public class EnhancerTask
An Ant task for ORM enhancement.
In order to use this task, users must install a taskdef in Ant:
<taskdef name="enhancer" classpathref="appengine-sdk-classpath" classname="com.google.appengine.tools.development.enhancer.EnhancerTask"/>Where appengine-sdk-classpath includes appengine-tools-api.jar.
Options for this task are documented on DataNucleus' web site.
Constructor Summary | |
---|---|
EnhancerTask()
Default constructor |
Method Summary | |
---|---|
void |
addFileSet(FileSet fs)
Add a fileset. |
void |
execute()
Execution method |
java.io.File |
getDir()
Gets the root dir for looking for files |
void |
setApi(java.lang.String api)
set API Adapter |
void |
setCheckonly(boolean checkonly)
Whether to just check the enhancement state |
void |
setDestination(java.io.File destdir)
set output directory |
void |
setDir(java.io.File dir)
Sets the root dir for looking for files |
void |
setEnhancerName(java.lang.String enhancer)
Set the symbolic name of the ClassEnhancer to use |
void |
setFileSuffixes(java.lang.String suffixes)
Set one or more file suffixes for the input files. |
void |
setIf(java.lang.String ifpropertyset)
Executes this task only if the property is set |
void |
setPersistenceUnit(java.lang.String unit)
Set the persistence-unit name to enhance |
void |
setVerbose(boolean verbose)
set verbose |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnhancerTask()
Method Detail |
---|
public void execute() throws BuildException
BuildException
- Thrown when an error occurs when processing the taskpublic void setCheckonly(boolean checkonly)
checkonly
- Whether to just checkpublic void setDestination(java.io.File destdir)
destdir
- output dirpublic void setApi(java.lang.String api)
api
- API Adapterpublic void setEnhancerName(java.lang.String enhancer)
enhancer
- Class Enhancer to usepublic void setPersistenceUnit(java.lang.String unit)
unit
- Name of the persistence-unit to enhancepublic void setDir(java.io.File dir)
dir
- the root dirpublic java.io.File getDir()
public void setFileSuffixes(java.lang.String suffixes)
suffixes
- the sufficespublic void setVerbose(boolean verbose)
verbose
- Whether to give verbose outputpublic void addFileSet(FileSet fs)
fs
- the FileSetpublic void setIf(java.lang.String ifpropertyset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |