public abstract class GlobMatchingTask
extends org.apache.tools.ant.taskdefs.MatchingTask
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
destDir |
| Constructor and Description |
|---|
GlobMatchingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkParameters()
Check that all required attributes have been set and nothing silly has been entered.
|
void |
execute() |
java.io.File |
getDestdir()
Gets the destination directory into which the java source files should be compiled.
|
protected abstract java.lang.String |
getFrom() |
org.apache.tools.ant.types.Path |
getSrcdir()
Gets the source dirs to find the class files to be exposed.
|
protected abstract java.lang.String |
getTo() |
protected abstract void |
process(java.util.Set<java.io.File> matches) |
protected void |
scanDir(java.io.File srcDir,
java.io.File destDir,
java.lang.String[] files) |
void |
setDestdir(java.io.File destDir)
Set the destination directory into which the Java source files should be compiled.
|
void |
setSrcdir(org.apache.tools.ant.types.Path srcDir)
Set the source directories to find the class files to be exposed.
|
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, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setSrcdir(org.apache.tools.ant.types.Path srcDir)
public org.apache.tools.ant.types.Path getSrcdir()
public void setDestdir(java.io.File destDir)
destDir - the destination directorpublic java.io.File getDestdir()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected abstract void process(java.util.Set<java.io.File> matches)
protected abstract java.lang.String getFrom()
protected abstract java.lang.String getTo()
protected void scanDir(java.io.File srcDir,
java.io.File destDir,
java.lang.String[] files)
protected void checkParameters()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException