net.sf.antcontrib.cpptasks
public final class VersionInfo extends DataType
| Constructor Summary | |
|---|---|
| VersionInfo()
Constructor.
| |
| Method Summary | |
|---|---|
| void | execute()
Methods is required for documentation generation, throws
exception if called.
|
| String | getCompanyname()
Gets Company name. |
| String | getCompatibilityversion()
Gets compatibility version. |
| Reference | getExtends() |
| String | getFilecomments()
Gets comments. |
| String | getFiledescription()
Gets Description. |
| String | getFileversion()
Gets file version. |
| String | getIf()
Gets if property name. |
| String | getInternalname()
Gets internal name. |
| String | getLanguage()
Gets file language, should be an IETF RFC 3066 identifier, for example, en-US. |
| String | getLegalcopyright()
Gets legal copyright. |
| String | getLegaltrademarks()
Gets legal trademark. |
| String | getOriginalfilename()
Gets original filename. |
| Boolean | getPatched()
Gets patched. |
| Boolean | getPrerelease()
Gets prerelease. |
| String | getPrivatebuild()
Gets private build. |
| String | getProductname()
Gets product name. |
| String | getProductversion()
Gets Product version. |
| String | getSpecialbuild()
Special build |
| String | getUnless()
Gets if property name. |
| boolean | isActive()
Returns true if the define's if and unless conditions (if any) are
satisfied.
|
| VersionInfo | merge()
Returns a VersionInfo that reflects any inherited version information. |
| void | setCompanyname(String value)
Sets company name. |
| void | setCompatibilityversion(String value)
Sets compatibility version. |
| void | setExtends(Reference extendsRef)
Specifies that this element extends the element with id attribute with a
matching value. |
| void | setFilecomments(String value)
Sets comments. |
| void | setFiledescription(String value)
Sets file description. |
| void | setFileversion(String value)
Sets file version. |
| void | setId(String id)
Sets an id that can be used to reference this element.
|
| void | setIf(String propName)
Sets the property name for the 'if' condition.
|
| void | setInternalname(String value)
Sets internal name. |
| void | setLanguage(String value)
Sets language. |
| void | setLegalcopyright(String value)
Sets legal copyright. |
| void | setLegaltrademarks(String value)
Sets legal trademark. |
| void | setOriginalfilename(String value)
Sets original name. |
| void | setPatched(boolean value)
Sets prerelease. |
| void | setPrerelease(boolean value)
Sets prerelease. |
| void | setPrivatebuild(String value)
Sets private build. |
| void | setProductname(String value)
Sets product name. |
| void | setProductversion(String value)
Sets product version. |
| void | setRefid(Reference r)
Specifies that this element should behave as if the content of the
element with the matching id attribute was inserted at this location. |
| void | setSpecialbuild(String value)
Sets private build. |
| void | setUnless(String propName)
Set the property name for the 'unless' condition.
|
Throws: org.apache.tools.ant.BuildException if called
Returns: company name, may be null.
Returns: compatibility version, may be null
Returns: comments, may be null.
Returns: description, may be null.
Returns: file version, may be null.
Returns: property name, may be null.
Returns: internal name, may be null.
Returns: language, may be null.
Returns: legal copyright, may be null.
Returns: legal trademark, may be null;
Returns: original filename, may be null.
Returns: patched, may be null.
Returns: prerelease, may be null.
Returns: private build, may be null.
Returns: product name, may be null.
Returns: product version, may be null
Returns: special build, may be null.
Returns: property name, may be null.
Throws: BuildException throws build exception if name is not set
Returns: merged version information.
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: extendsRef Reference to the extended processor definition.
Throws: BuildException if this processor definition is a reference
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: id id
Parameters: propName property name
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value, should be an IETF RFC 3066 language identifier.
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: value new value
Throws: BuildException if specified with refid
Parameters: propName name of property