Package org.apache.tools.ant.attribute
Class IfSetAttribute
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.attribute.BaseIfAttribute
org.apache.tools.ant.attribute.IfSetAttribute
- All Implemented Interfaces:
- Cloneable,- EnableAttribute
- Direct Known Subclasses:
- IfSetAttribute.Unless
Check if an attribute value as a property is set or not
- Since:
- Ant 1.9.1
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisEnabled(UnknownElement el, String value) check if the attribute value is blank or not is enabled.Methods inherited from class org.apache.tools.ant.attribute.BaseIfAttributeconvertResult, getParams, isPositive, setPositiveMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
IfSetAttributepublic IfSetAttribute()
 
- 
- 
Method Details- 
isEnabledcheck if the attribute value is blank or not is enabled.- Parameters:
- el- the unknown element this attribute is in.
- value- the value of the attribute.
- Returns:
- true if the attribute enables the element, false otherwise.
 
 
-