public class TimerStartedEventAttributes extends Object implements Serializable
Provides details of the TimerStarted
event.
Constructor and Description |
---|
TimerStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getControl()
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
Long |
getDecisionTaskCompletedEventId()
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
String |
getStartToFireTimeout()
The duration of time after which the timer will fire.
|
String |
getTimerId()
The unique Id of the timer that was started.
|
int |
hashCode() |
void |
setControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
void |
setStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
|
void |
setTimerId(String timerId)
The unique Id of the timer that was started.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerStartedEventAttributes |
withControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
TimerStartedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
TimerStartedEventAttributes |
withStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
|
TimerStartedEventAttributes |
withTimerId(String timerId)
The unique Id of the timer that was started.
|
public String getTimerId()
Constraints:
Length: 1 - 256
public void setTimerId(String timerId)
Constraints:
Length: 1 - 256
timerId
- The unique Id of the timer that was started.public TimerStartedEventAttributes withTimerId(String timerId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
timerId
- The unique Id of the timer that was started.public String getControl()
Constraints:
Length: 0 - 32768
public void setControl(String control)
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.public TimerStartedEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.public String getStartToFireTimeout()
The duration is specified in seconds. The valid values are integers greater than or equal to 0.
Constraints:
Length: 1 - 8
The duration is specified in seconds. The valid values are integers greater than or equal to 0.
public void setStartToFireTimeout(String startToFireTimeout)
The duration is specified in seconds. The valid values are integers greater than or equal to 0.
Constraints:
Length: 1 - 8
startToFireTimeout
- The duration of time after which the timer will fire. The duration is specified in seconds. The valid values are integers greater than or equal to 0.
public TimerStartedEventAttributes withStartToFireTimeout(String startToFireTimeout)
The duration is specified in seconds. The valid values are integers greater than or equal to 0.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8
startToFireTimeout
- The duration of time after which the timer will fire. The duration is specified in seconds. The valid values are integers greater than or equal to 0.
public Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.decisionTaskCompletedEventId
- The id of the DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.public TimerStartedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.
Returns a reference to this object so that method calls can be chained together.
decisionTaskCompletedEventId
- The id of the DecisionTaskCompleted
event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the cause of events.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.