Class TimerCanceledEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the TimerCanceled event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer.The ID of theTimerStartedevent that was recorded when this timer was started.The unique ID of the timer that was canceled.inthashCode()voidsetDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer.voidsetStartedEventId(Long startedEventId) The ID of theTimerStartedevent that was recorded when this timer was started.voidsetTimerId(String timerId) The unique ID of the timer that was canceled.toString()Returns a string representation of this object; useful for testing and debugging.withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer.withStartedEventId(Long startedEventId) The ID of theTimerStartedevent that was recorded when this timer was started.withTimerId(String timerId) The unique ID of the timer that was canceled.
-
Constructor Details
-
TimerCanceledEventAttributes
public TimerCanceledEventAttributes()
-
-
Method Details
-
setTimerId
The unique ID of the timer that was canceled.
- Parameters:
timerId- The unique ID of the timer that was canceled.
-
getTimerId
The unique ID of the timer that was canceled.
- Returns:
- The unique ID of the timer that was canceled.
-
withTimerId
The unique ID of the timer that was canceled.
- Parameters:
timerId- The unique ID of the timer that was canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theTimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. 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
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theTimerStartedevent that was recorded when this timer was started. 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.
-
setDecisionTaskCompletedEventId
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. 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 theDecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. 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
DecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. 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
DecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withDecisionTaskCompletedEventId
public TimerCanceledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. 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 theDecisionTaskCompletedevent corresponding to the decision task that resulted in theCancelTimerdecision to cancel this timer. 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.
-
toString
-
equals
-
hashCode
-
clone
-