Class LocalActivityMarkerUtils
java.lang.Object
io.temporal.internal.history.LocalActivityMarkerUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetActivityId(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) static StringgetActivityTypeName(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) static LocalActivityMarkerMetadatagetMetadata(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) static io.temporal.api.common.v1.PayloadsgetResult(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) static LonggetTime(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) static booleanhasLocalActivityStructure(io.temporal.api.history.v1.HistoryEvent event)
-
Field Details
-
MARKER_NAME
- See Also:
-
MARKER_ACTIVITY_ID_KEY
- See Also:
-
MARKER_ACTIVITY_TYPE_KEY
- See Also:
-
MARKER_ACTIVITY_RESULT_KEY
- See Also:
-
MARKER_ACTIVITY_INPUT_KEY
- See Also:
-
MARKER_TIME_KEY
- See Also:
-
MARKER_METADATA_KEY
- See Also:
-
-
Constructor Details
-
LocalActivityMarkerUtils
public LocalActivityMarkerUtils()
-
-
Method Details
-
hasLocalActivityStructure
public static boolean hasLocalActivityStructure(io.temporal.api.history.v1.HistoryEvent event) - Parameters:
event-HistoryEventto inspect- Returns:
- true if the event has a correct structure for a local activity
-
getActivityId
@Nullable public static String getActivityId(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) -
getActivityTypeName
@Nullable public static 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 Long getTime(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes) -
getMetadata
@Nullable public static LocalActivityMarkerMetadata getMetadata(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)
-