|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.types.DataType | +--org.apache.tools.ant.types.AbstractFileSet | +--org.apache.tools.ant.types.FileSet | +--net.sf.antcontrib.cpptasks.types.ConditionalFileSet
An Ant FileSet object augmented with if and unless conditions.
Fields inherited from class org.apache.tools.ant.types.DataType |
checked,
description,
ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
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(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. |
Methods inherited from class org.apache.tools.ant.types.FileSet |
clone |
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet |
addAnd,
addContains,
addCustom,
addDate,
addDepend,
addDepth,
addFilename,
addMajority,
addNone,
addNot,
addOr,
addPresent,
addSelector,
addSize,
appendSelector,
createExclude,
createExcludesFile,
createInclude,
createIncludesFile,
createPatternSet,
getDataTypeName,
getDir,
getDirectoryScanner,
getSelectors,
hasPatterns,
hasSelectors,
selectorCount,
selectorElements,
setCaseSensitive,
setDefaultexcludes,
setDir,
setExcludes,
setExcludesfile,
setFollowSymlinks,
setIncludes,
setIncludesfile,
setRefid,
setupDirectoryScanner |
Methods inherited from class org.apache.tools.ant.types.DataType |
circularReference,
dieOnCircularReference,
getCheckedRef,
getDescription,
isReference,
noChildrenAllowed,
setDescription,
tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject,
log,
log,
setProject |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConditionalFileSet()
Method Detail |
public void setIf(java.lang.String propName)
public void setUnless(java.lang.String propName)
propName
- name of propertypublic boolean isActive() throws org.apache.tools.ant.BuildException
protected org.apache.tools.ant.types.AbstractFileSet getRef(org.apache.tools.ant.Project p)
public void execute() throws org.apache.tools.ant.BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |