Class SignalExternalWorkflowExecutionInitiatedEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the SignalExternalWorkflowExecutionInitiated
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanOptional. data attached to the event that can be used by the decider in subsequent decision tasks.The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal.getInput()Input provided to the signal (if any).getRunId()TherunIdof the external workflow execution to send the signal to.The name of the signal.TheworkflowIdof the external workflow execution.inthashCode()voidsetControl(String control) Optional. data attached to the event that can be used by the decider in subsequent decision tasks.voidsetDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal.voidInput provided to the signal (if any).voidTherunIdof the external workflow execution to send the signal to.voidsetSignalName(String signalName) The name of the signal.voidsetWorkflowId(String workflowId) TheworkflowIdof the external workflow execution.toString()Returns a string representation of this object; useful for testing and debugging.withControl(String control) Optional. data attached to the event that can be used by the decider in subsequent decision tasks.withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal.Input provided to the signal (if any).TherunIdof the external workflow execution to send the signal to.withSignalName(String signalName) The name of the signal.withWorkflowId(String workflowId) TheworkflowIdof the external workflow execution.
-
Constructor Details
-
SignalExternalWorkflowExecutionInitiatedEventAttributes
public SignalExternalWorkflowExecutionInitiatedEventAttributes()
-
-
Method Details
-
setWorkflowId
The
workflowIdof the external workflow execution.- Parameters:
workflowId- TheworkflowIdof the external workflow execution.
-
getWorkflowId
The
workflowIdof the external workflow execution.- Returns:
- The
workflowIdof the external workflow execution.
-
withWorkflowId
The
workflowIdof the external workflow execution.- Parameters:
workflowId- TheworkflowIdof the external workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunId
The
runIdof the external workflow execution to send the signal to.- Parameters:
runId- TherunIdof the external workflow execution to send the signal to.
-
getRunId
The
runIdof the external workflow execution to send the signal to.- Returns:
- The
runIdof the external workflow execution to send the signal to.
-
withRunId
The
runIdof the external workflow execution to send the signal to.- Parameters:
runId- TherunIdof the external workflow execution to send the signal to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSignalName
The name of the signal.
- Parameters:
signalName- The name of the signal.
-
getSignalName
-
withSignalName
The name of the signal.
- Parameters:
signalName- The name of the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
Input provided to the signal (if any).
- Parameters:
input- Input provided to the signal (if any).
-
getInput
Input provided to the signal (if any).
- Returns:
- Input provided to the signal (if any).
-
withInput
Input provided to the signal (if any).
- Parameters:
input- Input provided to the signal (if any).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDecisionTaskCompletedEventId
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getDecisionTaskCompletedEventId
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for 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
DecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withDecisionTaskCompletedEventId
public SignalExternalWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theSignalExternalWorkflowExecutiondecision for 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.
-
setControl
Optional. data attached to the event that can be used by the decider in subsequent decision tasks.
- Parameters:
control- Optional.
-
getControl
Optional. data attached to the event that can be used by the decider in subsequent decision tasks.
- Returns:
- Optional.
-
withControl
Optional. data attached to the event that can be used by the decider in subsequent decision tasks.
- Parameters:
control- Optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-