|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.RancidAdapterConfigManager
public abstract class RancidAdapterConfigManager
| Constructor Summary | |
|---|---|
RancidAdapterConfigManager()
|
|
RancidAdapterConfigManager(Reader reader,
String serverName,
boolean verifyServer)
|
|
| Method Summary | |
|---|---|
RancidConfiguration |
getConfiguration()
Return the Rancid Adapter configuration object. |
long |
getDelay(String ipaddr)
return the delay time for the specified address the delay time is the time in msec that represents a delay in the execution of a RancidAdapter execution |
int |
getRetries(String ipaddr)
return the number of retries in case of failure for the specified address |
List<Schedule> |
getSchedules(String ipaddress)
|
String |
getType(String sysoid)
return the Rancid Type String |
boolean |
hasSchedule(String ipaddress)
|
Iterable<String> |
includeURLs(Package pkg)
|
boolean |
isCurTimeInSchedule(String ipaddr)
Return if current time is ready to be scheduled. |
Iterable<Mapping> |
mappings()
|
Iterable<Package> |
packages()
|
Iterable<PolicyManage> |
policies()
|
void |
rebuildPackageIpListMap()
This method is used to rebuild the package agaist iplist mapping when needed. |
protected void |
reloadXML(Reader reader)
|
boolean |
useCategories(String ipaddr)
return if is to be used the opennms categories to get rancid device type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RancidAdapterConfigManager(Reader reader,
String serverName,
boolean verifyServer)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
reader - localServer - verifyServer -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOExceptionpublic RancidAdapterConfigManager()
| Method Detail |
|---|
protected void reloadXML(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOExceptionpublic long getDelay(String ipaddr)
RancidAdapterConfig
getDelay in interface RancidAdapterConfigipaddr - the ipaddress of the node
public int getRetries(String ipaddr)
RancidAdapterConfig
getRetries in interface RancidAdapterConfigipaddr - the ipaddress of the node
public boolean useCategories(String ipaddr)
RancidAdapterConfig
useCategories in interface RancidAdapterConfigipaddr - the ipaddress of the node
public String getType(String sysoid)
RancidAdapterConfig
getType in interface RancidAdapterConfigsysoid - the system OID identifier of the node
public boolean isCurTimeInSchedule(String ipaddr)
RancidAdapterConfig
isCurTimeInSchedule in interface RancidAdapterConfigipaddr - the ipaddress of the node
public boolean hasSchedule(String ipaddress)
public List<Schedule> getSchedules(String ipaddress)
public Iterable<Package> packages()
public Iterable<Mapping> mappings()
public Iterable<PolicyManage> policies()
public Iterable<String> includeURLs(Package pkg)
public RancidConfiguration getConfiguration()
public void rebuildPackageIpListMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||