org.apache.tools.ant.types
public class PatternSet.NameEntry extends Object
Method Summary | |
---|---|
String | evalName(Project p)
This validates the name - checks the if and unless
properties.
|
String | getName() |
void | setIf(String cond)
Sets the if attribute. |
void | setName(String name)
Sets the name pattern.
|
void | setUnless(String cond)
Sets the unless attribute. |
String | toString() |
Parameters: p the current project, used to check the presence or absence of a property.
Returns: the name attribute or null if the "if" or "unless" properties are not/are set.
Returns: the name attribute.
Parameters: cond A property name. If this property is not present, the name is invalid.
Parameters: name The pattern string.
Parameters: cond A property name. If this property is present, the name is invalid.
Returns: a printable form of this object.