public class ExtraAttribute extends Object
Constructor and Description |
---|
ExtraAttribute() |
Modifier and Type | Method and Description |
---|---|
void |
setName(String name)
Set the name of the parameter.
|
void |
setValue(String value)
Set the value of the parameter.
|
void |
validate()
Make sure that neither the name or the value
is null.
|
public void setName(String name)
name
- the name of parameterpublic void setValue(String value)
value
- the parameter valuepublic void validate() throws BuildException
BuildException
- if the attribute is invalid.