Package io.temporal.client.schedules
Class ScheduleDescription
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleDescription
-
public final class ScheduleDescription extends java.lang.ObjectDescription of a schedule.
-
-
Constructor Summary
Constructors Constructor Description ScheduleDescription(java.lang.String id, ScheduleInfo info, Schedule schedule, java.util.Map<java.lang.String,java.util.List<?>> searchAttributes, SearchAttributes typedSearchAttributes, java.util.Map<java.lang.String,io.temporal.api.common.v1.Payload> memo, DataConverter dataConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetId()Get the ID of the schedule.ScheduleInfogetInfo()Get information about the schedule.<T> java.lang.ObjectgetMemo(java.lang.String key, java.lang.Class<T> valueClass)<T> TgetMemo(java.lang.String key, java.lang.Class<T> valueClass, java.lang.reflect.Type genericType)SchedulegetSchedule()Gets the schedule details.java.util.Map<java.lang.String,java.util.List<?>>getSearchAttributes()Deprecated.usegetTypedSearchAttributes()instead.SearchAttributesgetTypedSearchAttributes()Gets the search attributes on the schedule.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ScheduleDescription
public ScheduleDescription(java.lang.String id, ScheduleInfo info, Schedule schedule, java.util.Map<java.lang.String,java.util.List<?>> searchAttributes, SearchAttributes typedSearchAttributes, java.util.Map<java.lang.String,io.temporal.api.common.v1.Payload> memo, DataConverter dataConverter)
-
-
Method Detail
-
getId
@Nonnull public java.lang.String getId()
Get the ID of the schedule.- Returns:
- schedule ID
-
getInfo
@Nonnull public ScheduleInfo getInfo()
Get information about the schedule.- Returns:
- schedule info
-
getSchedule
@Nonnull public Schedule getSchedule()
Gets the schedule details.- Returns:
- schedule details
-
getSearchAttributes
@Nonnull public java.util.Map<java.lang.String,java.util.List<?>> getSearchAttributes()
Deprecated.usegetTypedSearchAttributes()instead.Gets the search attributes on the schedule.- Returns:
- search attributes
-
getTypedSearchAttributes
@Nonnull public SearchAttributes getTypedSearchAttributes()
Gets the search attributes on the schedule.- Returns:
- search attributes
-
getMemo
@Nullable public <T> java.lang.Object getMemo(java.lang.String key, java.lang.Class<T> valueClass)
-
getMemo
@Nullable public <T> T getMemo(java.lang.String key, java.lang.Class<T> valueClass, java.lang.reflect.Type genericType)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-