Class TimerCanceledEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the TimerCanceled
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision to cancel this timer.The ID of theTimerStarted
event that was recorded when this timer was started.The unique ID of the timer that was canceled.int
hashCode()
void
setDecisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision to cancel this timer.void
setStartedEventId
(Long startedEventId) The ID of theTimerStarted
event that was recorded when this timer was started.void
setTimerId
(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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision to cancel this timer.withStartedEventId
(Long startedEventId) The ID of theTimerStarted
event 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
TimerStarted
event 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 theTimerStarted
event 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
TimerStarted
event 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
TimerStarted
event 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
TimerStarted
event 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 theTimerStarted
event 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-