Package org.apache.tools.ant.taskdefs
Class DefaultExcludes
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.DefaultExcludes
- All Implemented Interfaces:
- Cloneable
Alters the default excludes for the entire build..
- Since:
- Ant 1.6
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Does the work.voidPattern to add to the default excludesvoidsetDefault(boolean def) go back to standard default patternsvoidsetEcho(boolean echo) If true, echo the default excludes.voidPattern to remove from the default excludes.Methods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
DefaultExcludespublic DefaultExcludes()
 
- 
- 
Method Details- 
executeDoes the work.- Overrides:
- executein class- Task
- Throws:
- BuildException- if something goes wrong with the build
 
- 
setDefaultpublic void setDefault(boolean def) go back to standard default patterns- Parameters:
- def- if true go back to default patterns
 
- 
setAddPattern to add to the default excludes- Parameters:
- add- Sets the value for the pattern to exclude.
 
- 
setRemovePattern to remove from the default excludes.- Parameters:
- remove- Sets the value for the pattern that should no longer be excluded.
 
- 
setEchopublic void setEcho(boolean echo) If true, echo the default excludes.- Parameters:
- echo- whether or not to echo the contents of the default excludes.
 
 
-