org.rhq.enterprise.server.plugin.pc.content
Interface RepoSource
public interface RepoSource
Indicates a content source has the capability to provide repos into the server. Repo synchronization will be
done through calls defined in this interface. This interface should use the configuration settings
passed into the plugin through ContentProvider.initialize(org.rhq.core.domain.configuration.Configuration)
- Author:
- Jason Dobies
|
Method Summary |
RepoImportReport |
importRepos()
Requests the content source return a list of all repos it wants to ensure exist in the server. |
importRepos
RepoImportReport importRepos()
throws Exception
- Requests the content source return a list of all repos it wants to ensure exist in the server. This call
should return the current state of the repos as known to the content source, not a diff of what has
changed from the previous call to it. The server will resolve the differences.
- Returns:
- contains a list of all groups and repos to be imported into the system
- Throws:
Exception - if there is an error retrieving the repos that should be reported to the user
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.