Interface CronExpressionPart


public interface CronExpressionPart
Represents a subpart of a CRON expression.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assertViolation(int allowedMinStepValue, int allowedMaxStepValue, int allowedMinValue, int allowedMaxValue)
    Checks that CRON expression has valid attributes.
    boolean
    isNotCompliant(int value)
    Checks that the value does not match
  • Method Details

    • isNotCompliant

      boolean isNotCompliant(int value)
      Checks that the value does not match
      Parameters:
      value - The value to test
      Returns:
      true if not compliant, otherwise, false
      Since:
      1.0.0
    • assertViolation

      void assertViolation(int allowedMinStepValue, int allowedMaxStepValue, int allowedMinValue, int allowedMaxValue)
      Checks that CRON expression has valid attributes.
      Parameters:
      allowedMinStepValue - The minimum value for the Step value
      allowedMaxStepValue - The maximum value for the Step value
      allowedMinValue - The minimum value
      allowedMaxValue - The maximum value
      Since:
      1.0.0