Class LocalActivityMarkerUtils


  • public class LocalActivityMarkerUtils
    extends java.lang.Object
    • Field Detail

      • MARKER_ACTIVITY_ID_KEY

        public static final java.lang.String MARKER_ACTIVITY_ID_KEY
        See Also:
        Constant Field Values
      • MARKER_ACTIVITY_TYPE_KEY

        public static final java.lang.String MARKER_ACTIVITY_TYPE_KEY
        See Also:
        Constant Field Values
      • MARKER_ACTIVITY_RESULT_KEY

        public static final java.lang.String MARKER_ACTIVITY_RESULT_KEY
        See Also:
        Constant Field Values
      • MARKER_ACTIVITY_INPUT_KEY

        public static final java.lang.String MARKER_ACTIVITY_INPUT_KEY
        See Also:
        Constant Field Values
      • MARKER_METADATA_KEY

        public static final java.lang.String MARKER_METADATA_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • LocalActivityMarkerUtils

        public LocalActivityMarkerUtils()
    • Method Detail

      • hasLocalActivityStructure

        public static boolean hasLocalActivityStructure​(io.temporal.api.history.v1.HistoryEvent event)
        Parameters:
        event - HistoryEvent to inspect
        Returns:
        true if the event has a correct structure for a local activity
      • getActivityId

        @Nullable
        public static java.lang.String getActivityId​(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)
      • getActivityTypeName

        @Nullable
        public static java.lang.String getActivityTypeName​(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)
      • getResult

        @Nullable
        public static io.temporal.api.common.v1.Payloads getResult​(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)
      • getTime

        @Nullable
        public static java.lang.Long getTime​(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)
      • getMetadata

        @Nullable
        public static LocalActivityMarkerMetadata getMetadata​(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)