|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.vulnscand.VulnscandConfiguration
public class VulnscandConfiguration
Top-level element for the vulscand-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
VulnscandConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addScanLevel(int index,
ScanLevel vScanLevel)
Method addScanLevel |
void |
addScanLevel(ScanLevel vScanLevel)
Method addScanLevel |
void |
clearScanLevel()
Method clearScanLevel |
void |
deleteInitialSleepTime()
Method deleteInitialSleepTime |
void |
deleteMaxRescanThreadPoolSize()
Method deleteMaxRescanThreadPoolSize |
void |
deleteMaxSuspectThreadPoolSize()
Method deleteMaxSuspectThreadPoolSize |
void |
deleteRescanFrequency()
Method deleteRescanFrequency |
void |
deleteServerPort()
Method deleteServerPort |
void |
deleteStatus()
Method deleteStatus |
java.util.Enumeration |
enumerateScanLevel()
Method enumerateScanLevel |
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()
Method getScanLevel |
ScanLevel |
getScanLevel(int index)
Method getScanLevel |
java.util.ArrayList |
getScanLevelCollection()
Method getScanLevelCollection Returns a reference to 'scanLevel'. |
int |
getScanLevelCount()
Method 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()
Method hasInitialSleepTime |
boolean |
hasMaxRescanThreadPoolSize()
Method hasMaxRescanThreadPoolSize |
boolean |
hasMaxSuspectThreadPoolSize()
Method hasMaxSuspectThreadPoolSize |
boolean |
hasRescanFrequency()
Method hasRescanFrequency |
boolean |
hasServerPort()
Method hasServerPort |
boolean |
hasStatus()
Method hasStatus |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeScanLevel(ScanLevel vScanLevel)
Method removeScanLevel |
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(java.util.ArrayList scanLevelCollection)
Method setScanLevel Sets the value of 'scanLevel' by copying the given ArrayList. |
void |
setScanLevel(int index,
ScanLevel vScanLevel)
Method setScanLevel |
void |
setScanLevel(ScanLevel[] scanLevelArray)
Method setScanLevel |
void |
setScanLevelCollection(java.util.ArrayList scanLevelCollection)
Method setScanLevelCollection Sets the value of 'scanLevel' by setting it to the given ArrayList. |
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 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 VulnscandConfiguration()
| Method Detail |
|---|
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.IndexOutOfBoundsExceptionpublic void clearScanLevel()
public void deleteInitialSleepTime()
public void deleteMaxRescanThreadPoolSize()
public void deleteMaxSuspectThreadPoolSize()
public void deleteRescanFrequency()
public void deleteServerPort()
public void deleteStatus()
public java.util.Enumeration enumerateScanLevel()
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.IndexOutOfBoundsExceptionpublic ScanLevel[] getScanLevel()
public java.util.ArrayList 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.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 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.IndexOutOfBoundsExceptionpublic void setScanLevel(ScanLevel[] scanLevelArray)
scanLevelArray - public void setScanLevel(java.util.ArrayList scanLevelCollection)
scanLevelCollection - the Vector to copy.public void setScanLevelCollection(java.util.ArrayList scanLevelCollection)
scanLevelCollection - the ArrayList to copy.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 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 | ||||||||