org.opennms.netmgt.config
Class OpennmsServerConfigManager

java.lang.Object
  extended by org.opennms.netmgt.config.OpennmsServerConfigManager
Direct Known Subclasses:
OpennmsServerConfigFactory

public class OpennmsServerConfigManager
extends Object

OpennmsServerConfigManager class.


Constructor Summary
protected OpennmsServerConfigManager(InputStream is)
          Constructor for OpennmsServerConfigManager.
 
Method Summary
 String getDefaultCriticalPathIp()
          Return the default critical path IP
 int getDefaultCriticalPathRetries()
          Return the default critical path retries
 String getDefaultCriticalPathService()
          Return the default critical path service
 int getDefaultCriticalPathTimeout()
          Return the default critical path timeout
 String getServerName()
          Return the local opennms server name.
 boolean verifyServer()
          Return the boolean flag verify server to determine if poller what to use server to restrict services to poll.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpennmsServerConfigManager

protected OpennmsServerConfigManager(InputStream is)
                              throws org.exolab.castor.xml.MarshalException,
                                     org.exolab.castor.xml.ValidationException

Constructor for OpennmsServerConfigManager.

Parameters:
is - a InputStream object.
Throws:
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
Method Detail

getServerName

public String getServerName()
Return the local opennms server name.

Returns:
the name of the local opennms server

getDefaultCriticalPathIp

public String getDefaultCriticalPathIp()
Return the default critical path IP

Returns:
the default critical path IP

getDefaultCriticalPathService

public String getDefaultCriticalPathService()
Return the default critical path service

Returns:
the default critical path service

getDefaultCriticalPathTimeout

public int getDefaultCriticalPathTimeout()
Return the default critical path timeout

Returns:
the default critical path timeout

getDefaultCriticalPathRetries

public int getDefaultCriticalPathRetries()
Return the default critical path retries

Returns:
the default critical path retries

verifyServer

public boolean verifyServer()
Return the boolean flag verify server to determine if poller what to use server to restrict services to poll.

Returns:
boolean flag


Copyright © 2011. All Rights Reserved.