Class ActivityTaskCompletedEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the ActivityTaskCompleted
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The results of the activity task (if any).The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled.The ID of theActivityTaskStarted
event recorded when this activity task was started.int
hashCode()
void
The results of the activity task (if any).void
setScheduledEventId
(Long scheduledEventId) The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled.void
setStartedEventId
(Long startedEventId) The ID of theActivityTaskStarted
event recorded when this activity task was started.toString()
Returns a string representation of this object; useful for testing and debugging.withResult
(String result) The results of the activity task (if any).withScheduledEventId
(Long scheduledEventId) The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled.withStartedEventId
(Long startedEventId) The ID of theActivityTaskStarted
event recorded when this activity task was started.
-
Constructor Details
-
ActivityTaskCompletedEventAttributes
public ActivityTaskCompletedEventAttributes()
-
-
Method Details
-
setResult
The results of the activity task (if any).
- Parameters:
result
- The results of the activity task (if any).
-
getResult
The results of the activity task (if any).
- Returns:
- The results of the activity task (if any).
-
withResult
The results of the activity task (if any).
- Parameters:
result
- The results of the activity task (if any).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduledEventId
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
scheduledEventId
- The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getScheduledEventId
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. 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
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withScheduledEventId
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
scheduledEventId
- The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled. 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.
-
setStartedEventId
The ID of the
ActivityTaskStarted
event recorded when this activity task 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 theActivityTaskStarted
event recorded when this activity task 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
ActivityTaskStarted
event recorded when this activity task 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
ActivityTaskStarted
event recorded when this activity task 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
ActivityTaskStarted
event recorded when this activity task 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 theActivityTaskStarted
event recorded when this activity task 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-