Package org.opennms.netmgt.config.ackd
Class ReaderSchedule
- java.lang.Object
-
- org.opennms.netmgt.config.ackd.ReaderSchedule
-
- All Implemented Interfaces:
java.io.Serializable
public class ReaderSchedule extends java.lang.Object implements java.io.Serializable
A very basic configuration for defining simple input to a schedule- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_INTERVAL
static java.lang.String
DEFAULT_UNIT
-
Constructor Summary
Constructors Constructor Description ReaderSchedule()
ReaderSchedule(java.lang.Long interval, java.lang.String unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getInterval()
java.lang.String
getUnit()
int
hashCode()
void
setInterval(long interval)
void
setUnit(java.lang.String unit)
-
-
-
Field Detail
-
DEFAULT_INTERVAL
public static final long DEFAULT_INTERVAL
- See Also:
- Constant Field Values
-
DEFAULT_UNIT
public static final java.lang.String DEFAULT_UNIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInterval
public long getInterval()
-
setInterval
public void setInterval(long interval)
-
getUnit
public java.lang.String getUnit()
-
setUnit
public void setUnit(java.lang.String unit)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-