public class ActivityTaskCompletedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskCompleted event.
| Constructor and Description |
|---|
ActivityTaskCompletedEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
ActivityTaskCompletedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getResult()
The results of the activity task (if any).
|
Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
Long |
getStartedEventId()
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
int |
hashCode() |
void |
setResult(String result)
The results of the activity task (if any).
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
void |
setStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskCompletedEventAttributes |
withResult(String result)
The results of the activity task (if any).
|
ActivityTaskCompletedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
ActivityTaskCompletedEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
public ActivityTaskCompletedEventAttributes()
public void setResult(String result)
The results of the activity task (if any).
result - The results of the activity task (if any).public String getResult()
The results of the activity task (if any).
public ActivityTaskCompletedEventAttributes withResult(String result)
The results of the activity task (if any).
result - The results of the activity task (if any).public void setScheduledEventId(Long scheduledEventId)
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.
scheduledEventId - 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.public Long 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.
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.public ActivityTaskCompletedEventAttributes withScheduledEventId(Long scheduledEventId)
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.
scheduledEventId - 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.public void setStartedEventId(Long startedEventId)
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.
startedEventId - 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.public Long 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.
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.public ActivityTaskCompletedEventAttributes withStartedEventId(Long startedEventId)
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.
startedEventId - 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.public String toString()
toString in class ObjectObject.toString()public ActivityTaskCompletedEventAttributes clone()
Copyright © 2016. All rights reserved.