Class ScheduleImpl

  • All Implemented Interfaces:
    Schedule

    public class ScheduleImpl
    extends Object
    implements Schedule
    ScheduleImpl extension definition.
    • Field Detail

      • eventId

        public String eventId
      • eventCategory

        public String eventCategory
      • cronExpression

        public String cronExpression
      • timeZone

        public String timeZone
        Since:
        10.2
      • username

        public String username
      • enabled

        public boolean enabled
        Since:
        5.7.3
    • Constructor Detail

      • ScheduleImpl

        public ScheduleImpl()
    • Method Detail

      • setEventId

        public void setEventId​(String eventId)
      • getId

        public String getId()
        Description copied from interface: Schedule
        Returns the schedule job id.
        Specified by:
        getId in interface Schedule
        Returns:
        the schedule job id.
      • getEventId

        public String getEventId()
        Description copied from interface: Schedule
        Returns the event id.
        Specified by:
        getEventId in interface Schedule
        Returns:
        the event id
      • getEventCategory

        public String getEventCategory()
        Description copied from interface: Schedule
        Returns the event category.
        Specified by:
        getEventCategory in interface Schedule
        Returns:
        the event category
      • getCronExpression

        public String getCronExpression()
        Description copied from interface: Schedule
        Returns the cron expression.
        Specified by:
        getCronExpression in interface Schedule
        Returns:
        the cron expression
      • getUsername

        public String getUsername()
        Description copied from interface: Schedule
        Returns the username.
        Specified by:
        getUsername in interface Schedule
        Returns:
        the username
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: Schedule
        Returns true if the scheduler is enabled and the job scheduled for execution
        Specified by:
        isEnabled in interface Schedule
      • getTimeZone

        public String getTimeZone()
        Description copied from interface: Schedule
        Returns the timezone to be used for the Cron Expression.
        Specified by:
        getTimeZone in interface Schedule
        Returns:
        the timezone, or null if not specified
        Since:
        10.2