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 boolean matches​(int timeValue)
    Returns true when given time value matches defined time.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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