org.apache.tools.ant.taskdefs.optional.extension

Class ExtraAttribute

public class ExtraAttribute extends Object

Simple holder for extra attributes in main section of manifest.

UNKNOWN: Refactor this and all the other parameter, sysproperty, property etc into a single class in framework

Method Summary
voidsetName(String name)
Set the name of the parameter.
voidsetValue(String value)
Set the value of the parameter.
voidvalidate()
Make sure that neither the name or the value is null.

Method Detail

setName

public void setName(String name)
Set the name of the parameter.

Parameters: name the name of parameter

setValue

public void setValue(String value)
Set the value of the parameter.

Parameters: value the parameter value

validate

public void validate()
Make sure that neither the name or the value is null.

Throws: BuildException if the attribute is invalid.

Copyright