public class ZapVersionsAddOnEntry extends BaseZapAddOnXmlData
ZapVersions.xml
file.
It also reads:
BaseZapAddOnXmlData.AddOnDep, BaseZapAddOnXmlData.Dependencies, BaseZapAddOnXmlData.ExtensionWithDeps
Constructor and Description |
---|
ZapVersionsAddOnEntry(org.apache.commons.configuration.HierarchicalConfiguration node) |
Modifier and Type | Method and Description |
---|---|
String |
getDate()
Returns the release date of the add-on.
|
String |
getFile()
Returns the name of the file of the add-on.
|
String |
getHash()
Returns the hash of the add-on file.
|
String |
getInfo()
Returns the URL to obtain more information about the add-on.
|
long |
getSize()
Returns the size of the add-on, in bytes.
|
protected void |
readAdditionalData(org.apache.commons.configuration.HierarchicalConfiguration zapAddOnData)
Reads additional data from the
ZapAddOn XML. |
getAddOnClassnames, getAuthor, getChanges, getDependencies, getDescription, getExtensions, getExtensionsWithDeps, getName, getNotBeforeVersion, getNotFromVersion, getPackageVersion, getRepo, getSemVer, getStatus, getStrings, getUrl, getVersion
public ZapVersionsAddOnEntry(org.apache.commons.configuration.HierarchicalConfiguration node)
protected void readAdditionalData(org.apache.commons.configuration.HierarchicalConfiguration zapAddOnData)
BaseZapAddOnXmlData
ZapAddOn
XML.
Called after reading the common data.
readAdditionalData
in class BaseZapAddOnXmlData
zapAddOnData
- the source of the ZapAddOn
XML data.public String getFile()
public long getSize()
public String getInfo()
public String getDate()
null
if not present.public String getHash()
null
if not present