org.opennms.netmgt.config.linkd
Class LinkdConfiguration

java.lang.Object
  extended by org.opennms.netmgt.config.linkd.LinkdConfiguration
All Implemented Interfaces:
java.io.Serializable

public class LinkdConfiguration
extends java.lang.Object
implements java.io.Serializable

Top-level element for the linkd-configuration.xml configuration file.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
LinkdConfiguration()
           
 
Method Summary
 void deleteAutoDiscovery()
          Method deleteAutoDiscovery
 void deleteDiscovery_link_interval()
          Method deleteDiscovery_link_interval
 void deleteEnableVlanDiscovery()
          Method deleteEnableVlanDiscovery
 void deleteInitial_sleep_time()
          Method deleteInitial_sleep_time
 void deleteSnmp_poll_interval()
          Method deleteSnmp_poll_interval
 void deleteThreads()
          Method deleteThreads
 boolean getAutoDiscovery()
          Returns the value of field 'autoDiscovery'.
 long getDiscovery_link_interval()
          Returns the value of field 'discovery_link_interval'.
 boolean getEnableVlanDiscovery()
          Returns the value of field 'enableVlanDiscovery'.
 long getInitial_sleep_time()
          Returns the value of field 'initial_sleep_time'.
 long getSnmp_poll_interval()
          Returns the value of field 'snmp_poll_interval'.
 int getThreads()
          Returns the value of field 'threads'.
 Vlans getVlans()
          Returns the value of field 'vlans'.
 boolean hasAutoDiscovery()
          Method hasAutoDiscovery
 boolean hasDiscovery_link_interval()
          Method hasDiscovery_link_interval
 boolean hasEnableVlanDiscovery()
          Method hasEnableVlanDiscovery
 boolean hasInitial_sleep_time()
          Method hasInitial_sleep_time
 boolean hasSnmp_poll_interval()
          Method hasSnmp_poll_interval
 boolean hasThreads()
          Method hasThreads
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAutoDiscovery(boolean autoDiscovery)
          Sets the value of field 'autoDiscovery'.
 void setDiscovery_link_interval(long discovery_link_interval)
          Sets the value of field 'discovery_link_interval'.
 void setEnableVlanDiscovery(boolean enableVlanDiscovery)
          Sets the value of field 'enableVlanDiscovery'.
 void setInitial_sleep_time(long initial_sleep_time)
          Sets the value of field 'initial_sleep_time'.
 void setSnmp_poll_interval(long snmp_poll_interval)
          Sets the value of field 'snmp_poll_interval'.
 void setThreads(int threads)
          Sets the value of field 'threads'.
 void setVlans(Vlans vlans)
          Sets the value of field 'vlans'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkdConfiguration

public LinkdConfiguration()
Method Detail

deleteAutoDiscovery

public void deleteAutoDiscovery()
Method deleteAutoDiscovery


deleteDiscovery_link_interval

public void deleteDiscovery_link_interval()
Method deleteDiscovery_link_interval


deleteEnableVlanDiscovery

public void deleteEnableVlanDiscovery()
Method deleteEnableVlanDiscovery


deleteInitial_sleep_time

public void deleteInitial_sleep_time()
Method deleteInitial_sleep_time


deleteSnmp_poll_interval

public void deleteSnmp_poll_interval()
Method deleteSnmp_poll_interval


deleteThreads

public void deleteThreads()
Method deleteThreads


getAutoDiscovery

public boolean getAutoDiscovery()
Returns the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: Whether ip addresses from devices unknown to OpenNMS should generate newSuspect events.

Returns:
boolean

getDiscovery_link_interval

public long getDiscovery_link_interval()
Returns the value of field 'discovery_link_interval'. The field 'discovery_link_interval' has the following description: Time interval in msec from last snmp collection and link discovery.

Returns:
long

getEnableVlanDiscovery

public boolean getEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: Whether Linkd has to find Vlans on devices to performs snmp data (Bridge) collection .

Returns:
boolean

getInitial_sleep_time

public long getInitial_sleep_time()
Returns the value of field 'initial_sleep_time'. The field 'initial_sleep_time' has the following description: The initial sleep time in msec before starting Snmp Collection.

Returns:
long

getSnmp_poll_interval

public long getSnmp_poll_interval()
Returns the value of field 'snmp_poll_interval'. The field 'snmp_poll_interval' has the following description: Snmp Poll Time interval in msec.

Returns:
long

getThreads

public int getThreads()
Returns the value of field 'threads'. The field 'threads' has the following description: The max number of threads used for polling snmp devices.

Returns:
int

getVlans

public Vlans getVlans()
Returns the value of field 'vlans'. The field 'vlans' has the following description: A section to get specific Vendors Vlan informations.

Returns:
Vlans

hasAutoDiscovery

public boolean hasAutoDiscovery()
Method hasAutoDiscovery

Returns:
boolean

hasDiscovery_link_interval

public boolean hasDiscovery_link_interval()
Method hasDiscovery_link_interval

Returns:
boolean

hasEnableVlanDiscovery

public boolean hasEnableVlanDiscovery()
Method hasEnableVlanDiscovery

Returns:
boolean

hasInitial_sleep_time

public boolean hasInitial_sleep_time()
Method hasInitial_sleep_time

Returns:
boolean

hasSnmp_poll_interval

public boolean hasSnmp_poll_interval()
Method hasSnmp_poll_interval

Returns:
boolean

hasThreads

public boolean hasThreads()
Method hasThreads

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAutoDiscovery

public void setAutoDiscovery(boolean autoDiscovery)
Sets the value of field 'autoDiscovery'. The field 'autoDiscovery' has the following description: Whether ip addresses from devices unknown to OpenNMS should generate newSuspect events.

Parameters:
autoDiscovery - the value of field 'autoDiscovery'.

setDiscovery_link_interval

public void setDiscovery_link_interval(long discovery_link_interval)
Sets the value of field 'discovery_link_interval'. The field 'discovery_link_interval' has the following description: Time interval in msec from last snmp collection and link discovery.

Parameters:
discovery_link_interval - the value of field 'discovery_link_interval'.

setEnableVlanDiscovery

public void setEnableVlanDiscovery(boolean enableVlanDiscovery)
Sets the value of field 'enableVlanDiscovery'. The field 'enableVlanDiscovery' has the following description: Whether Linkd has to find Vlans on devices to performs snmp data (Bridge) collection .

Parameters:
enableVlanDiscovery - the value of field 'enableVlanDiscovery'.

setInitial_sleep_time

public void setInitial_sleep_time(long initial_sleep_time)
Sets the value of field 'initial_sleep_time'. The field 'initial_sleep_time' has the following description: The initial sleep time in msec before starting Snmp Collection.

Parameters:
initial_sleep_time - the value of field 'initial_sleep_time'.

setSnmp_poll_interval

public void setSnmp_poll_interval(long snmp_poll_interval)
Sets the value of field 'snmp_poll_interval'. The field 'snmp_poll_interval' has the following description: Snmp Poll Time interval in msec.

Parameters:
snmp_poll_interval - the value of field 'snmp_poll_interval'.

setThreads

public void setThreads(int threads)
Sets the value of field 'threads'. The field 'threads' has the following description: The max number of threads used for polling snmp devices.

Parameters:
threads - the value of field 'threads'.

setVlans

public void setVlans(Vlans vlans)
Sets the value of field 'vlans'. The field 'vlans' has the following description: A section to get specific Vendors Vlan informations.

Parameters:
vlans - the value of field 'vlans'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.