org.rhq.enterprise.server.plugin.pc.content
Interface RepoSource
public interface RepoSource
Indicates a content provider 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 provider return a list of all repos it wants to ensure exist in the server. |
importRepos
RepoImportReport importRepos()
throws java.lang.Exception
- Requests the content provider 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 provider, 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:
java.lang.Exception - if there is an error retrieving the repos that should be reported to the user
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.