|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface YumContext
| Method Summary | |
|---|---|
String |
basepath()
Get the path part of the base URL for yum requests. |
URL |
baseurl()
Get the base URL for yum requests. |
long |
getMetadataCacheTimeout()
Get the metadata timeout, in milliseconds. |
long |
getPackageBitsLength(org.rhq.core.domain.content.PackageDetailsKey key)
Get the length in bytes of the specified package. |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionMetadataComposite> |
getPackageVersionMetadata(org.rhq.core.domain.util.PageControl pc)
Get a list of all metadata entries for all packages mapped to the specified resource. |
org.rhq.core.domain.configuration.Configuration |
getPluginConfiguration()
Returns the plugin configuration. |
String |
getResourceSubscriptionMD5()
Get the MD5 of the resource's content subscription. |
File |
getTemporaryDirectory()
Get a reference to the temporary directory to be used for file construction and staging. |
int |
port()
Get the port specified in the base URL for yum requests. |
long |
writePackageBits(org.rhq.core.domain.content.PackageDetailsKey key,
long[] range,
OutputStream ostr)
Write the specified package bits to the specified stream. |
long |
writePackageBits(org.rhq.core.domain.content.PackageDetailsKey key,
OutputStream ostr)
Write the specified package bits to the specified stream. |
| Method Detail |
|---|
URL baseurl()
String basepath()
int port()
long writePackageBits(org.rhq.core.domain.content.PackageDetailsKey key,
OutputStream ostr)
key - The package key used to specify the package version.ostr - An open output stream.
long writePackageBits(org.rhq.core.domain.content.PackageDetailsKey key,
long[] range,
OutputStream ostr)
key - The package key used to specify the package version.range - The byte range to write (range[0]=first-byte, range[1]=last-byte).ostr - An open output stream.
long getPackageBitsLength(org.rhq.core.domain.content.PackageDetailsKey key)
key - The package key used to specify the package version.
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionMetadataComposite> getPackageVersionMetadata(org.rhq.core.domain.util.PageControl pc)
pc - A page control.
String getResourceSubscriptionMD5()
File getTemporaryDirectory()
org.rhq.core.domain.configuration.Configuration getPluginConfiguration()
long getMetadataCacheTimeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||