public class ConditionalPath
extends org.apache.tools.ant.types.Path
Constructor and Description |
---|
ConditionalPath(org.apache.tools.ant.Project project) |
ConditionalPath(org.apache.tools.ant.Project p,
String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive(org.apache.tools.ant.Project p)
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.
|
add, add, addDirset, addExisting, addExisting, addExtdirs, addFilelist, addFileset, addJavaRuntime, append, assertFilesystemOnly, clone, concatSystemBootClasspath, concatSystemClasspath, concatSystemClasspath, createPath, createPathElement, delegateIteratorToList, dieOnCircularReference, isFilesystemOnly, iterator, list, setCache, setLocation, setPath, setRefid, size, toString, translateFile, translateFileSep, translatePath
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
public ConditionalPath(org.apache.tools.ant.Project project)
public ConditionalPath(org.apache.tools.ant.Project p, String path)
public boolean isActive(org.apache.tools.ant.Project p) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setIf(String propName)
propName
- property namepublic void setUnless(String propName)
propName
- name of propertyCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.