public class JBossSoftwareContentSourceAdapter extends Object implements ContentProvider, PackageSource, RepoSource
| Constructor and Description |
|---|
JBossSoftwareContentSourceAdapter() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(String location) |
SyncProgressWeight |
getSyncProgressWeight() |
RepoImportReport |
importRepos() |
void |
initialize(Configuration configuration) |
void |
shutdown() |
void |
synchronizePackages(String repoName,
PackageSyncReport report,
Collection<ContentProviderPackageDetails> existingPackages) |
void |
testConnection() |
String |
toString() |
public void initialize(Configuration configuration) throws Exception
initialize in interface ContentProviderExceptionpublic void shutdown()
shutdown in interface ContentProviderpublic void testConnection()
throws Exception
testConnection in interface ContentProviderExceptionpublic void synchronizePackages(String repoName, PackageSyncReport report, Collection<ContentProviderPackageDetails> existingPackages) throws SyncException, InterruptedException
synchronizePackages in interface PackageSourceSyncExceptionInterruptedExceptionpublic InputStream getInputStream(String location) throws Exception
getInputStream in interface PackageSourceExceptionpublic RepoImportReport importRepos() throws Exception
importRepos in interface RepoSourceExceptionpublic SyncProgressWeight getSyncProgressWeight()
getSyncProgressWeight in interface ContentProviderCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.