Package rs.baselib.util
Class CronSchedule.AbstractTimeValue
java.lang.Object
rs.baselib.util.CronSchedule.AbstractTimeValue
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CronSchedule.NeverValue,CronSchedule.SingleTimeValue,CronSchedule.TimeAll,CronSchedule.TimeRange,CronSchedule.TimeSteps
- Enclosing class:
- CronSchedule
public abstract static class CronSchedule.AbstractTimeValue
extends java.lang.Object
implements java.io.Serializable
Base class for timing values.
- Author:
- RalphSchuster
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AbstractTimeValue() -
Method Summary
Modifier and Type Method Description abstract booleanmatches(int timeValue)Returns true when given time value matches defined time.
-
Constructor Details
-
AbstractTimeValue
public AbstractTimeValue()
-
-
Method Details
-
matches
public abstract boolean matches(int timeValue)Returns true when given time value matches defined time.- Parameters:
timeValue- - time value to evaluate- Returns:
- true when time matches
-