Class CancelActivityExecutionInput
java.lang.Object
io.temporal.nexus.CancelActivityExecutionInput
Input to
TemporalOperationHandler.cancelActivityExecution(io.temporal.nexus.TemporalOperationCancelContext, io.temporal.nexus.CancelActivityExecutionInput) describing the activity
execution to cancel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the activity ID extracted from the operation token.getRunId()Returns the activity run ID extracted from the operation token, ornullif absent.
-
Constructor Details
-
CancelActivityExecutionInput
-
-
Method Details
-
getActivityId
Returns the activity ID extracted from the operation token. -
getRunId
Returns the activity run ID extracted from the operation token, ornullif absent.Run ID is only present on operation tokens that were generated by this SDK AFTER the start activity RPC completed. Tokens originating from the activity completion callback header do not carry a run ID.
-