Class ScheduleUpdate


  • public final class ScheduleUpdate
    extends java.lang.Object
    An update returned from a schedule updater.
    • Constructor Detail

      • ScheduleUpdate

        public ScheduleUpdate​(Schedule schedule)
        Create a new ScheduleUpdate.
        Parameters:
        schedule - schedule to replace the existing schedule with
      • ScheduleUpdate

        public ScheduleUpdate​(Schedule schedule,
                              SearchAttributes typedSearchAttributes)
        Create a new ScheduleUpdate.
        Parameters:
        schedule - schedule to replace the existing schedule with
        typedSearchAttributes - search attributes to replace the existing search attributes with. Returning null will not update the search attributes.
    • Method Detail

      • getSchedule

        public Schedule getSchedule()
        Get the Schedule to update.
        Returns:
        schedule to update
      • getTypedSearchAttributes

        public SearchAttributes getTypedSearchAttributes()
        Get the search attributes to update.
        Returns:
        search attributes to update