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