Interface ActivityTask


  • public interface ActivityTask
    The information about the activity task that the current activity is handling. Use Activity.getTask() to access.
    • Method Detail

      • getWorkflowExecution

        WorkflowExecution getWorkflowExecution()
        ID and RunID of the workflow that scheduled the activity.
      • getActivityType

        java.lang.String getActivityType()
        Type of the activity.
      • getScheduledTimestamp

        long getScheduledTimestamp()
        Time when the activity was initially scheduled by the workflow.
        Returns:
        timestamp in milliseconds
      • getScheduleToCloseTimeout

        java.time.Duration getScheduleToCloseTimeout()
      • getStartToCloseTimeout

        java.time.Duration getStartToCloseTimeout()
      • getHeartbeatTimeout

        java.time.Duration getHeartbeatTimeout()
      • getHeartbeatDetails

        byte[] getHeartbeatDetails()
      • getWorkflowDomain

        java.lang.String getWorkflowDomain()
      • getAttempt

        int getAttempt()