org.opennms.netmgt.collectd
Class ServiceParameters

java.lang.Object
  extended by org.opennms.netmgt.collectd.ServiceParameters

public class ServiceParameters
extends Object


Constructor Summary
ServiceParameters(Map<String,String> parameters)
           
 
Method Summary
 int getMaxRepetitions(int current)
           
 Map<String,String> getParameters()
           
 String getReadCommunity(String current)
          This call returns a community string that may have been configured in a collector package
 int getSnmpPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceParameters

public ServiceParameters(Map<String,String> parameters)
Method Detail

getParameters

public Map<String,String> getParameters()

getReadCommunity

public String getReadCommunity(String current)
This call returns a community string that may have been configured in a collector package

Parameters:
current -
Returns:
The collection configured read community string or the passed in string if not configured

getSnmpPort

public int getSnmpPort()

getMaxRepetitions

public int getMaxRepetitions(int current)


Copyright ? 2008. All Rights Reserved.