Package io.temporal.client.schedules
Class ScheduleOptions
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleOptions
-
public final class ScheduleOptions extends java.lang.Object
Options for creating a schedule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScheduleOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<ScheduleBackfill>
getBackfills()
Get the time periods to take actions on as if that time passed right now.java.util.Map<java.lang.String,java.lang.Object>
getMemo()
Get the memo for the schedule.java.util.Map<java.lang.String,?>
getSearchAttributes()
Deprecated.usegetTypedSearchAttributes()
instead.SearchAttributes
getTypedSearchAttributes()
Get the search attributes for the schedule.boolean
isTriggerImmediately()
Get if the schedule will be triggered immediately upon creation.static ScheduleOptions.Builder
newBuilder()
static ScheduleOptions.Builder
newBuilder(ScheduleOptions options)
-
-
-
Method Detail
-
newBuilder
public static ScheduleOptions.Builder newBuilder()
-
newBuilder
public static ScheduleOptions.Builder newBuilder(ScheduleOptions options)
-
isTriggerImmediately
public boolean isTriggerImmediately()
Get if the schedule will be triggered immediately upon creation.- Returns:
- True if the schedule will trigger on creation
-
getBackfills
public java.util.List<ScheduleBackfill> getBackfills()
Get the time periods to take actions on as if that time passed right now.- Returns:
- backfill requests
-
getMemo
public java.util.Map<java.lang.String,java.lang.Object> getMemo()
Get the memo for the schedule. Values for the memo cannot be null.- Returns:
- memos for the schedule
-
getSearchAttributes
public java.util.Map<java.lang.String,?> getSearchAttributes()
Deprecated.usegetTypedSearchAttributes()
instead.Get the search attributes for the schedule.- Returns:
- search attributes for the schedule
-
getTypedSearchAttributes
public SearchAttributes getTypedSearchAttributes()
Get the search attributes for the schedule.- Returns:
- search attributes for the schedule
-
-