Class ExecuteActivityParameters
- java.lang.Object
-
- com.uber.cadence.internal.replay.ExecuteActivityParameters
-
- All Implemented Interfaces:
java.lang.Cloneable
public class ExecuteActivityParameters extends java.lang.Object implements java.lang.Cloneable
-
-
Constructor Summary
Constructors Constructor Description ExecuteActivityParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecuteActivityParameters
copy()
java.lang.String
getActivityId()
Returns the value of the ActivityId property for this object.ActivityType
getActivityType()
Returns the value of the ActivityType property for this object.java.util.Map<java.lang.String,byte[]>
getContext()
long
getHeartbeatTimeoutSeconds()
byte[]
getInput()
Returns the value of the Input property for this object.RetryParameters
getRetryParameters()
long
getScheduleToCloseTimeoutSeconds()
Returns the value of the ScheduleToCloseTimeout property for this object.long
getScheduleToStartTimeoutSeconds()
Returns the value of the ScheduleToStartTimeout property for this object.long
getStartToCloseTimeoutSeconds()
java.lang.String
getTaskList()
Returns the value of the TaskList property for this object.void
setActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.void
setActivityType(ActivityType activityType)
Sets the value of the ActivityType property for this object.void
setContext(java.util.Map<java.lang.String,byte[]> context)
void
setHeartbeatTimeoutSeconds(long heartbeatTimeoutSeconds)
void
setInput(byte[] input)
Sets the value of the Input property for this object.void
setRetryParameters(RetryParameters retryParameters)
void
setScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.void
setScheduleToStartTimeoutSeconds(long scheduleToStartTimeoutSeconds)
Sets the value of the ScheduleToStartTimeout property for this object.void
setStartToCloseTimeoutSeconds(long startToCloseTimeoutSeconds)
void
setTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.java.lang.String
toString()
ExecuteActivityParameters
withActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.ExecuteActivityParameters
withActivityType(ActivityType activityType)
Sets the value of the ActivityType property for this object.ExecuteActivityParameters
withContext(java.util.Map<java.lang.String,byte[]> context)
ExecuteActivityParameters
withHeartbeatTimeoutSeconds(long heartbeatTimeoutSeconds)
ExecuteActivityParameters
withInput(byte[] input)
Sets the value of the Input property for this object.ExecuteActivityParameters
withRetryParameters(RetryParameters retryParameters)
ExecuteActivityParameters
withScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.ExecuteActivityParameters
withScheduleToStartTimeoutSeconds(long scheduleToStartTimeoutSeconds)
Sets the value of the ScheduleToStartTimeout property for this object.ExecuteActivityParameters
withStartToCloseTimeoutSeconds(long startToCloseTimeoutSeconds)
ExecuteActivityParameters
withTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.
-
-
-
Method Detail
-
getActivityType
public ActivityType getActivityType()
Returns the value of the ActivityType property for this object.- Returns:
- The value of the ActivityType property for this object.
-
setActivityType
public void setActivityType(ActivityType activityType)
Sets the value of the ActivityType property for this object.- Parameters:
activityType
- The new value for the ActivityType property for this object.
-
withActivityType
public ExecuteActivityParameters withActivityType(ActivityType activityType)
Sets the value of the ActivityType property for this object.Returns a reference to this object so that method calls can be chained together.
- Parameters:
activityType
- The new value for the ActivityType property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getActivityId
public java.lang.String getActivityId()
Returns the value of the ActivityId property for this object.Constraints:
Length: 1 - 64- Returns:
- The value of the ActivityId property for this object.
-
setActivityId
public void setActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.Constraints:
Length: 1 - 64- Parameters:
activityId
- The new value for the ActivityId property for this object.
-
withActivityId
public ExecuteActivityParameters withActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64- Parameters:
activityId
- The new value for the ActivityId property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getInput
public byte[] getInput()
Returns the value of the Input property for this object.Constraints:
Length: 0 - 100000- Returns:
- The value of the Input property for this object.
-
setInput
public void setInput(byte[] input)
Sets the value of the Input property for this object.Constraints:
Length: 0 - 100000- Parameters:
input
- The new value for the Input property for this object.
-
withInput
public ExecuteActivityParameters withInput(byte[] input)
Sets the value of the Input property for this object.Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100000- Parameters:
input
- The new value for the Input property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getHeartbeatTimeoutSeconds
public long getHeartbeatTimeoutSeconds()
-
setHeartbeatTimeoutSeconds
public void setHeartbeatTimeoutSeconds(long heartbeatTimeoutSeconds)
-
withHeartbeatTimeoutSeconds
public ExecuteActivityParameters withHeartbeatTimeoutSeconds(long heartbeatTimeoutSeconds)
-
getScheduleToStartTimeoutSeconds
public long getScheduleToStartTimeoutSeconds()
Returns the value of the ScheduleToStartTimeout property for this object.Constraints:
Length: 1 - 64- Returns:
- The value of the ScheduleToStartTimeout property for this object.
-
setScheduleToStartTimeoutSeconds
public void setScheduleToStartTimeoutSeconds(long scheduleToStartTimeoutSeconds)
Sets the value of the ScheduleToStartTimeout property for this object.Constraints:
Length: 1 - 64- Parameters:
scheduleToStartTimeoutSeconds
- The new value for the ScheduleToStartTimeout property for this object.
-
withScheduleToStartTimeoutSeconds
public ExecuteActivityParameters withScheduleToStartTimeoutSeconds(long scheduleToStartTimeoutSeconds)
Sets the value of the ScheduleToStartTimeout property for this object.Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64- Parameters:
scheduleToStartTimeoutSeconds
- The new value for the ScheduleToStartTimeout property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getScheduleToCloseTimeoutSeconds
public long getScheduleToCloseTimeoutSeconds()
Returns the value of the ScheduleToCloseTimeout property for this object.Constraints:
Length: 1 - 64- Returns:
- The value of the ScheduleToCloseTimeout property for this object.
-
setScheduleToCloseTimeoutSeconds
public void setScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.Constraints:
Length: 1 - 64- Parameters:
scheduleToCloseTimeoutSeconds
- The new value for the ScheduleToCloseTimeout property for this object.
-
withScheduleToCloseTimeoutSeconds
public ExecuteActivityParameters withScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64- Parameters:
scheduleToCloseTimeoutSeconds
- The new value for the ScheduleToCloseTimeout property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getStartToCloseTimeoutSeconds
public long getStartToCloseTimeoutSeconds()
-
setStartToCloseTimeoutSeconds
public void setStartToCloseTimeoutSeconds(long startToCloseTimeoutSeconds)
-
withStartToCloseTimeoutSeconds
public ExecuteActivityParameters withStartToCloseTimeoutSeconds(long startToCloseTimeoutSeconds)
-
getTaskList
public java.lang.String getTaskList()
Returns the value of the TaskList property for this object.- Returns:
- The value of the TaskList property for this object.
-
setTaskList
public void setTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.- Parameters:
taskList
- The new value for the TaskList property for this object.
-
withTaskList
public ExecuteActivityParameters withTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.Returns a reference to this object so that method calls can be chained together.
- Parameters:
taskList
- The new value for the TaskList property for this object.- Returns:
- A reference to this updated object so that method calls can be chained together.
-
getRetryParameters
public RetryParameters getRetryParameters()
-
setRetryParameters
public void setRetryParameters(RetryParameters retryParameters)
-
withRetryParameters
public ExecuteActivityParameters withRetryParameters(RetryParameters retryParameters)
-
getContext
public java.util.Map<java.lang.String,byte[]> getContext()
-
setContext
public void setContext(java.util.Map<java.lang.String,byte[]> context)
-
withContext
public ExecuteActivityParameters withContext(java.util.Map<java.lang.String,byte[]> context)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
copy
public ExecuteActivityParameters copy()
-
-