Class ExternalWorkflowExecutionSignaledEventAttributes

    • Constructor Detail

      • ExternalWorkflowExecutionSignaledEventAttributes

        public ExternalWorkflowExecutionSignaledEventAttributes()
    • Method Detail

      • setWorkflowExecution

        public void setWorkflowExecution​(WorkflowExecution workflowExecution)

        The external workflow execution that the signal was delivered to.

        Parameters:
        workflowExecution - The external workflow execution that the signal was delivered to.
      • getWorkflowExecution

        public WorkflowExecution getWorkflowExecution()

        The external workflow execution that the signal was delivered to.

        Returns:
        The external workflow execution that the signal was delivered to.
      • withWorkflowExecution

        public ExternalWorkflowExecutionSignaledEventAttributes withWorkflowExecution​(WorkflowExecution workflowExecution)

        The external workflow execution that the signal was delivered to.

        Parameters:
        workflowExecution - The external workflow execution that the signal was delivered to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInitiatedEventId

        public void setInitiatedEventId​(Long initiatedEventId)

        The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        initiatedEventId - The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • getInitiatedEventId

        public Long getInitiatedEventId()

        The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Returns:
        The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • withInitiatedEventId

        public ExternalWorkflowExecutionSignaledEventAttributes withInitiatedEventId​(Long initiatedEventId)

        The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        initiatedEventId - The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object