Class ScheduleUpdate

java.lang.Object
io.temporal.client.schedules.ScheduleUpdate

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

    • 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 Details

    • 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