org.rhq.core.domain.content
Class PackageDetails
java.lang.Object
org.rhq.core.domain.content.PackageDetails
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ResourcePackageDetails
public class PackageDetails
- extends Object
- implements Serializable
Content source plugin representation of a package. Instances of this class are accessible to the content source to
describe the server's last known set of packages for the content source.
This is also the same object used in the plugin container to deal with details of a specific package.
- See Also:
- Serialized Form
Constructor Summary |
PackageDetails(PackageDetailsKey key)
Creates a new PackageDetails object that describes the package version identified in the specified
key. |
PackageDetails
public PackageDetails(PackageDetailsKey key)
- Creates a new
PackageDetails
object that describes the package version identified in the specified
key.
- Parameters:
key
- identifies the package; cannot be null
getKey
public PackageDetailsKey getKey()
getName
public String getName()
getVersion
public String getVersion()
getArchitectureName
public String getArchitectureName()
getPackageTypeName
public String getPackageTypeName()
getDisplayVersion
public String getDisplayVersion()
setDisplayVersion
public void setDisplayVersion(String displayVersion)
getClassification
public String getClassification()
setClassification
public void setClassification(String classification)
getDisplayName
public String getDisplayName()
setDisplayName
public void setDisplayName(String displayName)
getShortDescription
public String getShortDescription()
setShortDescription
public void setShortDescription(String shortDescription)
getLongDescription
public String getLongDescription()
setLongDescription
public void setLongDescription(String longDescription)
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getFileSize
public Long getFileSize()
setFileSize
public void setFileSize(Long fileSize)
getMD5
public String getMD5()
setMD5
public void setMD5(String MD5)
getSHA256
public String getSHA256()
setSHA256
public void setSHA256(String sha)
getFileCreatedDate
public Long getFileCreatedDate()
setFileCreatedDate
public void setFileCreatedDate(Long fileCreatedDate)
getLicenseName
public String getLicenseName()
setLicenseName
public void setLicenseName(String licenseName)
getLicenseVersion
public String getLicenseVersion()
setLicenseVersion
public void setLicenseVersion(String licenseVersion)
getMetadata
public byte[] getMetadata()
setMetadata
public void setMetadata(byte[] metadata)
getExtraProperties
public Configuration getExtraProperties()
setLocation
public void setLocation(String location)
getLocation
public String getLocation()
setExtraProperties
public void setExtraProperties(Configuration properties)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.