Class SignalExternalWorkflowExecutionInitiatedEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the SignalExternalWorkflowExecutionInitiated
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Optional. data attached to the event that can be used by the decider in subsequent decision tasks.The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision for this signal.getInput()
Input provided to the signal (if any).getRunId()
TherunId
of the external workflow execution to send the signal to.The name of the signal.TheworkflowId
of the external workflow execution.int
hashCode()
void
setControl
(String control) Optional. data attached to the event that can be used by the decider in subsequent decision tasks.void
setDecisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision for this signal.void
Input provided to the signal (if any).void
TherunId
of the external workflow execution to send the signal to.void
setSignalName
(String signalName) The name of the signal.void
setWorkflowId
(String workflowId) TheworkflowId
of 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision for this signal.Input provided to the signal (if any).TherunId
of the external workflow execution to send the signal to.withSignalName
(String signalName) The name of the signal.withWorkflowId
(String workflowId) TheworkflowId
of the external workflow execution.
-
Constructor Details
-
SignalExternalWorkflowExecutionInitiatedEventAttributes
public SignalExternalWorkflowExecutionInitiatedEventAttributes()
-
-
Method Details
-
setWorkflowId
The
workflowId
of the external workflow execution.- Parameters:
workflowId
- TheworkflowId
of the external workflow execution.
-
getWorkflowId
The
workflowId
of the external workflow execution.- Returns:
- The
workflowId
of the external workflow execution.
-
withWorkflowId
The
workflowId
of the external workflow execution.- Parameters:
workflowId
- TheworkflowId
of the external workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunId
The
runId
of the external workflow execution to send the signal to.- Parameters:
runId
- TherunId
of the external workflow execution to send the signal to.
-
getRunId
The
runId
of the external workflow execution to send the signal to.- Returns:
- The
runId
of the external workflow execution to send the signal to.
-
withRunId
The
runId
of the external workflow execution to send the signal to.- Parameters:
runId
- TherunId
of 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
The name of the signal.
- Returns:
- The name of the signal.
-
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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-