|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Java
org.datanucleus.enhancer.tools.EnhancerTask
public class EnhancerTask
Enhancer Ant Task.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.Java |
|---|
redirector, redirectorElement |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
EnhancerTask()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addFileSet(org.apache.tools.ant.types.FileSet fs)
Add a fileset. |
void |
execute()
Execution method |
File |
getDir()
Gets the root dir for looking for files |
protected File[] |
getFiles()
|
void |
setApi(String api)
set API Adapter |
void |
setCheckonly(boolean checkonly)
Whether to just check the enhancement state |
void |
setDestination(File destdir)
set output directory |
void |
setDetachListener(boolean flag)
Whether to use detach listener. |
void |
setDir(File dir)
Sets the root dir for looking for files |
void |
setFileSuffixes(String suffixes)
Set one or more file suffixes for the input files. |
void |
setGenerateConstructor(boolean flag)
Whether to allow generation of default constructor where required. |
void |
setGeneratePK(boolean flag)
Whether to allow generation of PKs where required. |
void |
setIf(String ifpropertyset)
Executes this task only if the property is set |
void |
setPersistenceUnit(String unit)
Set the persistence-unit name to enhance |
void |
setQuiet(boolean quiet)
set quiet |
void |
setVerbose(boolean verbose)
set verbose |
| Methods inherited from class org.apache.tools.ant.taskdefs.Java |
|---|
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, checkConfiguration, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnhancerTask()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.taskdefs.Javaorg.apache.tools.ant.BuildException - Thrown when an error occurs when processing the taskpublic void setCheckonly(boolean checkonly)
checkonly - Whether to just checkpublic void setGeneratePK(boolean flag)
flag - Allow PK generationpublic void setGenerateConstructor(boolean flag)
flag - Allow default constructor additionpublic void setDetachListener(boolean flag)
flag - to detach listener usepublic void setDestination(File destdir)
destdir - output dirpublic void setApi(String api)
api - API Adapterpublic void setPersistenceUnit(String unit)
unit - Name of the persistence-unit to enhancepublic void setDir(File dir)
setDir in class org.apache.tools.ant.taskdefs.Javadir - the root dirpublic File getDir()
public void setFileSuffixes(String suffixes)
suffixes - the sufficespublic void setVerbose(boolean verbose)
verbose - Whether to give verbose outputpublic void setQuiet(boolean quiet)
quiet - Whether to give no outputpublic void addFileSet(org.apache.tools.ant.types.FileSet fs)
fs - the FileSetprotected File[] getFiles()
public void setIf(String ifpropertyset)
ifpropertyset -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||