|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentProvider
Interface used by the server to communicate with a content source. Content sources implement this interface as well as any other source interfaces to further describe what functionality is provided by the content source.
The class name of this interface's implementation is the class name specified in the server plugin descriptor.
RepoSource,
PackageSource| Method Summary | |
|---|---|
SyncProgressWeight |
getSyncProgressWeight()
Fetch the Map of estimated 'weights' for the individual steps for syncing a ContentProvider. |
void |
initialize(org.rhq.core.domain.configuration.Configuration configuration)
Initializes the adapter with the configuration values indicating how to connect to the external source system. |
void |
shutdown()
Informs the adapter that it should shutdown. |
void |
testConnection()
Tests if the content source can communicate with the external package source. |
| Method Detail |
|---|
void initialize(org.rhq.core.domain.configuration.Configuration configuration)
throws Exception
configuration - user entered values describing how the content source should function.
Exception - if the content source has an issue being configured.void shutdown()
void testConnection()
throws Exception
initialize(Configuration) to ensure the adapter is in a configured state to run the test.
Exception - if the connection cannot be made to the external system.SyncProgressWeight getSyncProgressWeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||