|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.SeverityFilter
public class SeverityFilter
Encapsulates severity filtering functionality.
| Field Summary | |
|---|---|
protected int |
severity
|
static String |
TYPE
|
| Constructor Summary | |
|---|---|
SeverityFilter(int severity)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
Returns a terse string (including a "=") that describes this filter in such a way to easily be included in an HTTP GET parameter. |
int |
getSeverity()
|
String |
getSql()
Returns an expresions for a SQL where clause. |
String |
getTextDescription()
Returns a terse but human-readable string describing this filter in such a way to easily be included in a search results list. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
protected int severity
| Constructor Detail |
|---|
public SeverityFilter(int severity)
| Method Detail |
|---|
public String getSql()
Filter
getSql in interface Filterpublic String getDescription()
FilterSome examples:
getDescription in interface Filterpublic String getTextDescription()
Filter
Some examples (corresponding to the examples in
getDescription):
getTextDescription in interface Filterpublic String toString()
toString in class Objectpublic int getSeverity()
public boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||