public abstract class RWSConfigManager extends Object implements RWSConfig
Abstract RWSConfigManager class.
| Constructor and Description | 
|---|
RWSConfigManager()
Constructor for RWSConfigManager. 
 | 
RWSConfigManager(InputStream stream)
Constructor for RWSConfigManager. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.opennms.rancid.ConnectionProperties | 
getBase()
getBase 
 | 
BaseUrl | 
getBaseUrl()
getBaseUrl 
 | 
RwsConfiguration | 
getConfiguration()
Return the poller configuration object. 
 | 
org.opennms.rancid.ConnectionProperties | 
getNextStandBy()
getNextStandBy 
 | 
StandbyUrl | 
getNextStandbyUrl()
getNextStandbyUrl 
 | 
Lock | 
getReadLock()  | 
org.opennms.rancid.ConnectionProperties[] | 
getStandBy()
getStandBy 
 | 
List<StandbyUrl> | 
getStandbyUrls()
getStanbyUrls 
 | 
Lock | 
getWriteLock()  | 
boolean | 
hasStandbyUrl()
hasStandbyUrl 
 | 
protected void | 
reloadXML(InputStream stream)
reloadXML 
 | 
public RWSConfigManager()
Constructor for RWSConfigManager.
public RWSConfigManager(InputStream stream) throws IOException
Constructor for RWSConfigManager.
stream - a InputStream object.IOException - if any.public Lock getReadLock()
getReadLock in interface RWSConfigpublic Lock getWriteLock()
getWriteLock in interface RWSConfigpublic org.opennms.rancid.ConnectionProperties getBase()
getBase
public org.opennms.rancid.ConnectionProperties getNextStandBy()
getNextStandBy
getNextStandBy in interface RWSConfigConnectionProperties object.public org.opennms.rancid.ConnectionProperties[] getStandBy()
getStandBy
getStandBy in interface RWSConfigConnectionProperties objects.public BaseUrl getBaseUrl()
getBaseUrl
getBaseUrl in interface RWSConfigBaseUrl object.public List<StandbyUrl> getStandbyUrls()
getStanbyUrls
getStandbyUrls in interface RWSConfigStandbyUrl objects.public StandbyUrl getNextStandbyUrl()
getNextStandbyUrl
getNextStandbyUrl in interface RWSConfigStandbyUrl object.public boolean hasStandbyUrl()
hasStandbyUrl
hasStandbyUrl in interface RWSConfigprotected void reloadXML(InputStream stream) throws IOException
reloadXML
stream - a InputStream object.IOException - if any.public RwsConfiguration getConfiguration()
RwsConfiguration object.Copyright © 2021. All rights reserved.