Package org.opennms.netmgt.poller.shell
Class ReadOnlyPollerConfigManager
- java.lang.Object
-
- org.opennms.netmgt.config.PollerConfigManager
-
- org.opennms.netmgt.poller.shell.ReadOnlyPollerConfigManager
-
- All Implemented Interfaces:
PathOutageConfig
,PollerConfig
public class ReadOnlyPollerConfigManager extends PollerConfigManager
This class can be used to read an up-to-date copy of poller-configuration.xml without affecting the global instance stored inPollerConfigFactory
.- Author:
- jwhite
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.config.PollerConfigManager
m_config
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadOnlyPollerConfigManager
create()
protected void
saveXml(java.lang.String xml)
saveXml-
Methods inherited from class org.opennms.netmgt.config.PollerConfigManager
addMonitor, addPackage, enumeratePackage, getAllPackageMatches, getConfiguration, getCriticalService, getDefaultCriticalPathIp, getDefaultCriticalPathRetries, getDefaultCriticalPathTimeout, getFirstLocalPackageMatch, getIpList, getNextOutageIdSql, getPackage, getPackages, getReadLock, getRRAList, getServiceInPackage, getServiceMonitor, getServiceMonitorLocators, getServiceMonitorNames, getServiceMonitorRegistry, getServiceMonitors, getServiceSelectorForPackage, getStep, getThreads, getWriteLock, isInterfaceInPackage, isNodeOutageProcessingEnabled, isPathOutageEnabled, isPolled, isPolled, isPolled, isPolledLocally, isPolledLocally, isServiceInPackageAndEnabled, isServiceMonitored, isServiceUnresponsiveEnabled, parameters, rebuildPackageIpListMap, save, setUpInternalData, shouldPollAllIfNoCriticalServiceDefined, update
-
-
-
-
Method Detail
-
create
public static ReadOnlyPollerConfigManager create() throws java.io.IOException
- Throws:
java.io.IOException
-
saveXml
protected void saveXml(java.lang.String xml) throws java.io.IOException
Description copied from class:PollerConfigManager
saveXml
- Specified by:
saveXml
in classPollerConfigManager
- Parameters:
xml
- aString
object.- Throws:
java.io.IOException
- if any.
-
-