|
|||||||||
| 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)
|
void |
addIpManagement(IpManagement vIpManagement)
|
void |
addProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
|
void |
addProtocolPlugin(ProtocolPlugin vProtocolPlugin)
|
void |
deleteInitialSleepTime()
|
void |
deleteMaxRescanThreadPoolSize()
|
void |
deleteMaxSuspectThreadPoolSize()
|
void |
deleteRescanFrequency()
|
Enumeration<IpManagement> |
enumerateIpManagement()
Method enumerateIpManagement. |
Enumeration<ProtocolPlugin> |
enumerateProtocolPlugin()
Method enumerateProtocolPlugin. |
String |
getAbortProtocolScansIfNoRoute()
Returns the value of field 'abortProtocolScansIfNoRoute'. |
String |
getDeletePropagationEnabled()
Returns the value of field 'deletePropagationEnabled'. |
long |
getInitialSleepTime()
Returns the value of field 'initialSleepTime'. |
IpManagement[] |
getIpManagement()
Method getIpManagement.Returns the contents of the collection in an Array. |
IpManagement |
getIpManagement(int index)
Method getIpManagement. |
List<IpManagement> |
getIpManagementCollection()
Method getIpManagementCollection.Returns a reference to '_ipManagementList'. |
int |
getIpManagementCount()
Method getIpManagementCount. |
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.Returns the contents of the collection in an Array. |
ProtocolPlugin |
getProtocolPlugin(int index)
Method getProtocolPlugin. |
List<ProtocolPlugin> |
getProtocolPluginCollection()
Method getProtocolPluginCollection.Returns a reference to '_protocolPluginList'. |
int |
getProtocolPluginCount()
Method getProtocolPluginCount. |
long |
getRescanFrequency()
Returns the value of field 'rescanFrequency'. |
SmbConfig |
getSmbConfig()
Returns the value of field 'smbConfig'. |
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. |
Iterator<IpManagement> |
iterateIpManagement()
Method iterateIpManagement. |
Iterator<ProtocolPlugin> |
iterateProtocolPlugin()
Method iterateProtocolPlugin. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllIpManagement()
|
void |
removeAllProtocolPlugin()
|
boolean |
removeIpManagement(IpManagement vIpManagement)
Method removeIpManagement. |
IpManagement |
removeIpManagementAt(int index)
Method removeIpManagementAt. |
boolean |
removeProtocolPlugin(ProtocolPlugin vProtocolPlugin)
Method removeProtocolPlugin. |
ProtocolPlugin |
removeProtocolPluginAt(int index)
Method removeProtocolPluginAt. |
void |
setAbortProtocolScansIfNoRoute(String abortProtocolScansIfNoRoute)
Sets the value of field 'abortProtocolScansIfNoRoute'. |
void |
setDeletePropagationEnabled(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[] vIpManagementArray)
|
void |
setIpManagement(List<IpManagement> vIpManagementList)
Sets the value of '_ipManagementList' by copying the given Vector. |
void |
setIpManagementCollection(List<IpManagement> ipManagementList)
Deprecated. |
void |
setManagementPolicy(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(List<ProtocolPlugin> vProtocolPluginList)
Sets the value of '_protocolPluginList' by copying the given Vector. |
void |
setProtocolPlugin(ProtocolPlugin[] vProtocolPluginArray)
|
void |
setProtocolPluginCollection(List<ProtocolPlugin> protocolPluginList)
Deprecated. |
void |
setRescanFrequency(long rescanFrequency)
Sets the value of field 'rescanFrequency'. |
void |
setSmbConfig(SmbConfig smbConfig)
Sets the value of field 'smbConfig'. |
void |
setXmlrpc(String xmlrpc)
Sets the value of field 'xmlrpc'. |
static CapsdConfiguration |
unmarshal(Reader reader)
Method unmarshal. |
void |
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 IndexOutOfBoundsException
vIpManagement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIpManagement(int index,
IpManagement vIpManagement)
throws IndexOutOfBoundsException
index - vIpManagement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addProtocolPlugin(ProtocolPlugin vProtocolPlugin)
throws IndexOutOfBoundsException
vProtocolPlugin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addProtocolPlugin(int index,
ProtocolPlugin vProtocolPlugin)
throws IndexOutOfBoundsException
index - vProtocolPlugin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteInitialSleepTime()
public void deleteMaxRescanThreadPoolSize()
public void deleteMaxSuspectThreadPoolSize()
public void deleteRescanFrequency()
public Enumeration<IpManagement> enumerateIpManagement()
public Enumeration<ProtocolPlugin> enumerateProtocolPlugin()
public String getAbortProtocolScansIfNoRoute()
public String getDeletePropagationEnabled()
public long getInitialSleepTime()
public IpManagement getIpManagement(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic IpManagement[] getIpManagement()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<IpManagement> getIpManagementCollection()
public int getIpManagementCount()
public String getManagementPolicy()
public int getMaxRescanThreadPoolSize()
public int getMaxSuspectThreadPoolSize()
public ProtocolPlugin getProtocolPlugin(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic ProtocolPlugin[] getProtocolPlugin()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<ProtocolPlugin> getProtocolPluginCollection()
public int getProtocolPluginCount()
public long getRescanFrequency()
public SmbConfig getSmbConfig()
public String getXmlrpc()
public boolean hasInitialSleepTime()
public boolean hasMaxRescanThreadPoolSize()
public boolean hasMaxSuspectThreadPoolSize()
public boolean hasRescanFrequency()
public boolean isValid()
public Iterator<IpManagement> iterateIpManagement()
public Iterator<ProtocolPlugin> iterateProtocolPlugin()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllIpManagement()
public void removeAllProtocolPlugin()
public boolean removeIpManagement(IpManagement vIpManagement)
vIpManagement -
public IpManagement removeIpManagementAt(int index)
index -
public boolean removeProtocolPlugin(ProtocolPlugin vProtocolPlugin)
vProtocolPlugin -
public ProtocolPlugin removeProtocolPluginAt(int index)
index -
public void setAbortProtocolScansIfNoRoute(String abortProtocolScansIfNoRoute)
abortProtocolScansIfNoRoute - the value of field
'abortProtocolScansIfNoRoute'.public void setDeletePropagationEnabled(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 IndexOutOfBoundsException
index - vIpManagement -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setIpManagement(IpManagement[] vIpManagementArray)
vIpManagementArray - public void setIpManagement(List<IpManagement> vIpManagementList)
vIpManagementList - the Vector to copy.public void setIpManagementCollection(List<IpManagement> ipManagementList)
ipManagementList - the Vector to set.public void setManagementPolicy(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 IndexOutOfBoundsException
index - vProtocolPlugin -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setProtocolPlugin(ProtocolPlugin[] vProtocolPluginArray)
vProtocolPluginArray - public void setProtocolPlugin(List<ProtocolPlugin> vProtocolPluginList)
vProtocolPluginList - the Vector to copy.public void setProtocolPluginCollection(List<ProtocolPlugin> protocolPluginList)
protocolPluginList - the Vector to set.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(String xmlrpc)
xmlrpc - the value of field 'xmlrpc'.
public static CapsdConfiguration unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||