|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.discovery.DiscoveryConfiguration
public class DiscoveryConfiguration
Top-level element for the discovery-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
DiscoveryConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addExcludeRange(ExcludeRange vExcludeRange)
Method addExcludeRange |
void |
addExcludeRange(int index,
ExcludeRange vExcludeRange)
Method addExcludeRange |
void |
addIncludeRange(IncludeRange vIncludeRange)
Method addIncludeRange |
void |
addIncludeRange(int index,
IncludeRange vIncludeRange)
Method addIncludeRange |
void |
addIncludeUrl(IncludeUrl vIncludeUrl)
Method addIncludeUrl |
void |
addIncludeUrl(int index,
IncludeUrl vIncludeUrl)
Method addIncludeUrl |
void |
addSpecific(int index,
Specific vSpecific)
Method addSpecific |
void |
addSpecific(Specific vSpecific)
Method addSpecific |
void |
clearExcludeRange()
Method clearExcludeRange |
void |
clearIncludeRange()
Method clearIncludeRange |
void |
clearIncludeUrl()
Method clearIncludeUrl |
void |
clearSpecific()
Method clearSpecific |
void |
deleteInitialSleepTime()
Method deleteInitialSleepTime |
void |
deletePacketsPerSecond()
Method deletePacketsPerSecond |
void |
deleteRestartSleepTime()
Method deleteRestartSleepTime |
void |
deleteRetries()
Method deleteRetries |
void |
deleteThreads()
Method deleteThreads |
void |
deleteTimeout()
Method deleteTimeout |
java.util.Enumeration |
enumerateExcludeRange()
Method enumerateExcludeRange |
java.util.Enumeration |
enumerateIncludeRange()
Method enumerateIncludeRange |
java.util.Enumeration |
enumerateIncludeUrl()
Method enumerateIncludeUrl |
java.util.Enumeration |
enumerateSpecific()
Method enumerateSpecific |
ExcludeRange[] |
getExcludeRange()
Method getExcludeRange |
ExcludeRange |
getExcludeRange(int index)
Method getExcludeRange |
java.util.ArrayList |
getExcludeRangeCollection()
Method getExcludeRangeCollection Returns a reference to 'excludeRange'. |
int |
getExcludeRangeCount()
Method getExcludeRangeCount |
IncludeRange[] |
getIncludeRange()
Method getIncludeRange |
IncludeRange |
getIncludeRange(int index)
Method getIncludeRange |
java.util.ArrayList |
getIncludeRangeCollection()
Method getIncludeRangeCollection Returns a reference to 'includeRange'. |
int |
getIncludeRangeCount()
Method getIncludeRangeCount |
IncludeUrl[] |
getIncludeUrl()
Method getIncludeUrl |
IncludeUrl |
getIncludeUrl(int index)
Method getIncludeUrl |
java.util.ArrayList |
getIncludeUrlCollection()
Method getIncludeUrlCollection Returns a reference to 'includeUrl'. |
int |
getIncludeUrlCount()
Method getIncludeUrlCount |
long |
getInitialSleepTime()
Returns the value of field 'initialSleepTime'. |
int |
getPacketsPerSecond()
Returns the value of field 'packetsPerSecond'. |
long |
getRestartSleepTime()
Returns the value of field 'restartSleepTime'. |
int |
getRetries()
Returns the value of field 'retries'. |
Specific[] |
getSpecific()
Method getSpecific |
Specific |
getSpecific(int index)
Method getSpecific |
java.util.ArrayList |
getSpecificCollection()
Method getSpecificCollection Returns a reference to 'specific'. |
int |
getSpecificCount()
Method getSpecificCount |
int |
getThreads()
Returns the value of field 'threads'. |
long |
getTimeout()
Returns the value of field 'timeout'. |
boolean |
hasInitialSleepTime()
Method hasInitialSleepTime |
boolean |
hasPacketsPerSecond()
Method hasPacketsPerSecond |
boolean |
hasRestartSleepTime()
Method hasRestartSleepTime |
boolean |
hasRetries()
Method hasRetries |
boolean |
hasThreads()
Method hasThreads |
boolean |
hasTimeout()
Method hasTimeout |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeExcludeRange(ExcludeRange vExcludeRange)
Method removeExcludeRange |
boolean |
removeIncludeRange(IncludeRange vIncludeRange)
Method removeIncludeRange |
boolean |
removeIncludeUrl(IncludeUrl vIncludeUrl)
Method removeIncludeUrl |
boolean |
removeSpecific(Specific vSpecific)
Method removeSpecific |
void |
setExcludeRange(java.util.ArrayList excludeRangeCollection)
Method setExcludeRange Sets the value of 'excludeRange' by copying the given ArrayList. |
void |
setExcludeRange(ExcludeRange[] excludeRangeArray)
Method setExcludeRange |
void |
setExcludeRange(int index,
ExcludeRange vExcludeRange)
Method setExcludeRange |
void |
setExcludeRangeCollection(java.util.ArrayList excludeRangeCollection)
Method setExcludeRangeCollection Sets the value of 'excludeRange' by setting it to the given ArrayList. |
void |
setIncludeRange(java.util.ArrayList includeRangeCollection)
Method setIncludeRange Sets the value of 'includeRange' by copying the given ArrayList. |
void |
setIncludeRange(IncludeRange[] includeRangeArray)
Method setIncludeRange |
void |
setIncludeRange(int index,
IncludeRange vIncludeRange)
Method setIncludeRange |
void |
setIncludeRangeCollection(java.util.ArrayList includeRangeCollection)
Method setIncludeRangeCollection Sets the value of 'includeRange' by setting it to the given ArrayList. |
void |
setIncludeUrl(java.util.ArrayList includeUrlCollection)
Method setIncludeUrl Sets the value of 'includeUrl' by copying the given ArrayList. |
void |
setIncludeUrl(IncludeUrl[] includeUrlArray)
Method setIncludeUrl |
void |
setIncludeUrl(int index,
IncludeUrl vIncludeUrl)
Method setIncludeUrl |
void |
setIncludeUrlCollection(java.util.ArrayList includeUrlCollection)
Method setIncludeUrlCollection Sets the value of 'includeUrl' by setting it to the given ArrayList. |
void |
setInitialSleepTime(long initialSleepTime)
Sets the value of field 'initialSleepTime'. |
void |
setPacketsPerSecond(int packetsPerSecond)
Sets the value of field 'packetsPerSecond'. |
void |
setRestartSleepTime(long restartSleepTime)
Sets the value of field 'restartSleepTime'. |
void |
setRetries(int retries)
Sets the value of field 'retries'. |
void |
setSpecific(java.util.ArrayList specificCollection)
Method setSpecific Sets the value of 'specific' by copying the given ArrayList. |
void |
setSpecific(int index,
Specific vSpecific)
Method setSpecific |
void |
setSpecific(Specific[] specificArray)
Method setSpecific |
void |
setSpecificCollection(java.util.ArrayList specificCollection)
Method setSpecificCollection Sets the value of 'specific' by setting it to the given ArrayList. |
void |
setThreads(int threads)
Sets the value of field 'threads'. |
void |
setTimeout(long timeout)
Sets the value of field 'timeout'. |
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 DiscoveryConfiguration()
| Method Detail |
|---|
public void addExcludeRange(ExcludeRange vExcludeRange)
throws java.lang.IndexOutOfBoundsException
vExcludeRange -
java.lang.IndexOutOfBoundsException
public void addExcludeRange(int index,
ExcludeRange vExcludeRange)
throws java.lang.IndexOutOfBoundsException
index - vExcludeRange -
java.lang.IndexOutOfBoundsException
public void addIncludeRange(IncludeRange vIncludeRange)
throws java.lang.IndexOutOfBoundsException
vIncludeRange -
java.lang.IndexOutOfBoundsException
public void addIncludeRange(int index,
IncludeRange vIncludeRange)
throws java.lang.IndexOutOfBoundsException
index - vIncludeRange -
java.lang.IndexOutOfBoundsException
public void addIncludeUrl(IncludeUrl vIncludeUrl)
throws java.lang.IndexOutOfBoundsException
vIncludeUrl -
java.lang.IndexOutOfBoundsException
public void addIncludeUrl(int index,
IncludeUrl vIncludeUrl)
throws java.lang.IndexOutOfBoundsException
index - vIncludeUrl -
java.lang.IndexOutOfBoundsException
public void addSpecific(Specific vSpecific)
throws java.lang.IndexOutOfBoundsException
vSpecific -
java.lang.IndexOutOfBoundsException
public void addSpecific(int index,
Specific vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void clearExcludeRange()
public void clearIncludeRange()
public void clearIncludeUrl()
public void clearSpecific()
public void deleteInitialSleepTime()
public void deletePacketsPerSecond()
public void deleteRestartSleepTime()
public void deleteRetries()
public void deleteThreads()
public void deleteTimeout()
public java.util.Enumeration enumerateExcludeRange()
public java.util.Enumeration enumerateIncludeRange()
public java.util.Enumeration enumerateIncludeUrl()
public java.util.Enumeration enumerateSpecific()
public ExcludeRange getExcludeRange(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic ExcludeRange[] getExcludeRange()
public java.util.ArrayList getExcludeRangeCollection()
public int getExcludeRangeCount()
public IncludeRange getIncludeRange(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic IncludeRange[] getIncludeRange()
public java.util.ArrayList getIncludeRangeCollection()
public int getIncludeRangeCount()
public IncludeUrl getIncludeUrl(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic IncludeUrl[] getIncludeUrl()
public java.util.ArrayList getIncludeUrlCollection()
public int getIncludeUrlCount()
public long getInitialSleepTime()
public int getPacketsPerSecond()
public long getRestartSleepTime()
public int getRetries()
public Specific getSpecific(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Specific[] getSpecific()
public java.util.ArrayList getSpecificCollection()
public int getSpecificCount()
public int getThreads()
public long getTimeout()
public boolean hasInitialSleepTime()
public boolean hasPacketsPerSecond()
public boolean hasRestartSleepTime()
public boolean hasRetries()
public boolean hasThreads()
public boolean hasTimeout()
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 removeExcludeRange(ExcludeRange vExcludeRange)
vExcludeRange -
public boolean removeIncludeRange(IncludeRange vIncludeRange)
vIncludeRange -
public boolean removeIncludeUrl(IncludeUrl vIncludeUrl)
vIncludeUrl -
public boolean removeSpecific(Specific vSpecific)
vSpecific -
public void setExcludeRange(int index,
ExcludeRange vExcludeRange)
throws java.lang.IndexOutOfBoundsException
index - vExcludeRange -
java.lang.IndexOutOfBoundsExceptionpublic void setExcludeRange(ExcludeRange[] excludeRangeArray)
excludeRangeArray - public void setExcludeRange(java.util.ArrayList excludeRangeCollection)
excludeRangeCollection - the Vector to copy.public void setExcludeRangeCollection(java.util.ArrayList excludeRangeCollection)
excludeRangeCollection - the ArrayList to copy.
public void setIncludeRange(int index,
IncludeRange vIncludeRange)
throws java.lang.IndexOutOfBoundsException
index - vIncludeRange -
java.lang.IndexOutOfBoundsExceptionpublic void setIncludeRange(IncludeRange[] includeRangeArray)
includeRangeArray - public void setIncludeRange(java.util.ArrayList includeRangeCollection)
includeRangeCollection - the Vector to copy.public void setIncludeRangeCollection(java.util.ArrayList includeRangeCollection)
includeRangeCollection - the ArrayList to copy.
public void setIncludeUrl(int index,
IncludeUrl vIncludeUrl)
throws java.lang.IndexOutOfBoundsException
index - vIncludeUrl -
java.lang.IndexOutOfBoundsExceptionpublic void setIncludeUrl(IncludeUrl[] includeUrlArray)
includeUrlArray - public void setIncludeUrl(java.util.ArrayList includeUrlCollection)
includeUrlCollection - the Vector to copy.public void setIncludeUrlCollection(java.util.ArrayList includeUrlCollection)
includeUrlCollection - the ArrayList to copy.public void setInitialSleepTime(long initialSleepTime)
initialSleepTime - the value of field 'initialSleepTime'public void setPacketsPerSecond(int packetsPerSecond)
packetsPerSecond - the value of field 'packetsPerSecond'public void setRestartSleepTime(long restartSleepTime)
restartSleepTime - the value of field 'restartSleepTime'public void setRetries(int retries)
retries - the value of field 'retries'.
public void setSpecific(int index,
Specific vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void setSpecific(Specific[] specificArray)
specificArray - public void setSpecific(java.util.ArrayList specificCollection)
specificCollection - the Vector to copy.public void setSpecificCollection(java.util.ArrayList specificCollection)
specificCollection - the ArrayList to copy.public void setThreads(int threads)
threads - the value of field 'threads'.public void setTimeout(long timeout)
timeout - the value of field 'timeout'.
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 | ||||||||