public class MultiRootFileSet extends AbstractFileSet implements ResourceCollection
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiRootFileSet.SetType
What to return from the set: files, directories or both.
|
description, location, project| Constructor and Description |
|---|
MultiRootFileSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredBaseDir(FileResource r)
Adds a basedir as nested element.
|
java.lang.Object |
clone()
Return a MultiRootFileSet that has the same basedirs and same patternsets
as this one.
|
boolean |
isFilesystemOnly()
Always returns true.
|
java.util.Iterator<Resource> |
iterator()
Fulfill the ResourceCollection contract.
|
void |
setBaseDirs(java.lang.String dirs)
Adds basedirs as a comma separated list.
|
void |
setCache(boolean b)
Set whether to cache collections.
|
void |
setDir(java.io.File dir)
Sets the base-directory for this instance.
|
void |
setRefid(Reference r)
Makes this instance in effect a reference to another instance.
|
void |
setType(MultiRootFileSet.SetType type)
Determines the types of resources to return.
|
int |
size()
Fulfill the ResourceCollection contract.
|
java.lang.String |
toString()
Returns included directories as a list of semicolon-separated paths.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPosixGroup, addPosixPermissions, addPresent, addReadable, addSelector, addSize, addSymlink, addType, addWritable, appendExcludes, appendIncludes, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, dieOnCircularReference, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getErrorOnMissingDir, getMaxLevelsOfSymlinks, getRef, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setupDirectoryScanner, setupDirectoryScannercheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEmpty, streampublic void setDir(java.io.File dir)
AbstractFileSetsetDir in class AbstractFileSetdir - the directory's File instance.public void setType(MultiRootFileSet.SetType type)
type - the types of resources to returnpublic void setCache(boolean b)
b - boolean cache flag.public void setBaseDirs(java.lang.String dirs)
dirs - directories as CSVpublic void addConfiguredBaseDir(FileResource r)
r - basedirpublic void setRefid(Reference r)
AbstractFileSetYou must not set another attribute or nest elements inside this element if you make it a reference.
setRefid in class AbstractFileSetr - the Reference to use.public java.lang.Object clone()
clone in class AbstractFileSetpublic java.util.Iterator<Resource> iterator()
iterator in interface java.lang.Iterable<Resource>public int size()
size in interface ResourceCollectionpublic boolean isFilesystemOnly()
isFilesystemOnly in interface ResourceCollectionpublic java.lang.String toString()
toString in class AbstractFileSetString of included directories.