public class DirSet extends AbstractFileSet implements ResourceCollection
description, location, project| Modifier | Constructor and Description |
|---|---|
|
DirSet()
Constructor for DirSet.
|
protected |
DirSet(DirSet dirset)
Constructor for DirSet, with DirSet to shallowly clone.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Return a DirSet that has the same basedir and same patternsets
as this one.
|
protected AbstractFileSet |
getRef(Project p)
Performs the check for circular references and returns the
referenced FileSet.
|
boolean |
isFilesystemOnly()
Always returns true.
|
java.util.Iterator<Resource> |
iterator()
Fulfill the ResourceCollection contract.
|
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, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setRefid, setupDirectoryScanner, setupDirectoryScannercheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, 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 DirSet()
protected DirSet(DirSet dirset)
dirset - the dirset to clone.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.protected AbstractFileSet getRef(Project p)
AbstractFileSetgetRef()
providing implementations containing the special support
for FileSet references, which can be handled by all ArchiveFileSets.
NB! This method must be overridden in subclasses such as FileSet and DirSet
to distinguish between the data types.getRef in class AbstractFileSetp - the current project