public abstract class TypeTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask
Task to specify a
type (Class).
<TypeTask classname="String" classpathref="Reference" description="String" taskname="String" type="String">
<classpath .../>
</TypeTask>
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeTask.BeanInfoFor
|
static class |
TypeTask.IsAssignableFrom
|
static class |
TypeTask.MembersOf
|
static class |
TypeTask.ResourcePathTo
|
static class |
TypeTask.SuperclassesOf
|
description, location, project| Constructor and Description |
|---|
TypeTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Default implementation for
Task subclasses. |
void |
init()
Default implementation for
Task
subclasses. |
void |
setClassname(String string)
|
void |
setType(String string) |
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, setClasspathrefpublic TypeTask()
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.public void init() throws BuildException
ClasspathDelegateAntTaskTask
subclasses.init in interface ClasspathDelegateAntTaskinit in class TaskBuildExceptionpublic void setClassname(String string)
ClasspathDelegateAntTasksetClassname in interface ClasspathDelegateAntTaskstring - The class name (String).Copyright © 2015–2020. All rights reserved.