org.rhq.enterprise.server.plugin.pc.content
Class ContentProviderPackageDetailsKey
java.lang.Object
org.rhq.core.domain.content.PackageDetailsKey
org.rhq.enterprise.server.plugin.pc.content.ContentProviderPackageDetailsKey
- All Implemented Interfaces:
- Serializable
public class ContentProviderPackageDetailsKey
- extends org.rhq.core.domain.content.PackageDetailsKey
The key to a content source package details that a ContentProvider will use when referring to package
versions it finds in the remote repository. It is the same as PackageDetailsKey with the addition of a
resource type natural key (which is name and agent plugin name), since that is needed to make package types unique
(along with the package type name itself, which is specified in the PackageDetailsKey superclass).
- See Also:
- Serialized Form
| Methods inherited from class org.rhq.core.domain.content.PackageDetailsKey |
getArchitectureName, getName, getPackageTypeName, getVersion |
ContentProviderPackageDetailsKey
public ContentProviderPackageDetailsKey(String name,
String version,
String packageTypeName,
String architectureName,
String resourceTypeName,
String resourceTypePluginName)
getResourceTypeName
public String getResourceTypeName()
- The name of the
ResourceType that this package's type belongs to. Package types are usually defined and
supported by a particular ResourceType, this name is part of the natural key of a resource type. See
plugin name for the other part.
- Returns:
- resource type name or null if the package type isn't tied to a resource type
getResourceTypePluginName
public String getResourceTypePluginName()
- The name of the plugin that defined the
ResourceType that this package's type belongs to. Package
types are usually defined and supported by a particular ResourceType, this plugin name is part of the natural key
of a resource type. See resource type name for the other part.
- Returns:
- the name of the plugin that defines the resource type that defined the package type or null if the package
type isn't tied to a resource type
toString
public String toString()
- Overrides:
toString in class org.rhq.core.domain.content.PackageDetailsKey
hashCode
public int hashCode()
- Overrides:
hashCode in class org.rhq.core.domain.content.PackageDetailsKey
equals
public boolean equals(Object obj)
- Overrides:
equals in class org.rhq.core.domain.content.PackageDetailsKey
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.