Class ActivityTaskCompletedEventAttributes
- All Implemented Interfaces:
Serializable,Cloneable
Provides details of the ActivityTaskCompleted event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe results of the activity task (if any).The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.The ID of theActivityTaskStartedevent recorded when this activity task was started.inthashCode()voidThe results of the activity task (if any).voidsetScheduledEventId(Long scheduledEventId) The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.voidsetStartedEventId(Long startedEventId) The ID of theActivityTaskStartedevent 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 theActivityTaskScheduledevent that was recorded when this activity task was scheduled.withStartedEventId(Long startedEventId) The ID of theActivityTaskStartedevent 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
ActivityTaskScheduledevent 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 theActivityTaskScheduledevent 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
ActivityTaskScheduledevent 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
ActivityTaskScheduledevent 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
ActivityTaskScheduledevent 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 theActivityTaskScheduledevent 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
ActivityTaskStartedevent 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 theActivityTaskStartedevent 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
ActivityTaskStartedevent 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
ActivityTaskStartedevent 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
ActivityTaskStartedevent 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 theActivityTaskStartedevent 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
-