org.rhq.enterprise.server.plugin.pc.content
Class ContentProviderPackageDetails

java.lang.Object
  extended by org.rhq.core.domain.content.PackageDetails
      extended by org.rhq.enterprise.server.plugin.pc.content.ContentProviderPackageDetails
All Implemented Interfaces:
Serializable

public class ContentProviderPackageDetails
extends org.rhq.core.domain.content.PackageDetails

These are the package details that a ContentProvider will use when refering to package versions it finds in the remote repository. It is the same as PackageDetails with the addition of a resource type name, since that is needed to make package types unique (along with the package type name itself, which is specified in the PackageDetails superclass).

Author:
John Mazzitelli
See Also:
Serialized Form

Constructor Summary
ContentProviderPackageDetails(ContentProviderPackageDetailsKey key)
           
 
Method Summary
 void addResourceVersion(String version)
           
 ContentProviderPackageDetailsKey getContentProviderPackageDetailsKey()
          Just a convienence method to return the key cast to the appropriate type.
 Set<String> getResourceVersions()
           
 void setResourceVersions(Set<String> resourceVersions)
           
 
Methods inherited from class org.rhq.core.domain.content.PackageDetails
equals, getArchitectureName, getClassification, getDisplayName, getDisplayVersion, getExtraProperties, getFileCreatedDate, getFileName, getFileSize, getKey, getLicenseName, getLicenseVersion, getLocation, getLongDescription, getMD5, getMetadata, getName, getPackageTypeName, getSHA256, getShortDescription, getVersion, hashCode, setClassification, setDisplayName, setDisplayVersion, setExtraProperties, setFileCreatedDate, setFileName, setFileSize, setLicenseName, setLicenseVersion, setLocation, setLongDescription, setMD5, setMetadata, setSHA256, setShortDescription, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentProviderPackageDetails

public ContentProviderPackageDetails(ContentProviderPackageDetailsKey key)
Method Detail

getContentProviderPackageDetailsKey

public ContentProviderPackageDetailsKey getContentProviderPackageDetailsKey()
Just a convienence method to return the key cast to the appropriate type.

Returns:
the key cast to the appropriate sub-type

getResourceVersions

public Set<String> getResourceVersions()

setResourceVersions

public void setResourceVersions(Set<String> resourceVersions)

addResourceVersion

public void addResourceVersion(String version)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.