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:
- java.io.Serializable
public class ContentProviderPackageDetailsKey
- extends PackageDetailsKey
The key to a content provider 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
|
Constructor Summary |
ContentProviderPackageDetailsKey(java.lang.String name,
java.lang.String version,
java.lang.String packageTypeName,
java.lang.String architectureName,
java.lang.String resourceTypeName,
java.lang.String resourceTypePluginName)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ContentProviderPackageDetailsKey
public ContentProviderPackageDetailsKey(java.lang.String name,
java.lang.String version,
java.lang.String packageTypeName,
java.lang.String architectureName,
java.lang.String resourceTypeName,
java.lang.String resourceTypePluginName)
getResourceTypeName
public java.lang.String getResourceTypeName()
- The name of the
ResourceType that this package's type belongs to. All package types are 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
getResourceTypePluginName
public java.lang.String getResourceTypePluginName()
- The name of the plugin that defined the
ResourceType that this package's type belongs to. All package
types are 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
toString
public java.lang.String toString()
- Overrides:
toString in class PackageDetailsKey
hashCode
public int hashCode()
- Overrides:
hashCode in class PackageDetailsKey
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class PackageDetailsKey
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.