Class CronTriggerResponse


  • public final class CronTriggerResponse
    extends java.lang.Object
    • Method Detail

      • endTime

        public java.util.Optional<java.lang.String> endTime()
        Returns:
        Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely
      • expression

        public java.lang.String expression()
        Returns:
        [Required] Specifies cron expression of schedule. The expression should follow NCronTab format.
      • startTime

        public java.util.Optional<java.lang.String> startTime()
        Returns:
        Specifies start time of schedule in ISO 8601 format, but without a UTC offset.
      • timeZone

        public java.util.Optional<java.lang.String> timeZone()
        Returns:
        Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11
      • triggerType

        public java.lang.String triggerType()
        Returns:
        Expected value is 'Cron'.