org.opennms.netmgt.model
Class OnmsVulnerability
java.lang.Object
org.opennms.netmgt.model.OnmsEntity
org.opennms.netmgt.model.OnmsVulnerability
- All Implemented Interfaces:
- Serializable
public class OnmsVulnerability
- extends OnmsEntity
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
OnmsVulnerability()
default constructor |
OnmsVulnerability(Integer vulnerabilityId,
Date creationTime,
Date lastAttemptTime,
Date lastScanTime,
Integer severity,
OnmsVulnPlugin vulnPlugin,
Integer pluginSubId)
minimal constructor |
OnmsVulnerability(Integer vulnerabilityId,
OnmsNode node,
OnmsMonitoredService monitoredService,
Date creationTime,
Date lastAttemptTime,
Date lastScanTime,
Date resolvedTime,
Integer severity,
OnmsVulnPlugin vulnPlugin,
int pluginSubId,
String logMsg,
String descr,
Integer port,
String protocol,
String cveEntry)
full constructor |
OnmsVulnerability
public OnmsVulnerability(Integer vulnerabilityId,
OnmsNode node,
OnmsMonitoredService monitoredService,
Date creationTime,
Date lastAttemptTime,
Date lastScanTime,
Date resolvedTime,
Integer severity,
OnmsVulnPlugin vulnPlugin,
int pluginSubId,
String logMsg,
String descr,
Integer port,
String protocol,
String cveEntry)
- full constructor
OnmsVulnerability
public OnmsVulnerability()
- default constructor
OnmsVulnerability
public OnmsVulnerability(Integer vulnerabilityId,
Date creationTime,
Date lastAttemptTime,
Date lastScanTime,
Integer severity,
OnmsVulnPlugin vulnPlugin,
Integer pluginSubId)
- minimal constructor
getVulnerabilityId
public Integer getVulnerabilityId()
setVulnerabilityId
public void setVulnerabilityId(Integer vulnerabilityId)
getNode
public OnmsNode getNode()
setNode
public void setNode(OnmsNode node)
getMonitoredService
public OnmsMonitoredService getMonitoredService()
setMonitoredService
public void setMonitoredService(OnmsMonitoredService monitoredService)
getCreationTime
public Date getCreationTime()
setCreationTime
public void setCreationTime(Date creationTime)
getLastAttemptTime
public Date getLastAttemptTime()
setLastAttemptTime
public void setLastAttemptTime(Date lastAttemptTime)
getLastScanTime
public Date getLastScanTime()
setLastScanTime
public void setLastScanTime(Date lastScanTime)
getResolvedTime
public Date getResolvedTime()
setResolvedTime
public void setResolvedTime(Date resolvedTime)
getSeverity
public Integer getSeverity()
setSeverity
public void setSeverity(Integer severity)
getVulnPlugin
public OnmsVulnPlugin getVulnPlugin()
setVulnPlugin
public void setVulnPlugin(OnmsVulnPlugin vulnPlugin)
getLogMsg
public String getLogMsg()
setLogMsg
public void setLogMsg(String logMsg)
getDescr
public String getDescr()
setDescr
public void setDescr(String descr)
getPort
public Integer getPort()
setPort
public void setPort(Integer port)
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String protocol)
getCveEntry
public String getCveEntry()
setCveEntry
public void setCveEntry(String cveEntry)
toString
public String toString()
- Overrides:
toString in class Object
visit
public void visit(EntityVisitor visitor)
- Specified by:
visit in class OnmsEntity
Copyright © 2009. All Rights Reserved.