|
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.vulnscand.VulnscandConfiguration
Field Summary | |
private Excludes |
_excludes
|
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 boolean |
_has_serverPort
keeps track of state for field: _serverPort |
private boolean |
_has_status
keeps track of state for field: _status |
private long |
_initialSleepTime
|
private ManagedInterfaces |
_managedInterfaces
|
private int |
_maxRescanThreadPoolSize
|
private int |
_maxSuspectThreadPoolSize
|
private long |
_rescanFrequency
|
private java.util.ArrayList |
_scanLevelList
|
private java.lang.String |
_serverAddress
|
private java.lang.String |
_serverPassword
|
private int |
_serverPort
|
private java.lang.String |
_serverUsername
|
private boolean |
_status
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
VulnscandConfiguration()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addScanLevel(int index,
ScanLevel vScanLevel)
|
void |
addScanLevel(ScanLevel vScanLevel)
|
void |
clearScanLevel()
|
void |
deleteInitialSleepTime()
|
void |
deleteRescanFrequency()
|
java.util.Enumeration |
enumerateScanLevel()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Excludes |
getExcludes()
Returns the value of field 'excludes'. |
long |
getInitialSleepTime()
Returns the value of field 'initialSleepTime'. |
ManagedInterfaces |
getManagedInterfaces()
Returns the value of field 'managedInterfaces'. |
int |
getMaxRescanThreadPoolSize()
Returns the value of field 'maxRescanThreadPoolSize'. |
int |
getMaxSuspectThreadPoolSize()
Returns the value of field 'maxSuspectThreadPoolSize'. |
long |
getRescanFrequency()
Returns the value of field 'rescanFrequency'. |
ScanLevel[] |
getScanLevel()
|
ScanLevel |
getScanLevel(int index)
|
java.util.Collection |
getScanLevelCollection()
|
int |
getScanLevelCount()
|
java.lang.String |
getServerAddress()
Returns the value of field 'serverAddress'. |
java.lang.String |
getServerPassword()
Returns the value of field 'serverPassword'. |
int |
getServerPort()
Returns the value of field 'serverPort'. |
java.lang.String |
getServerUsername()
Returns the value of field 'serverUsername'. |
boolean |
getStatus()
Returns the value of field 'status'. |
boolean |
hasInitialSleepTime()
|
boolean |
hasMaxRescanThreadPoolSize()
|
boolean |
hasMaxSuspectThreadPoolSize()
|
boolean |
hasRescanFrequency()
|
boolean |
hasServerPort()
|
boolean |
hasStatus()
|
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 |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeScanLevel(ScanLevel vScanLevel)
|
void |
setExcludes(Excludes excludes)
Sets the value of field 'excludes'. |
void |
setInitialSleepTime(long initialSleepTime)
Sets the value of field 'initialSleepTime'. |
void |
setManagedInterfaces(ManagedInterfaces managedInterfaces)
Sets the value of field 'managedInterfaces'. |
void |
setMaxRescanThreadPoolSize(int maxRescanThreadPoolSize)
Sets the value of field 'maxRescanThreadPoolSize'. |
void |
setMaxSuspectThreadPoolSize(int maxSuspectThreadPoolSize)
Sets the value of field 'maxSuspectThreadPoolSize'. |
void |
setRescanFrequency(long rescanFrequency)
Sets the value of field 'rescanFrequency'. |
void |
setScanLevel(int index,
ScanLevel vScanLevel)
|
void |
setScanLevel(ScanLevel[] scanLevelArray)
|
void |
setScanLevelCollection(java.util.Collection vScanLevel)
|
void |
setServerAddress(java.lang.String serverAddress)
Sets the value of field 'serverAddress'. |
void |
setServerPassword(java.lang.String serverPassword)
Sets the value of field 'serverPassword'. |
void |
setServerPort(int serverPort)
Sets the value of field 'serverPort'. |
void |
setServerUsername(java.lang.String serverUsername)
Sets the value of field 'serverUsername'. |
void |
setStatus(boolean status)
Sets the value of field 'status'. |
static VulnscandConfiguration |
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 _serverAddress
private int _serverPort
private boolean _has_serverPort
private java.lang.String _serverUsername
private java.lang.String _serverPassword
private boolean _status
private boolean _has_status
private ManagedInterfaces _managedInterfaces
private java.util.ArrayList _scanLevelList
private Excludes _excludes
private java.util.Vector propertyChangeListeners
Constructor Detail |
public VulnscandConfiguration()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void addScanLevel(ScanLevel vScanLevel) throws java.lang.IndexOutOfBoundsException
vScanLevel
-
java.lang.IndexOutOfBoundsException
public void addScanLevel(int index, ScanLevel vScanLevel) throws java.lang.IndexOutOfBoundsException
index
- vScanLevel
-
java.lang.IndexOutOfBoundsException
public void clearScanLevel()
public void deleteInitialSleepTime()
public void deleteRescanFrequency()
public java.util.Enumeration enumerateScanLevel()
public boolean equals(java.lang.Object obj)
obj
- public Excludes getExcludes()
public long getInitialSleepTime()
public ManagedInterfaces getManagedInterfaces()
public int getMaxRescanThreadPoolSize()
public int getMaxSuspectThreadPoolSize()
public long getRescanFrequency()
public ScanLevel getScanLevel(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public ScanLevel[] getScanLevel()
public java.util.Collection getScanLevelCollection()
public int getScanLevelCount()
public java.lang.String getServerAddress()
public java.lang.String getServerPassword()
public int getServerPort()
public java.lang.String getServerUsername()
public boolean getStatus()
public boolean hasInitialSleepTime()
public boolean hasMaxRescanThreadPoolSize()
public boolean hasMaxSuspectThreadPoolSize()
public boolean hasRescanFrequency()
public boolean hasServerPort()
public boolean hasStatus()
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 removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeScanLevel(ScanLevel vScanLevel)
vScanLevel
- public void setExcludes(Excludes excludes)
excludes
- the value of field 'excludes'.public void setInitialSleepTime(long initialSleepTime)
initialSleepTime
- the value of field 'initialSleepTime'public void setManagedInterfaces(ManagedInterfaces managedInterfaces)
managedInterfaces
- the value of field
'managedInterfaces'.public void setMaxRescanThreadPoolSize(int maxRescanThreadPoolSize)
maxRescanThreadPoolSize
- the value of field
'maxRescanThreadPoolSize'.public void setMaxSuspectThreadPoolSize(int maxSuspectThreadPoolSize)
maxSuspectThreadPoolSize
- the value of field
'maxSuspectThreadPoolSize'.public void setRescanFrequency(long rescanFrequency)
rescanFrequency
- the value of field 'rescanFrequency'.public void setScanLevel(int index, ScanLevel vScanLevel) throws java.lang.IndexOutOfBoundsException
index
- vScanLevel
-
java.lang.IndexOutOfBoundsException
public void setScanLevel(ScanLevel[] scanLevelArray)
scanLevelArray
- public void setScanLevelCollection(java.util.Collection vScanLevel)
vScanLevel
- public void setServerAddress(java.lang.String serverAddress)
serverAddress
- the value of field 'serverAddress'.public void setServerPassword(java.lang.String serverPassword)
serverPassword
- the value of field 'serverPassword'.public void setServerPort(int serverPort)
serverPort
- the value of field 'serverPort'.public void setServerUsername(java.lang.String serverUsername)
serverUsername
- the value of field 'serverUsername'.public void setStatus(boolean status)
status
- the value of field 'status'.public static VulnscandConfiguration 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 |