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.
|
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, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addReadable, addSelector, addSize, 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, setDir, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setRefid, setupDirectoryScanner, setupDirectoryScanner
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public DirSet()
protected DirSet(DirSet dirset)
dirset
- the dirset to clone.public java.lang.Object clone()
clone
in class AbstractFileSet
public java.util.Iterator<Resource> iterator()
iterator
in interface java.lang.Iterable<Resource>
iterator
in interface ResourceCollection
public int size()
size
in interface ResourceCollection
public boolean isFilesystemOnly()
isFilesystemOnly
in interface ResourceCollection
public java.lang.String toString()
toString
in class AbstractFileSet
String
of included directories.