Class CronExpressionCreationHelper


  • public final class CronExpressionCreationHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String scheduleEvery​(int every, @NotNull java.util.concurrent.TimeUnit at)  
      static java.lang.String scheduleMonthly​(@NotNull java.time.LocalTime at, int dayOfMonth)  
      static java.lang.String scheduleOnceDaily​(@NotNull java.time.LocalTime at)  
      static java.lang.String scheduleWeekly​(@NotNull java.time.LocalTime at, @NotNull java.time.DayOfWeek... onDays)  
      static java.lang.String scheduleWeekly​(@NotNull java.time.LocalTime at, @NotNull java.util.Collection<java.time.DayOfWeek> days)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • scheduleEvery

        public static java.lang.String scheduleEvery​(int every,
                                                     @NotNull
                                                     @NotNull java.util.concurrent.TimeUnit at)
      • scheduleOnceDaily

        public static java.lang.String scheduleOnceDaily​(@NotNull
                                                         @NotNull java.time.LocalTime at)
      • scheduleWeekly

        public static java.lang.String scheduleWeekly​(@NotNull
                                                      @NotNull java.time.LocalTime at,
                                                      @NotNull
                                                      @NotNull java.time.DayOfWeek... onDays)
      • scheduleWeekly

        public static java.lang.String scheduleWeekly​(@NotNull
                                                      @NotNull java.time.LocalTime at,
                                                      @NotNull
                                                      @NotNull java.util.Collection<java.time.DayOfWeek> days)
      • scheduleMonthly

        public static java.lang.String scheduleMonthly​(@NotNull
                                                       @NotNull java.time.LocalTime at,
                                                       int dayOfMonth)