Class Trigger
- java.lang.Object
-
- org.opennms.netmgt.config.vacuumd.Trigger
-
- All Implemented Interfaces:
java.io.Serializable
public class Trigger extends java.lang.Object implements java.io.Serializable
A query to the database with a result set used for actions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_DATA_SOURCE
static java.lang.Integer
DEFAULT_ROW_COUNT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDataSource()
java.lang.String
getName()
java.lang.String
getOperator()
java.lang.Integer
getRowCount()
Statement
getStatement()
int
hashCode()
void
setDataSource(java.lang.String dataSource)
void
setName(java.lang.String name)
void
setOperator(java.lang.String operator)
void
setRowCount(java.lang.Integer rowCount)
void
setStatement(Statement statement)
-
-
-
Field Detail
-
DEFAULT_DATA_SOURCE
public static final java.lang.String DEFAULT_DATA_SOURCE
- See Also:
- Constant Field Values
-
DEFAULT_ROW_COUNT
public static final java.lang.Integer DEFAULT_ROW_COUNT
-
-
Constructor Detail
-
Trigger
public Trigger()
-
Trigger
public Trigger(java.lang.String name, java.lang.String dataSource, java.lang.String operator, java.lang.Integer rowCount, Statement statement)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDataSource
public java.lang.String getDataSource()
-
setDataSource
public void setDataSource(java.lang.String dataSource)
-
getOperator
public java.lang.String getOperator()
-
setOperator
public void setOperator(java.lang.String operator)
-
getRowCount
public java.lang.Integer getRowCount()
-
setRowCount
public void setRowCount(java.lang.Integer rowCount)
-
getStatement
public Statement getStatement()
-
setStatement
public void setStatement(Statement statement)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-