public class FileSet extends AbstractFileSet implements ResourceCollection
description, location, project
Modifier | Constructor and Description |
---|---|
|
FileSet()
Constructor for FileSet.
|
protected |
FileSet(FileSet fileset)
Constructor for FileSet, with FileSet to shallowly clone.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Return a FileSet 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.
|
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, setupDirectoryScanner, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isEmpty, stream
public FileSet()
protected FileSet(FileSet fileset)
fileset
- the fileset to clonepublic java.lang.Object clone()
clone
in class AbstractFileSet
public java.util.Iterator<Resource> iterator()
iterator
in interface java.lang.Iterable<Resource>
public int size()
size
in interface ResourceCollection
public boolean isFilesystemOnly()
isFilesystemOnly
in interface ResourceCollection
protected AbstractFileSet getRef(Project p)
AbstractFileSet
getRef()
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 AbstractFileSet
p
- the current project