public final class VersionInfo
extends org.apache.tools.ant.types.DataType
Constructor and Description |
---|
VersionInfo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Methods is required for documentation generation, throws
exception if called.
|
String |
getCompanyname()
Gets Company name.
|
String |
getCompatibilityversion()
Gets compatibility version.
|
org.apache.tools.ant.types.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(org.apache.tools.ant.types.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(org.apache.tools.ant.types.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.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if calledpublic String getCompanyname()
public String getCompatibilityversion()
public org.apache.tools.ant.types.Reference getExtends()
public String getFilecomments()
public String getFiledescription()
public String getFileversion()
public final String getIf()
public String getInternalname()
public String getLanguage()
public String getLegalcopyright()
public String getLegaltrademarks()
public String getOriginalfilename()
public Boolean getPatched()
public Boolean getPrerelease()
public String getPrivatebuild()
public String getProductname()
public String getProductversion()
public String getSpecialbuild()
public final String getUnless()
public final boolean isActive() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- throws build exception if name is not setpublic VersionInfo merge()
public void setCompanyname(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setCompatibilityversion(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setExtends(org.apache.tools.ant.types.Reference extendsRef) throws org.apache.tools.ant.BuildException
extendsRef
- Reference to the extended processor definition.org.apache.tools.ant.BuildException
- if this processor definition is a referencepublic void setFilecomments(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setFiledescription(String value)
value
- new valuepublic void setFileversion(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setId(String id)
id
- idpublic final void setIf(String propName)
propName
- property namepublic void setInternalname(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setLanguage(String value) throws org.apache.tools.ant.BuildException
value
- new value, should be an IETF RFC 3066 language identifier.org.apache.tools.ant.BuildException
- if specified with refidpublic void setLegalcopyright(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setLegaltrademarks(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setOriginalfilename(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setPatched(boolean value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setPrerelease(boolean value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setPrivatebuild(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setProductname(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setProductversion(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic void setRefid(org.apache.tools.ant.types.Reference r) throws org.apache.tools.ant.BuildException
setRefid
in class org.apache.tools.ant.types.DataType
org.apache.tools.ant.BuildException
public void setSpecialbuild(String value) throws org.apache.tools.ant.BuildException
value
- new valueorg.apache.tools.ant.BuildException
- if specified with refidpublic final void setUnless(String propName)
propName
- name of propertyCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.