public interface ActivityTask
Activity.getTask()
to access.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivityId()
ID of the activity.
|
java.lang.String |
getActivityType()
Type of the activity.
|
java.time.Duration |
getHeartbeatTimeout() |
long |
getScheduledTimestamp()
Time when the activity was initially scheduled by the workflow.
|
java.time.Duration |
getScheduleToCloseTimeout() |
java.time.Duration |
getStartToCloseTimeout() |
byte[] |
getTaskToken()
A correlation token that can be used to complete the activity asynchronously through
ActivityCompletionClient.complete(byte[], Object) . |
WorkflowExecution |
getWorkflowExecution()
ID and RunID of the workflow that scheduled the activity.
|
byte[] getTaskToken()
ActivityCompletionClient.complete(byte[], Object)
.WorkflowExecution getWorkflowExecution()
java.lang.String getActivityId()
ActivityCompletionClient.complete(WorkflowExecution, String, Object)
.java.lang.String getActivityType()
long getScheduledTimestamp()
java.time.Duration getScheduleToCloseTimeout()
java.time.Duration getStartToCloseTimeout()
java.time.Duration getHeartbeatTimeout()