|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.capsd.CapsdConfiguration
Field Summary | |
private java.lang.String |
_abortProtocolScansIfNoRoute
|
private java.lang.String |
_deletePropagationEnabled
|
private boolean |
_has_initialSleepTime
keeps track of state for field: _initialSleepTime |
private boolean |
_has_maxRescanThreadPoolSize
keeps track of state for field: _maxRescanThreadPoolSize |
private boolean |
_has_maxSuspectThreadPoolSize
keeps track of state for field: _maxSuspectThreadPoolSize |
private boolean |
_has_rescanFrequency
keeps track of state for field: _rescanFrequency |
private long |
_initialSleepTime
|
private java.util.ArrayList |
_ipManagementList
|
private java.lang.String |
_managementPolicy
|
private int |
_maxRescanThreadPoolSize
|
private int |
_maxSuspectThreadPoolSize
|
private java.util.ArrayList |
_protocolPluginList
|
private long |
_rescanFrequency
|
private SmbConfig |
_smbConfig
|
private java.lang.String |
_xmlrpc
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
CapsdConfiguration()
|
Method Summary | |
void |
addIpManagement(int index,
IpManagement vIpManagement)
|
void |
addIpManagement(IpManagement vIpManagement)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
|
void |
addProtocolPlugin(ProtocolPlugin vProtocolPlugin)
|
void |
clearIpManagement()
|
void |
clearProtocolPlugin()
|
void |
deleteInitialSleepTime()
|
void |
deleteRescanFrequency()
|
java.util.Enumeration |
enumerateIpManagement()
|
java.util.Enumeration |
enumerateProtocolPlugin()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getAbortProtocolScansIfNoRoute()
Returns the value of field 'abortProtocolScansIfNoRoute'. |
java.lang.String |
getDeletePropagationEnabled()
Returns the value of field 'deletePropagationEnabled'. |
long |
getInitialSleepTime()
Returns the value of field 'initialSleepTime'. |
IpManagement[] |
getIpManagement()
|
IpManagement |
getIpManagement(int index)
|
java.util.Collection |
getIpManagementCollection()
|
int |
getIpManagementCount()
|
java.lang.String |
getManagementPolicy()
Returns the value of field 'managementPolicy'. |
int |
getMaxRescanThreadPoolSize()
Returns the value of field 'maxRescanThreadPoolSize'. |
int |
getMaxSuspectThreadPoolSize()
Returns the value of field 'maxSuspectThreadPoolSize'. |
ProtocolPlugin[] |
getProtocolPlugin()
|
ProtocolPlugin |
getProtocolPlugin(int index)
|
java.util.Collection |
getProtocolPluginCollection()
|
int |
getProtocolPluginCount()
|
long |
getRescanFrequency()
Returns the value of field 'rescanFrequency'. |
SmbConfig |
getSmbConfig()
Returns the value of field 'smbConfig'. |
java.lang.String |
getXmlrpc()
Returns the value of field 'xmlrpc'. |
boolean |
hasInitialSleepTime()
|
boolean |
hasMaxRescanThreadPoolSize()
|
boolean |
hasMaxSuspectThreadPoolSize()
|
boolean |
hasRescanFrequency()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeIpManagement(IpManagement vIpManagement)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeProtocolPlugin(ProtocolPlugin vProtocolPlugin)
|
void |
setAbortProtocolScansIfNoRoute(java.lang.String abortProtocolScansIfNoRoute)
Sets the value of field 'abortProtocolScansIfNoRoute'. |
void |
setDeletePropagationEnabled(java.lang.String deletePropagationEnabled)
Sets the value of field 'deletePropagationEnabled'. |
void |
setInitialSleepTime(long initialSleepTime)
Sets the value of field 'initialSleepTime'. |
void |
setIpManagement(int index,
IpManagement vIpManagement)
|
void |
setIpManagement(IpManagement[] ipManagementArray)
|
void |
setIpManagementCollection(java.util.Collection vIpManagement)
|
void |
setManagementPolicy(java.lang.String managementPolicy)
Sets the value of field 'managementPolicy'. |
void |
setMaxRescanThreadPoolSize(int maxRescanThreadPoolSize)
Sets the value of field 'maxRescanThreadPoolSize'. |
void |
setMaxSuspectThreadPoolSize(int maxSuspectThreadPoolSize)
Sets the value of field 'maxSuspectThreadPoolSize'. |
void |
setProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
|
void |
setProtocolPlugin(ProtocolPlugin[] protocolPluginArray)
|
void |
setProtocolPluginCollection(java.util.Collection vProtocolPlugin)
|
void |
setRescanFrequency(long rescanFrequency)
Sets the value of field 'rescanFrequency'. |
void |
setSmbConfig(SmbConfig smbConfig)
Sets the value of field 'smbConfig'. |
void |
setXmlrpc(java.lang.String xmlrpc)
Sets the value of field 'xmlrpc'. |
static CapsdConfiguration |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private long _rescanFrequency
private boolean _has_rescanFrequency
private long _initialSleepTime
private boolean _has_initialSleepTime
private int _maxSuspectThreadPoolSize
private boolean _has_maxSuspectThreadPoolSize
private int _maxRescanThreadPoolSize
private boolean _has_maxRescanThreadPoolSize
private java.lang.String _managementPolicy
private java.lang.String _abortProtocolScansIfNoRoute
private java.lang.String _deletePropagationEnabled
private java.lang.String _xmlrpc
private java.util.ArrayList _protocolPluginList
private SmbConfig _smbConfig
private java.util.ArrayList _ipManagementList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public CapsdConfiguration()
Method Detail |
public void addIpManagement(IpManagement vIpManagement) throws java.lang.IndexOutOfBoundsException
vIpManagement
-
java.lang.IndexOutOfBoundsException
public void addIpManagement(int index, IpManagement vIpManagement) throws java.lang.IndexOutOfBoundsException
index
- vIpManagement
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void addProtocolPlugin(ProtocolPlugin vProtocolPlugin) throws java.lang.IndexOutOfBoundsException
vProtocolPlugin
-
java.lang.IndexOutOfBoundsException
public void addProtocolPlugin(int index, ProtocolPlugin vProtocolPlugin) throws java.lang.IndexOutOfBoundsException
index
- vProtocolPlugin
-
java.lang.IndexOutOfBoundsException
public void clearIpManagement()
public void clearProtocolPlugin()
public void deleteInitialSleepTime()
public void deleteRescanFrequency()
public java.util.Enumeration enumerateIpManagement()
public java.util.Enumeration enumerateProtocolPlugin()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getAbortProtocolScansIfNoRoute()
public java.lang.String getDeletePropagationEnabled()
public long getInitialSleepTime()
public IpManagement getIpManagement(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public IpManagement[] getIpManagement()
public java.util.Collection getIpManagementCollection()
public int getIpManagementCount()
public java.lang.String getManagementPolicy()
public int getMaxRescanThreadPoolSize()
public int getMaxSuspectThreadPoolSize()
public ProtocolPlugin getProtocolPlugin(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public ProtocolPlugin[] getProtocolPlugin()
public java.util.Collection getProtocolPluginCollection()
public int getProtocolPluginCount()
public long getRescanFrequency()
public SmbConfig getSmbConfig()
public java.lang.String getXmlrpc()
public boolean hasInitialSleepTime()
public boolean hasMaxRescanThreadPoolSize()
public boolean hasMaxSuspectThreadPoolSize()
public boolean hasRescanFrequency()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeIpManagement(IpManagement vIpManagement)
vIpManagement
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeProtocolPlugin(ProtocolPlugin vProtocolPlugin)
vProtocolPlugin
- public void setAbortProtocolScansIfNoRoute(java.lang.String abortProtocolScansIfNoRoute)
abortProtocolScansIfNoRoute
- the value of field
'abortProtocolScansIfNoRoute'.public void setDeletePropagationEnabled(java.lang.String deletePropagationEnabled)
deletePropagationEnabled
- the value of field
'deletePropagationEnabled'.public void setInitialSleepTime(long initialSleepTime)
initialSleepTime
- the value of field 'initialSleepTime'public void setIpManagement(int index, IpManagement vIpManagement) throws java.lang.IndexOutOfBoundsException
index
- vIpManagement
-
java.lang.IndexOutOfBoundsException
public void setIpManagement(IpManagement[] ipManagementArray)
ipManagementArray
- public void setIpManagementCollection(java.util.Collection vIpManagement)
vIpManagement
- public void setManagementPolicy(java.lang.String managementPolicy)
managementPolicy
- the value of field 'managementPolicy'public void setMaxRescanThreadPoolSize(int maxRescanThreadPoolSize)
maxRescanThreadPoolSize
- the value of field
'maxRescanThreadPoolSize'.public void setMaxSuspectThreadPoolSize(int maxSuspectThreadPoolSize)
maxSuspectThreadPoolSize
- the value of field
'maxSuspectThreadPoolSize'.public void setProtocolPlugin(int index, ProtocolPlugin vProtocolPlugin) throws java.lang.IndexOutOfBoundsException
index
- vProtocolPlugin
-
java.lang.IndexOutOfBoundsException
public void setProtocolPlugin(ProtocolPlugin[] protocolPluginArray)
protocolPluginArray
- public void setProtocolPluginCollection(java.util.Collection vProtocolPlugin)
vProtocolPlugin
- public void setRescanFrequency(long rescanFrequency)
rescanFrequency
- the value of field 'rescanFrequency'.public void setSmbConfig(SmbConfig smbConfig)
smbConfig
- the value of field 'smbConfig'.public void setXmlrpc(java.lang.String xmlrpc)
xmlrpc
- the value of field 'xmlrpc'.public static CapsdConfiguration unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |