|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface YumContext
| Method Summary | |
|---|---|
java.lang.String |
basepath()
Get the path part of the base URL for yum requests. |
java.net.URL |
baseurl()
Get the base URL for yum requests. |
long |
getMetadataCacheTimeout()
Get the metadata timeout, in milliseconds. |
long |
getPackageBitsLength(PackageDetailsKey key)
Get the length in bytes of the specified package. |
PageList<PackageVersionMetadataComposite> |
getPackageVersionMetadata(PageControl pc)
Get a list of all metadata entries for all packages mapped to the specified resource. |
Configuration |
getPluginConfiguration()
Returns the plugin configuration. |
java.lang.String |
getResourceSubscriptionMD5()
Get the MD5 of the resource's content subscription. |
java.io.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(PackageDetailsKey key,
long[] range,
java.io.OutputStream ostr)
Write the specified package bits to the specified stream. |
long |
writePackageBits(PackageDetailsKey key,
java.io.OutputStream ostr)
Write the specified package bits to the specified stream. |
| Method Detail |
|---|
java.net.URL baseurl()
java.lang.String basepath()
int port()
long writePackageBits(PackageDetailsKey key,
java.io.OutputStream ostr)
key - The package key used to specify the package version.ostr - An open output stream.
long writePackageBits(PackageDetailsKey key,
long[] range,
java.io.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(PackageDetailsKey key)
key - The package key used to specify the package version.
PageList<PackageVersionMetadataComposite> getPackageVersionMetadata(PageControl pc)
pc - A page control.
java.lang.String getResourceSubscriptionMD5()
java.io.File getTemporaryDirectory()
Configuration getPluginConfiguration()
long getMetadataCacheTimeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||