Class ScheduleDescription


  • public final class ScheduleDescription
    extends java.lang.Object
    Description of a schedule.
    • 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.
        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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object