Package ball.util.ant.taskdefs
Class PatternTask
- java.lang.Object
 - 
- org.apache.tools.ant.ProjectComponent
 - 
- org.apache.tools.ant.Task
 - 
- ball.util.ant.taskdefs.PatternTask
 
 
 
 
- 
- All Implemented Interfaces:
 AnnotatedAntTask,AntTaskLogMethods,AntTaskMixIn,ClasspathDelegateAntTask,ConfigurableAntTask,Cloneable
- Direct Known Subclasses:
 PatternTask.Matches,PatternTask.Split
public abstract class PatternTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask, ConfigurableAntTask
Abstract AntTaskbase class forPattern-specific tasks.<PatternTask classname="String" classpathref="Reference" description="String" input="String" pattern="String" taskname="String"> <classpath .../> </PatternTask>
- Author:
 - Allen D. Ball
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatternTask.Matchesstatic classPatternTask.Split 
- 
Field Summary
- 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project 
 - 
 
- 
Constructor Summary
Constructors Constructor Description PatternTask() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Default implementation forTasksubclasses.voidinit()Default implementation forTasksubclasses.- 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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 
- 
Methods inherited from interface ball.util.ant.taskdefs.AnnotatedAntTask
getAntTaskName 
- 
Methods inherited from interface ball.util.ant.taskdefs.AntTaskLogMethods
log, log, log, log, log, log, log, log, log, log, log 
- 
Methods inherited from interface ball.util.ant.taskdefs.ClasspathDelegateAntTask
createClasspath, delegate, delegate, getClassForName, getClassLoader, setClassname, setClasspathref 
- 
Methods inherited from interface ball.util.ant.taskdefs.ConfigurableAntTask
configure 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PatternTask
public PatternTask()
 
 - 
 
- 
Method Detail
- 
init
public void init() throws BuildException
Description copied from interface:ClasspathDelegateAntTaskDefault implementation forTasksubclasses.- Specified by:
 initin interfaceClasspathDelegateAntTask- Specified by:
 initin interfaceConfigurableAntTask- Overrides:
 initin classTask- Throws:
 BuildException
 
- 
execute
public void execute() throws BuildException
Description copied from interface:AnnotatedAntTaskDefault implementation forTasksubclasses. Check attributes annotated withAntTaskAttributeConstraint. SeeAnnotatedAntTaskConfigurationChecker.- Specified by:
 executein interfaceAnnotatedAntTask- Overrides:
 executein classTask- Throws:
 BuildException- If aAntTaskAttributeConstraint.Checkerfails.
 
 - 
 
 -