Package io.temporal.client.schedules
Class ScheduleUpdate
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleUpdate
-
public final class ScheduleUpdate extends java.lang.ObjectAn update returned from a schedule updater.
-
-
Constructor Summary
Constructors Constructor Description ScheduleUpdate(Schedule schedule)Create a new ScheduleUpdate.ScheduleUpdate(Schedule schedule, SearchAttributes typedSearchAttributes)Create a new ScheduleUpdate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulegetSchedule()Get the Schedule to update.SearchAttributesgetTypedSearchAttributes()Get the search attributes to update.
-
-
-
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 withtypedSearchAttributes- 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
-
-