|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
net.sf.antcontrib.cpptasks.VersionInfo
Version Information. (Non-functional prototype)
Field Summary |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
VersionInfo()
Constructor. |
Method Summary | |
void |
execute()
|
java.lang.String |
getCompanyname()
Gets Company name. |
java.lang.String |
getCompatibilityversion()
Gets compatibility version. |
java.lang.String |
getDescription()
Gets Description. |
java.lang.String |
getFilecomments()
Gets comments. |
java.lang.String |
getFileversion()
Gets file version. |
java.lang.String |
getInternalname()
Gets internal name. |
java.lang.String |
getLanguage()
Gets file language, should be an IETF RFC 3066 identifier, for example, en-US. |
java.lang.String |
getLegalcopyright()
Gets legal copyright. |
java.lang.String |
getLegaltrademark()
Gets legal trademark. |
java.lang.String |
getOriginalfilename()
Gets original filename. |
java.lang.String |
getPrivatebuild()
Gets private build. |
java.lang.String |
getProductname()
Gets product name. |
java.lang.String |
getProductversion()
Gets Product version. |
java.lang.String |
getSpecialbuild()
Special build |
boolean |
isActive()
Returns true if the define's if and unless conditions (if any) are satisfied. |
void |
setCompanyname(java.lang.String value)
Sets company name. |
void |
setCompatibilityversion(java.lang.String value)
Sets compatibility version. |
void |
setExtends(java.lang.String id)
Sets the name of a version info that this info extends. |
void |
setFilecomments(java.lang.String value)
Sets comments. |
void |
setFileversion(java.lang.String value)
Sets file version. |
void |
setId(java.lang.String id)
Sets an id that can be used to reference this element. |
void |
setIf(java.lang.String propName)
Sets the property name for the 'if' condition. |
void |
setInternalname(java.lang.String value)
Sets internal name. |
void |
setLanguage(java.lang.String value)
Sets language. |
void |
setLegalcopyright(java.lang.String value)
Sets legal copyright. |
void |
setLegaltrademark(java.lang.String value)
Sets legal trademark. |
void |
setOriginalfilename(java.lang.String value)
Sets original name. |
void |
setPrivatebuild(java.lang.String value)
Sets private build. |
void |
setProductname(java.lang.String value)
Sets product name. |
void |
setProductversion(java.lang.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(java.lang.String value)
Sets private build. |
void |
setUnless(java.lang.String propName)
Set the property name for the 'unless' condition. |
void |
writeResource(java.io.Writer writer,
org.apache.tools.ant.Project p,
java.lang.String executableName)
Writes windows resource |
Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VersionInfo()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public final boolean isActive() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- throws build exception if name is not setpublic void setId(java.lang.String id)
id
- idpublic void setExtends(java.lang.String id)
id
- idpublic final void setIf(java.lang.String propName)
propName
- property namepublic void setRefid(org.apache.tools.ant.types.Reference r) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public final void setUnless(java.lang.String propName)
propName
- name of propertypublic java.lang.String getFileversion()
public java.lang.String getProductversion()
public java.lang.String getCompatibilityversion()
public java.lang.String getLanguage()
public java.lang.String getFilecomments()
public java.lang.String getCompanyname()
public java.lang.String getDescription()
public java.lang.String getInternalname()
public java.lang.String getLegalcopyright()
public java.lang.String getLegaltrademark()
public java.lang.String getOriginalfilename()
public java.lang.String getPrivatebuild()
public java.lang.String getProductname()
public java.lang.String getSpecialbuild()
public void setFileversion(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setProductversion(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setCompatibilityversion(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setLanguage(java.lang.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 setFilecomments(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setCompanyname(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setInternalname(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setLegalcopyright(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setLegaltrademark(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setOriginalfilename(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setPrivatebuild(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setProductname(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void setSpecialbuild(java.lang.String value) throws org.apache.tools.ant.BuildException
value
- new value
org.apache.tools.ant.BuildException
- if specified with refidpublic void writeResource(java.io.Writer writer, org.apache.tools.ant.Project p, java.lang.String executableName) throws java.io.IOException
writer
- writer, may not be null.executableName
- name of executable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |