public interface PackageInfo extends PackageInfo
Modifier and Type | Method and Description |
---|---|
void |
addCategoriesAsString(java.lang.String categoriesString) |
StringWithAlias |
getAllCodes() |
Version |
getApplicationVersion()
Returns the supported application version.
|
java.lang.String |
getArchitecture()
Returns the supported hardware architecture.
|
java.util.List |
getCategories() |
java.lang.String |
getCategoriesAsString() |
java.lang.String |
getCode() |
Dependencies |
getDependencies() |
java.lang.String |
getDescription() |
java.net.URL |
getDownloadURL()
Returns the package bundle download
URL . |
java.lang.String |
getDownloadURLAsString() |
java.lang.String |
getID() |
java.lang.String |
getJavaVM()
Returns the supported java vm version.
|
java.lang.String |
getModelVersion()
Returns the package info model version.
|
java.lang.String |
getName() |
java.lang.String |
getOperatingSystem()
Returns the supported operating system.
|
java.lang.String |
getOperatingSystemFamily() |
java.lang.String |
getOperatingSystemName() |
java.lang.String |
getOperatingSystemVersion() |
java.lang.String |
getOwner() |
java.net.URL |
getOwnerURL()
Returns the owner's url
URL . |
java.lang.String |
getPostInstallScript() |
java.lang.String |
getPreferedPackageFileName() |
java.net.URL |
getSourcesURL()
Returns the package source files url
URL . |
java.lang.String |
getState() |
java.lang.String |
getType() |
java.lang.Object |
getValue(java.lang.String name) |
Version |
getVersion() |
java.net.URL |
getWebURL()
Returns the package web url
URL . |
boolean |
hasThisCode(java.lang.String code) |
boolean |
isBroken() |
boolean |
isOfficial() |
boolean |
matchID(java.lang.String string) |
void |
setApplicationVersion(Version version)
Sets the supported application version.
|
void |
setArchitecture(java.lang.String architecture)
Sets the supported hardware architecture.
|
void |
setCategories(java.util.List categoriesList) |
void |
setCode(java.lang.String code) |
void |
setDependencies(Dependencies dependencies) |
void |
setDependencies(java.lang.String dependencies) |
void |
setDescription(java.lang.String description) |
void |
setDownloadURL(java.lang.String defaultDownloadURL) |
void |
setDownloadURL(java.net.URL defaultURL)
Sets the package bundle download
URL . |
void |
setJavaVM(java.lang.String javaVM)
Sets the supported java vm version.
|
void |
setModelVersion(java.lang.String modelVersion)
Sets the package info model version.
|
void |
setName(java.lang.String name) |
void |
setOfficial(boolean official) |
void |
setOperatingSystem(java.lang.String operatingSystem)
Sets the supported operating system.
|
void |
setOperatingSystemFamily(java.lang.String operatingSystemFamily) |
void |
setOperatingSystemName(java.lang.String operatingSystemName) |
void |
setOperatingSystemVersion(java.lang.String operatingSystemVersion) |
void |
setOwner(java.lang.String owner)
Sets the package owner.
|
void |
setOwnerURL(java.net.URL sources)
Sets the package owner's url.
|
void |
setPostInstallScript(java.lang.String script) |
void |
setSourcesURL(java.net.URL sources)
Sets the package sources.
|
void |
setState(java.lang.String state)
Sets the state of the package
|
void |
setType(java.lang.String type) |
void |
setValue(java.lang.String name,
java.lang.Object value) |
void |
setVersion(Version version) |
void |
setWebURL(java.net.URL webURL)
Sets the package web url
URL . |
java.lang.String |
toStringCompact() |
addFileToCopy, checkSignature, clearFilesToCopy, downloadFile, downloadFile, getAntScript, getBuild, getDownloadURL, getFilesToCopy, getFileToCopy, getGvSIGVersion, hasThisCode, isSigned, removeFilesFolder, removeFileToCopy, removeInstallFolder, setAntScript, setBuild, setGvSIGVersion, setVersion
clone, cloneQuietly, cloneQuietly
java.lang.String getCode()
getCode
in interface PackageInfo
void setCode(java.lang.String code)
setCode
in interface PackageInfo
StringWithAlias getAllCodes()
getAllCodes
in interface PackageInfo
boolean hasThisCode(java.lang.String code)
hasThisCode
in interface PackageInfo
java.lang.String getID()
getID
in interface PackageInfo
java.lang.String getName()
getName
in interface PackageInfo
void setName(java.lang.String name)
setName
in interface PackageInfo
java.lang.String getDescription()
getDescription
in interface PackageInfo
void setDescription(java.lang.String description)
setDescription
in interface PackageInfo
Version getVersion()
getVersion
in interface PackageInfo
void setVersion(Version version)
setVersion
in interface PackageInfo
java.lang.String getState()
getState
in interface PackageInfo
STATE
void setState(java.lang.String state)
setState
in interface PackageInfo
state
- STATE
boolean isOfficial()
isOfficial
in interface PackageInfo
void setOfficial(boolean official)
setOfficial
in interface PackageInfo
java.lang.String getType()
getType
in interface PackageInfo
void setType(java.lang.String type)
setType
in interface PackageInfo
java.lang.String getOperatingSystem()
getOperatingSystem
in interface PackageInfo
OS
void setOperatingSystem(java.lang.String operatingSystem)
setOperatingSystem
in interface PackageInfo
operatingSystem
- the supported operating systemOS
java.lang.String getOperatingSystemFamily()
getOperatingSystemFamily
in interface PackageInfo
java.lang.String getOperatingSystemName()
getOperatingSystemName
in interface PackageInfo
java.lang.String getOperatingSystemVersion()
getOperatingSystemVersion
in interface PackageInfo
void setOperatingSystemFamily(java.lang.String operatingSystemFamily)
setOperatingSystemFamily
in interface PackageInfo
void setOperatingSystemName(java.lang.String operatingSystemName)
setOperatingSystemName
in interface PackageInfo
void setOperatingSystemVersion(java.lang.String operatingSystemVersion)
setOperatingSystemVersion
in interface PackageInfo
java.lang.String getArchitecture()
getArchitecture
in interface PackageInfo
ARCH
void setArchitecture(java.lang.String architecture)
setArchitecture
in interface PackageInfo
architecture
- the supported hardware architectureARCH
java.lang.String getJavaVM()
getJavaVM
in interface PackageInfo
JVM
void setJavaVM(java.lang.String javaVM)
setJavaVM
in interface PackageInfo
javaVM
- the supported java vm versionJVM
Version getApplicationVersion()
getApplicationVersion
in interface PackageInfo
void setApplicationVersion(Version version)
setApplicationVersion
in interface PackageInfo
verion
- the supported application versionjava.net.URL getDownloadURL()
URL
.
May be null if there is no remote URL to download the bundle.getDownloadURL
in interface PackageInfo
URL
java.lang.String getDownloadURLAsString()
getDownloadURLAsString
in interface PackageInfo
void setDownloadURL(java.net.URL defaultURL)
URL
. Optional.setDownloadURL
in interface PackageInfo
defaultURL
- the package bundle download URL
void setDownloadURL(java.lang.String defaultDownloadURL)
setDownloadURL
in interface PackageInfo
java.lang.String getModelVersion()
getModelVersion
in interface PackageInfo
void setModelVersion(java.lang.String modelVersion)
setModelVersion
in interface PackageInfo
modelVersion
- the package info model versionjava.lang.String getOwner()
getOwner
in interface PackageInfo
void setOwner(java.lang.String owner)
setOwner
in interface PackageInfo
owner
- the package ownerjava.net.URL getOwnerURL()
URL
.getOwnerURL
in interface PackageInfo
URL
void setOwnerURL(java.net.URL sources)
setOwnerURL
in interface PackageInfo
sources
- the package owner's urljava.net.URL getSourcesURL()
URL
.getSourcesURL
in interface PackageInfo
URL
void setSourcesURL(java.net.URL sources)
setSourcesURL
in interface PackageInfo
sources
- the package sourcesjava.net.URL getWebURL()
URL
.getWebURL
in interface PackageInfo
URL
void setWebURL(java.net.URL webURL)
URL
.setWebURL
in interface PackageInfo
webURL
- the package web url URL
boolean matchID(java.lang.String string)
matchID
in interface PackageInfo
string
- Dependencies getDependencies()
getDependencies
in interface PackageInfo
void setDependencies(java.lang.String dependencies)
setDependencies
in interface PackageInfo
void setDependencies(Dependencies dependencies)
setDependencies
in interface PackageInfo
java.lang.String toStringCompact()
toStringCompact
in interface PackageInfo
java.util.List getCategories()
getCategories
in interface PackageInfo
void setCategories(java.util.List categoriesList)
setCategories
in interface PackageInfo
java.lang.String getCategoriesAsString()
getCategoriesAsString
in interface PackageInfo
void addCategoriesAsString(java.lang.String categoriesString)
addCategoriesAsString
in interface PackageInfo
boolean isBroken()
isBroken
in interface PackageInfo
java.lang.String getPostInstallScript()
void setPostInstallScript(java.lang.String script)
script
- void setValue(java.lang.String name, java.lang.Object value)
java.lang.Object getValue(java.lang.String name)
java.lang.String getPreferedPackageFileName()