Package rs.baselib.util
Class CronSchedule.AbstractTimeValue
java.lang.Object
rs.baselib.util.CronSchedule.AbstractTimeValue
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CronSchedule.NeverValue
,CronSchedule.SingleTimeValue
,CronSchedule.TimeAll
,CronSchedule.TimeRange
,CronSchedule.TimeSteps
- Enclosing class:
- CronSchedule
Base class for timing values.
- Author:
- RalphSchuster
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
matches
(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
-