Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionSignaledEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.WorkflowExecutionSignaledEventAttributes
All Implemented Interfaces:
Serializable

public class WorkflowExecutionSignaledEventAttributes
extends Object
implements Serializable

Provides details of the WorkflowExecutionSignaled event.

See Also:
Serialized Form

Constructor Summary
WorkflowExecutionSignaledEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getExternalInitiatedEventId()
          The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
 WorkflowExecution getExternalWorkflowExecution()
          The workflow execution that sent the signal.
 String getInput()
          Inputs provided with the signal (if any).
 String getSignalName()
          The name of the signal received.
 int hashCode()
           
 void setExternalInitiatedEventId(Long externalInitiatedEventId)
          The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow 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 setInput(String input)
          Inputs provided with the signal (if any).
 void setSignalName(String signalName)
          The name of the signal received.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionSignaledEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
          The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
 WorkflowExecutionSignaledEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
          The workflow execution that sent the signal.
 WorkflowExecutionSignaledEventAttributes withInput(String input)
          Inputs provided with the signal (if any).
 WorkflowExecutionSignaledEventAttributes withSignalName(String signalName)
          The name of the signal received.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionSignaledEventAttributes

public WorkflowExecutionSignaledEventAttributes()
Method Detail

getSignalName

public String getSignalName()
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.

Constraints:
Length: 1 - 256

Returns:
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.

setSignalName

public void setSignalName(String signalName)
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.

Constraints:
Length: 1 - 256

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.

withSignalName

public WorkflowExecutionSignaledEventAttributes withSignalName(String 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 a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

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:
A reference to this updated object so that method calls can be chained together.

getInput

public String getInput()
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.

Constraints:
Length: 0 - 32768

Returns:
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.

setInput

public void setInput(String input)
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.

Constraints:
Length: 0 - 32768

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.

withInput

public WorkflowExecutionSignaledEventAttributes withInput(String 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 a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

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:
A reference to this updated object so that method calls can be chained together.

getExternalWorkflowExecution

public WorkflowExecution 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.

setExternalWorkflowExecution

public void setExternalWorkflowExecution(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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
externalWorkflowExecution - The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getExternalInitiatedEventId

public Long getExternalInitiatedEventId()
The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow 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 the SignalExternalWorkflow 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.

setExternalInitiatedEventId

public void setExternalInitiatedEventId(Long externalInitiatedEventId)
The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow 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 the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow 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 the SignalExternalWorkflow 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 a reference to this object so that method calls can be chained together.

Parameters:
externalInitiatedEventId - The id of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow 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:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.