org.rhq.enterprise.server.plugins.url
Class RemotePackageInfo

java.lang.Object
  extended by org.rhq.enterprise.server.plugins.url.RemotePackageInfo
Direct Known Subclasses:
FullRemotePackageInfo

public class RemotePackageInfo
extends java.lang.Object


Nested Class Summary
static class RemotePackageInfo.SupportedPackageType
           
 
Constructor Summary
RemotePackageInfo(java.lang.String location, java.net.URL url, java.lang.String md5)
           
 
Method Summary
 java.lang.String getLocation()
           
 java.lang.String getMD5()
           
 RemotePackageInfo.SupportedPackageType getSupportedPackageType()
          If this package info knows it, this will return the package type that supports this package.
 java.net.URL getUrl()
           
 void setSupportedPackageType(RemotePackageInfo.SupportedPackageType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemotePackageInfo

public RemotePackageInfo(java.lang.String location,
                         java.net.URL url,
                         java.lang.String md5)
Method Detail

getLocation

public java.lang.String getLocation()

getUrl

public java.net.URL getUrl()

getMD5

public java.lang.String getMD5()

getSupportedPackageType

public RemotePackageInfo.SupportedPackageType getSupportedPackageType()
If this package info knows it, this will return the package type that supports this package. If this package info does not know its package type information, this will return null.

Returns:
known package type that supports this package or null if not known

setSupportedPackageType

public void setSupportedPackageType(RemotePackageInfo.SupportedPackageType type)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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