public class AnnotationProcessingTask
extends org.apache.tools.ant.taskdefs.Javac
Constructor and Description |
---|
AnnotationProcessingTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameters() |
void |
execute()
Performs a compile using the Javac externally.
|
File |
getSourceDestDir()
Get the sourceDestDir attribute (-s javac parameter)
The default value is null.
|
boolean |
isProcOnly()
Get the compile option for the ap compiler.
|
void |
setProcOnly(boolean procOnly)
Set the compile option for the ap compiler.
|
void |
setSourceDestDir(File sourceDestDir)
Set the sourceDestDir attribute.
|
add, compile, createBootclasspath, createClasspath, createCompilerArg, createCompilerClasspath, createExtdirs, createSourcepath, createSrc, getBootclasspath, getClasspath, getCompiler, getCompilerVersion, getCurrentCompilerArgs, getDebug, getDebugLevel, getDepend, getDeprecation, getDestdir, getEncoding, getExecutable, getExtdirs, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getJavacExecutable, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getNowarn, getOptimize, getSource, getSourcepath, getSrcdir, getSystemJavac, getTarget, getTaskSuccess, getTempdir, getVerbose, isForkedJavac, isIncludeDestClasses, isJdkCompiler, recreateSrc, resetFileLists, scanDir, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setCompiler, setCreateMissingPackageInfoClass, setDebug, setDebugLevel, setDepend, setDeprecation, setDestdir, setEncoding, setErrorProperty, setExecutable, setExtdirs, setFailonerror, setFork, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setNowarn, setOptimize, setProceed, setSource, setSourcepath, setSourcepathRef, setSrcdir, setTarget, setTempdir, setUpdatedProperty, setVerbose
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public File getSourceDestDir()
public void setSourceDestDir(File sourceDestDir)
sourceDestDir
- directory where to place processor generated source files.public boolean isProcOnly()
public void setProcOnly(boolean procOnly)
procOnly
- if true set the compile option.protected void checkParameters() throws org.apache.tools.ant.BuildException
checkParameters
in class org.apache.tools.ant.taskdefs.Javac
org.apache.tools.ant.BuildException
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.Javac
org.apache.tools.ant.BuildException
- if there is a problem.Copyright © 2017 Oracle Corporation. All rights reserved.