Class WorkflowSlotInfo


  • public class WorkflowSlotInfo
    extends SlotInfo
    Contains information about a slot that is being used to execute a workflow task.
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowSlotInfo​(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response, io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request)
      Don't rely on this constructor.
      WorkflowSlotInfo​(java.lang.String workflowType, java.lang.String taskQueue, java.lang.String workflowId, java.lang.String runId, java.lang.String workerIdentity, java.lang.String workerBuildId, boolean fromStickyQueue)
      Don't rely on this constructor.
    • Constructor Detail

      • WorkflowSlotInfo

        public WorkflowSlotInfo​(@Nonnull
                                io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response,
                                @Nonnull
                                io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request)
        Don't rely on this constructor. It is for internal use by the SDK.
      • WorkflowSlotInfo

        public WorkflowSlotInfo​(java.lang.String workflowType,
                                java.lang.String taskQueue,
                                java.lang.String workflowId,
                                java.lang.String runId,
                                java.lang.String workerIdentity,
                                java.lang.String workerBuildId,
                                boolean fromStickyQueue)
        Don't rely on this constructor. It is for internal use by the SDK.
    • Method Detail

      • getWorkflowType

        public java.lang.String getWorkflowType()
      • getWorkflowId

        public java.lang.String getWorkflowId()
      • getRunId

        public java.lang.String getRunId()
      • getTaskQueue

        public java.lang.String getTaskQueue()
      • getWorkerIdentity

        public java.lang.String getWorkerIdentity()
      • getWorkerBuildId

        public java.lang.String getWorkerBuildId()
      • isFromStickyQueue

        public boolean isFromStickyQueue()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object