|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.capsd.CapsdConfiguration
public class CapsdConfiguration
Top-level element for the capsd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
CapsdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addIpManagement(int index,
IpManagement vIpManagement)
Method addIpManagement |
void |
addIpManagement(IpManagement vIpManagement)
Method addIpManagement |
void |
addProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
Method addProtocolPlugin |
void |
addProtocolPlugin(ProtocolPlugin vProtocolPlugin)
Method addProtocolPlugin |
void |
clearIpManagement()
Method clearIpManagement |
void |
clearProtocolPlugin()
Method clearProtocolPlugin |
void |
deleteInitialSleepTime()
Method deleteInitialSleepTime |
void |
deleteMaxRescanThreadPoolSize()
Method deleteMaxRescanThreadPoolSize |
void |
deleteMaxSuspectThreadPoolSize()
Method deleteMaxSuspectThreadPoolSize |
void |
deleteRescanFrequency()
Method deleteRescanFrequency |
java.util.Enumeration |
enumerateIpManagement()
Method enumerateIpManagement |
java.util.Enumeration |
enumerateProtocolPlugin()
Method enumerateProtocolPlugin |
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()
Method getIpManagement |
IpManagement |
getIpManagement(int index)
Method getIpManagement |
java.util.ArrayList |
getIpManagementCollection()
Method getIpManagementCollection Returns a reference to 'ipManagement'. |
int |
getIpManagementCount()
Method 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()
Method getProtocolPlugin |
ProtocolPlugin |
getProtocolPlugin(int index)
Method getProtocolPlugin |
java.util.ArrayList |
getProtocolPluginCollection()
Method getProtocolPluginCollection Returns a reference to 'protocolPlugin'. |
int |
getProtocolPluginCount()
Method 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()
Method hasInitialSleepTime |
boolean |
hasMaxRescanThreadPoolSize()
Method hasMaxRescanThreadPoolSize |
boolean |
hasMaxSuspectThreadPoolSize()
Method hasMaxSuspectThreadPoolSize |
boolean |
hasRescanFrequency()
Method hasRescanFrequency |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeIpManagement(IpManagement vIpManagement)
Method removeIpManagement |
boolean |
removeProtocolPlugin(ProtocolPlugin vProtocolPlugin)
Method removeProtocolPlugin |
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(java.util.ArrayList ipManagementCollection)
Method setIpManagement Sets the value of 'ipManagement' by copying the given ArrayList. |
void |
setIpManagement(int index,
IpManagement vIpManagement)
Method setIpManagement |
void |
setIpManagement(IpManagement[] ipManagementArray)
Method setIpManagement |
void |
setIpManagementCollection(java.util.ArrayList ipManagementCollection)
Method setIpManagementCollection Sets the value of 'ipManagement' by setting it to the given ArrayList. |
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(java.util.ArrayList protocolPluginCollection)
Method setProtocolPlugin Sets the value of 'protocolPlugin' by copying the given ArrayList. |
void |
setProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
Method setProtocolPlugin |
void |
setProtocolPlugin(ProtocolPlugin[] protocolPluginArray)
Method setProtocolPlugin |
void |
setProtocolPluginCollection(java.util.ArrayList protocolPluginCollection)
Method setProtocolPluginCollection Sets the value of 'protocolPlugin' by setting it to the given ArrayList. |
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 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 |
|---|
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 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.IndexOutOfBoundsExceptionpublic void clearIpManagement()
public void clearProtocolPlugin()
public void deleteInitialSleepTime()
public void deleteMaxRescanThreadPoolSize()
public void deleteMaxSuspectThreadPoolSize()
public void deleteRescanFrequency()
public java.util.Enumeration enumerateIpManagement()
public java.util.Enumeration enumerateProtocolPlugin()
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.IndexOutOfBoundsExceptionpublic IpManagement[] getIpManagement()
public java.util.ArrayList 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.IndexOutOfBoundsExceptionpublic ProtocolPlugin[] getProtocolPlugin()
public java.util.ArrayList 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.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeIpManagement(IpManagement vIpManagement)
vIpManagement -
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.IndexOutOfBoundsExceptionpublic void setIpManagement(IpManagement[] ipManagementArray)
ipManagementArray - public void setIpManagement(java.util.ArrayList ipManagementCollection)
ipManagementCollection - the Vector to copy.public void setIpManagementCollection(java.util.ArrayList ipManagementCollection)
ipManagementCollection - the ArrayList to copy.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.IndexOutOfBoundsExceptionpublic void setProtocolPlugin(ProtocolPlugin[] protocolPluginArray)
protocolPluginArray - public void setProtocolPlugin(java.util.ArrayList protocolPluginCollection)
protocolPluginCollection - the Vector to copy.public void setProtocolPluginCollection(java.util.ArrayList protocolPluginCollection)
protocolPluginCollection - the ArrayList to copy.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 java.lang.Object 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||