public class ConditionalFileSet
extends org.apache.tools.ant.types.FileSet
Constructor | Description |
---|---|
ConditionalFileSet() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
|
protected org.apache.tools.ant.types.AbstractFileSet |
getRef(org.apache.tools.ant.Project p) |
overrides FileSet's implementation which would throw an exception since
the referenced object isn't this type.
|
boolean |
isActive() |
Returns true if the Path's if and unless conditions (if any) are
satisfied.
|
void |
setIf(java.lang.String propName) |
Sets the property name for the 'if' condition.
|
void |
setUnless(java.lang.String propName) |
Set the property name for the 'unless' condition.
|
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
clone, isFilesystemOnly, iterator, size
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected org.apache.tools.ant.types.AbstractFileSet getRef(org.apache.tools.ant.Project p)
getRef
in class org.apache.tools.ant.types.FileSet
public boolean isActive() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setIf(java.lang.String propName)
public void setUnless(java.lang.String propName)
propName
- name of propertyCopyright ? 2001-2019 Ant-Contrib project. All Rights Reserved.