|
||||||||||
| 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
Abstract RancidAdapterConfigManager class.
| Constructor Summary | |
|---|---|
RancidAdapterConfigManager()
Constructor for RancidAdapterConfigManager. |
|
RancidAdapterConfigManager(InputStream reader,
String serverName,
boolean verifyServer)
Constructor for RancidAdapterConfigManager. |
|
| 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)
getSchedules |
String |
getType(String sysoid)
return the Rancid Type String |
boolean |
hasSchedule(String ipaddress)
hasSchedule |
Iterable<String> |
includeURLs(Package pkg)
includeURLs |
boolean |
isCurTimeInSchedule(String ipaddr)
Return if current time is ready to be scheduled. |
Iterable<Mapping> |
mappings()
mappings |
Iterable<Package> |
packages()
packages |
Iterable<PolicyManage> |
policies()
policies |
void |
rebuildPackageIpListMap()
This method is used to rebuild the package agaist iplist mapping when needed. |
protected void |
reloadXML(InputStream reader)
reloadXML |
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(InputStream reader,
String serverName,
boolean verifyServer)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
Constructor for RancidAdapterConfigManager.
reader - a InputStream object.verifyServer - a boolean.serverName - a String object.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
IOException - if any.public RancidAdapterConfigManager()
Constructor for RancidAdapterConfigManager.
| Method Detail |
|---|
protected void reloadXML(InputStream reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
reloadXML
reader - a InputStream object.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
IOException - if any.public long getDelay(String ipaddr)
getDelay in interface RancidAdapterConfigipaddr - the ipaddress of the node
public int getRetries(String ipaddr)
getRetries in interface RancidAdapterConfigipaddr - the ipaddress of the node
public boolean useCategories(String ipaddr)
useCategories in interface RancidAdapterConfigipaddr - the ipaddress of the node
public String getType(String sysoid)
getType in interface RancidAdapterConfigsysoid - the system OID identifier of the node
public boolean isCurTimeInSchedule(String ipaddr)
isCurTimeInSchedule in interface RancidAdapterConfigipaddr - the ipaddress of the node
public boolean hasSchedule(String ipaddress)
hasSchedule
ipaddress - a String object.
public List<Schedule> getSchedules(String ipaddress)
getSchedules
ipaddress - a String object.
List object.public Iterable<Package> packages()
packages
Iterable object.public Iterable<Mapping> mappings()
mappings
Iterable object.public Iterable<PolicyManage> policies()
policies
Iterable object.public Iterable<String> includeURLs(Package pkg)
includeURLs
pkg - a Package object.
Iterable object.public RancidConfiguration getConfiguration()
RancidConfiguration object.public void rebuildPackageIpListMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||