| 
 | ||||||||||
| 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.Path
net.sf.antcontrib.cpptasks.types.ConditionalPath
public class ConditionalPath
An Ant Path object augmented with if and unless conditionals
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.apache.tools.ant.types.Path | 
|---|
| org.apache.tools.ant.types.Path.PathElement | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.types.Path | 
|---|
| systemBootClasspath, systemClasspath | 
| 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 | |
|---|---|
| ConditionalPath(org.apache.tools.ant.Project project) | |
| ConditionalPath(org.apache.tools.ant.Project p,
                java.lang.String path) | |
| Method Summary | |
|---|---|
|  boolean | isActive(org.apache.tools.ant.Project p)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.Path | 
|---|
| add, addDirset, addExisting, addExisting, addExtdirs, addFilelist, addFileset, addJavaRuntime, append, clone, concatSystemClasspath, concatSystemClasspath, createPath, createPathElement, dieOnCircularReference, list, setLocation, setPath, setRefid, size, toString, translateFile, translateFileSep, translatePath | 
| Methods inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checkAttributesAllowed, checkChildrenAllowed, circularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, 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, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConditionalPath(org.apache.tools.ant.Project project)
public ConditionalPath(org.apache.tools.ant.Project p,
                       java.lang.String path)
| Method Detail | 
|---|
public boolean isActive(org.apache.tools.ant.Project p)
                 throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void setIf(java.lang.String propName)
propName - property namepublic void setUnless(java.lang.String propName)
propName - name of property| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||