public interface ContentProvider
RepoSource,
PackageSource| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.