|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.AbstractFileSet
org.apache.tools.ant.types.FileSet
com.github.maven_nar.cpptasks.types.ConditionalFileSet
public class ConditionalFileSet
An Ant FileSet object augmented with if and unless conditions.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
ConditionalFileSet()
|
|
| Method Summary | |
|---|---|
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(String propName)
Sets the property name for the 'if' condition. |
void |
setUnless(String propName)
Set the property name for the 'unless' condition. |
| Methods inherited from class org.apache.tools.ant.types.FileSet |
|---|
clone, isFilesystemOnly, iterator, size |
| Methods inherited from class org.apache.tools.ant.types.AbstractFileSet |
|---|
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, 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 |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalFileSet()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionprotected org.apache.tools.ant.types.AbstractFileSet getRef(org.apache.tools.ant.Project p)
getRef in class org.apache.tools.ant.types.AbstractFileSet
public boolean isActive()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void setIf(String propName)
public void setUnless(String propName)
propName - name of property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||