public class ProcessClassesTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask
Task to bootstrap
Processors. Creates and invokes
ClassFileProcessors found on the class path.
<ProcessClassesTask basedir="File" classname="String" classpathref="Reference" description="String" destdir="File" srcdir="Path" taskname="String">
<classpath .../>
<src .../>
</ProcessClassesTask>
description, location, project| Constructor and Description |
|---|
ProcessClassesTask() |
| Modifier and Type | Method and Description |
|---|---|
Path |
createSrc() |
void |
execute()
Default implementation for
Task subclasses. |
protected Set<Class<?>> |
getClassSet() |
protected File |
getJavaFile(Class<?> type) |
void |
init()
Default implementation for
Task
subclasses. |
void |
setSrcdir(Path srcdir) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAntTaskNamelog, log, log, log, log, log, log, log, log, log, logcreateClasspath, delegate, delegate, getClassForName, getClassLoader, setClassname, setClasspathrefpublic ProcessClassesTask()
public void execute() throws BuildException
AnnotatedAntTaskTask subclasses. Check attributes
annotated with AntTaskAttributeConstraint.
See AnnotatedAntTaskConfigurationChecker.execute in interface AnnotatedAntTaskexecute in class TaskBuildException - If a
AntTaskAttributeConstraint.Checker
fails.protected Set<Class<?>> getClassSet() throws BuildException
BuildExceptionprotected File getJavaFile(Class<?> type)
public void init() throws BuildException
ClasspathDelegateAntTaskTask
subclasses.init in interface ClasspathDelegateAntTaskinit in class TaskBuildExceptionCopyright © 2015–2020. All rights reserved.