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 Object


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

Constructor Detail

RemotePackageInfo

public RemotePackageInfo(String location,
                         URL url,
                         String sha256)
Method Detail

getLocation

public String getLocation()

getUrl

public URL getUrl()

getSHA256

public String getSHA256()

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 String toString()
Overrides:
toString in class Object


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