Class WorkflowExecutionSignaledEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the WorkflowExecutionSignaled
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.The workflow execution that sent the signal.getInput()
Inputs provided with the signal (if any).The name of the signal received.int
hashCode()
void
setExternalInitiatedEventId
(Long externalInitiatedEventId) The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.void
setExternalWorkflowExecution
(WorkflowExecution externalWorkflowExecution) The workflow execution that sent the signal.void
Inputs provided with the signal (if any).void
setSignalName
(String signalName) The name of the signal received.toString()
Returns a string representation of this object; useful for testing and debugging.withExternalInitiatedEventId
(Long externalInitiatedEventId) The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.withExternalWorkflowExecution
(WorkflowExecution externalWorkflowExecution) The workflow execution that sent the signal.Inputs provided with the signal (if any).withSignalName
(String signalName) The name of the signal received.
-
Constructor Details
-
WorkflowExecutionSignaledEventAttributes
public WorkflowExecutionSignaledEventAttributes()
-
-
Method Details
-
setSignalName
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Parameters:
signalName
- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
-
getSignalName
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Returns:
- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
-
withSignalName
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Parameters:
signalName
- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Parameters:
input
- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
-
getInput
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Returns:
- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
-
withInput
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Parameters:
input
- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalWorkflowExecution
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Parameters:
externalWorkflowExecution
- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
-
getExternalWorkflowExecution
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Returns:
- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
-
withExternalWorkflowExecution
public WorkflowExecutionSignaledEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution) The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Parameters:
externalWorkflowExecution
- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalInitiatedEventId
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Parameters:
externalInitiatedEventId
- The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
-
getExternalInitiatedEventId
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Returns:
- The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
-
withExternalInitiatedEventId
public WorkflowExecutionSignaledEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId) The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Parameters:
externalInitiatedEventId
- The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-