|
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.discovery.DiscoveryConfiguration
Field Summary | |
private java.util.ArrayList |
_excludeRangeList
|
private boolean |
_has_initialSleepTime
keeps track of state for field: _initialSleepTime |
private boolean |
_has_packetsPerSecond
keeps track of state for field: _packetsPerSecond |
private boolean |
_has_restartSleepTime
keeps track of state for field: _restartSleepTime |
private boolean |
_has_retries
keeps track of state for field: _retries |
private boolean |
_has_threads
keeps track of state for field: _threads |
private boolean |
_has_timeout
keeps track of state for field: _timeout |
private java.util.ArrayList |
_includeRangeList
|
private java.util.ArrayList |
_includeUrlList
|
private long |
_initialSleepTime
|
private int |
_packetsPerSecond
|
private long |
_restartSleepTime
|
private int |
_retries
|
private java.util.ArrayList |
_specificList
|
private int |
_threads
|
private long |
_timeout
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
DiscoveryConfiguration()
|
Method Summary | |
void |
addExcludeRange(ExcludeRange vExcludeRange)
|
void |
addExcludeRange(int index,
ExcludeRange vExcludeRange)
|
void |
addIncludeRange(IncludeRange vIncludeRange)
|
void |
addIncludeRange(int index,
IncludeRange vIncludeRange)
|
void |
addIncludeUrl(IncludeUrl vIncludeUrl)
|
void |
addIncludeUrl(int index,
IncludeUrl vIncludeUrl)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addSpecific(int index,
Specific vSpecific)
|
void |
addSpecific(Specific vSpecific)
|
void |
clearExcludeRange()
|
void |
clearIncludeRange()
|
void |
clearIncludeUrl()
|
void |
clearSpecific()
|
void |
deleteRetries()
|
void |
deleteTimeout()
|
java.util.Enumeration |
enumerateExcludeRange()
|
java.util.Enumeration |
enumerateIncludeRange()
|
java.util.Enumeration |
enumerateIncludeUrl()
|
java.util.Enumeration |
enumerateSpecific()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
ExcludeRange[] |
getExcludeRange()
|
ExcludeRange |
getExcludeRange(int index)
|
java.util.Collection |
getExcludeRangeCollection()
|
int |
getExcludeRangeCount()
|
IncludeRange[] |
getIncludeRange()
|
IncludeRange |
getIncludeRange(int index)
|
java.util.Collection |
getIncludeRangeCollection()
|
int |
getIncludeRangeCount()
|
IncludeUrl[] |
getIncludeUrl()
|
IncludeUrl |
getIncludeUrl(int index)
|
java.util.Collection |
getIncludeUrlCollection()
|
int |
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()
|
Specific |
getSpecific(int index)
|
java.util.Collection |
getSpecificCollection()
|
int |
getSpecificCount()
|
int |
getThreads()
Returns the value of field 'threads'. |
long |
getTimeout()
Returns the value of field 'timeout'. |
boolean |
hasInitialSleepTime()
|
boolean |
hasPacketsPerSecond()
|
boolean |
hasRestartSleepTime()
|
boolean |
hasRetries()
|
boolean |
hasThreads()
|
boolean |
hasTimeout()
|
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 |
removeExcludeRange(ExcludeRange vExcludeRange)
|
boolean |
removeIncludeRange(IncludeRange vIncludeRange)
|
boolean |
removeIncludeUrl(IncludeUrl vIncludeUrl)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeSpecific(Specific vSpecific)
|
void |
setExcludeRange(ExcludeRange[] excludeRangeArray)
|
void |
setExcludeRange(int index,
ExcludeRange vExcludeRange)
|
void |
setExcludeRangeCollection(java.util.Collection vExcludeRange)
|
void |
setIncludeRange(IncludeRange[] includeRangeArray)
|
void |
setIncludeRange(int index,
IncludeRange vIncludeRange)
|
void |
setIncludeRangeCollection(java.util.Collection vIncludeRange)
|
void |
setIncludeUrl(IncludeUrl[] includeUrlArray)
|
void |
setIncludeUrl(int index,
IncludeUrl vIncludeUrl)
|
void |
setIncludeUrlCollection(java.util.Collection vIncludeUrl)
|
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(int index,
Specific vSpecific)
|
void |
setSpecific(Specific[] specificArray)
|
void |
setSpecificCollection(java.util.Collection vSpecific)
|
void |
setThreads(int threads)
Sets the value of field 'threads'. |
void |
setTimeout(long timeout)
Sets the value of field 'timeout'. |
static DiscoveryConfiguration |
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 int _threads
private boolean _has_threads
private int _packetsPerSecond
private boolean _has_packetsPerSecond
private long _initialSleepTime
private boolean _has_initialSleepTime
private long _restartSleepTime
private boolean _has_restartSleepTime
private int _retries
private boolean _has_retries
private long _timeout
private boolean _has_timeout
private java.util.ArrayList _specificList
private java.util.ArrayList _includeRangeList
private java.util.ArrayList _excludeRangeList
private java.util.ArrayList _includeUrlList
private java.util.Vector propertyChangeListeners
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 addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.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.IndexOutOfBoundsException
public void clearExcludeRange()
public void clearIncludeRange()
public void clearIncludeUrl()
public void clearSpecific()
public void deleteRetries()
public void deleteTimeout()
public java.util.Enumeration enumerateExcludeRange()
public java.util.Enumeration enumerateIncludeRange()
public java.util.Enumeration enumerateIncludeUrl()
public java.util.Enumeration enumerateSpecific()
public boolean equals(java.lang.Object obj)
obj
- public ExcludeRange getExcludeRange(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public ExcludeRange[] getExcludeRange()
public java.util.Collection getExcludeRangeCollection()
public int getExcludeRangeCount()
public IncludeRange getIncludeRange(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public IncludeRange[] getIncludeRange()
public java.util.Collection getIncludeRangeCollection()
public int getIncludeRangeCount()
public IncludeUrl getIncludeUrl(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public IncludeUrl[] getIncludeUrl()
public java.util.Collection 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.IndexOutOfBoundsException
public Specific[] getSpecific()
public java.util.Collection 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.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 removeExcludeRange(ExcludeRange vExcludeRange)
vExcludeRange
- public boolean removeIncludeRange(IncludeRange vIncludeRange)
vIncludeRange
- public boolean removeIncludeUrl(IncludeUrl vIncludeUrl)
vIncludeUrl
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeSpecific(Specific vSpecific)
vSpecific
- public void setExcludeRange(int index, ExcludeRange vExcludeRange) throws java.lang.IndexOutOfBoundsException
index
- vExcludeRange
-
java.lang.IndexOutOfBoundsException
public void setExcludeRange(ExcludeRange[] excludeRangeArray)
excludeRangeArray
- public void setExcludeRangeCollection(java.util.Collection vExcludeRange)
vExcludeRange
- public void setIncludeRange(int index, IncludeRange vIncludeRange) throws java.lang.IndexOutOfBoundsException
index
- vIncludeRange
-
java.lang.IndexOutOfBoundsException
public void setIncludeRange(IncludeRange[] includeRangeArray)
includeRangeArray
- public void setIncludeRangeCollection(java.util.Collection vIncludeRange)
vIncludeRange
- public void setIncludeUrl(int index, IncludeUrl vIncludeUrl) throws java.lang.IndexOutOfBoundsException
index
- vIncludeUrl
-
java.lang.IndexOutOfBoundsException
public void setIncludeUrl(IncludeUrl[] includeUrlArray)
includeUrlArray
- public void setIncludeUrlCollection(java.util.Collection vIncludeUrl)
vIncludeUrl
- 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.IndexOutOfBoundsException
public void setSpecific(Specific[] specificArray)
specificArray
- public void setSpecificCollection(java.util.Collection vSpecific)
vSpecific
- public void setThreads(int threads)
threads
- the value of field 'threads'.public void setTimeout(long timeout)
timeout
- the value of field 'timeout'.public static DiscoveryConfiguration 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 |