Package io.temporal.internal.history
Class LocalActivityMarkerUtils
- java.lang.Object
-
- io.temporal.internal.history.LocalActivityMarkerUtils
-
public class LocalActivityMarkerUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMARKER_ACTIVITY_ID_KEYstatic java.lang.StringMARKER_ACTIVITY_INPUT_KEYstatic java.lang.StringMARKER_ACTIVITY_RESULT_KEYstatic java.lang.StringMARKER_ACTIVITY_TYPE_KEYstatic java.lang.StringMARKER_METADATA_KEYstatic java.lang.StringMARKER_NAMEstatic java.lang.StringMARKER_TIME_KEY
-
Constructor Summary
Constructors Constructor Description LocalActivityMarkerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetActivityId(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)static java.lang.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 java.lang.LonggetTime(io.temporal.api.history.v1.MarkerRecordedEventAttributes markerAttributes)static booleanhasLocalActivityStructure(io.temporal.api.history.v1.HistoryEvent event)
-
-
-
Field Detail
-
MARKER_NAME
public static final java.lang.String MARKER_NAME
- See Also:
- Constant Field Values
-
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_TIME_KEY
public static final java.lang.String MARKER_TIME_KEY
- See Also:
- Constant Field Values
-
MARKER_METADATA_KEY
public static final java.lang.String MARKER_METADATA_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 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)
-
-