Package io.temporal.client.schedules
Class ScheduleDescription
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleDescription
-
public final class ScheduleDescription extends java.lang.Object
Description 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 boolean
equals(java.lang.Object o)
java.lang.String
getId()
Get the ID of the schedule.ScheduleInfo
getInfo()
Get information about the schedule.<T> java.lang.Object
getMemo(java.lang.String key, java.lang.Class<T> valueClass)
<T> T
getMemo(java.lang.String key, java.lang.Class<T> valueClass, java.lang.reflect.Type genericType)
Schedule
getSchedule()
Gets the schedule details.java.util.Map<java.lang.String,java.util.List<?>>
getSearchAttributes()
Deprecated.usegetTypedSearchAttributes()
instead.SearchAttributes
getTypedSearchAttributes()
Gets the search attributes on the schedule.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-