|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.NegativeProtocolFilter
public class NegativeProtocolFilter
Encapsulates all negative protocol filtering functionality.
| Field Summary | |
|---|---|
protected String |
protocol
|
static String |
TYPE
Constant TYPE="protocolnot" |
| Constructor Summary | |
|---|---|
NegativeProtocolFilter(String protocol)
Constructor for NegativeProtocolFilter. |
|
| Method Summary | |
|---|---|
int |
bindParam(PreparedStatement ps,
int parameterIndex)
Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement. |
boolean |
equals(Object obj)
|
String |
getDescription()
getDescription |
String |
getParamSql()
getParamSql |
String |
getProtocol()
Getter for the field protocol. |
String |
getSql()
getSql |
String |
getTextDescription()
getTextDescription |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
TYPE="protocolnot"
protected String protocol
| Constructor Detail |
|---|
public NegativeProtocolFilter(String protocol)
Constructor for NegativeProtocolFilter.
protocol - a String object.| Method Detail |
|---|
public String getSql()
getSql
getSql in interface FilterString object.public String getParamSql()
getParamSql
getParamSql in interface FilterString object.
public int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
bindParam in interface Filterps - a PreparedStatement object.parameterIndex - a int.
SQLException - if any.public String getDescription()
getDescription
getDescription in interface FilterString object.public String getTextDescription()
getTextDescription
getTextDescription in interface FilterString object.public String toString()
toString
toString in class ObjectString object.public String getProtocol()
Getter for the field protocol.
String object.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 | |||||||||