public class ActivityTaskStartedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ActivityTaskStarted
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identity
Identity of the worker that was assigned this task.
|
private java.lang.Long |
scheduledEventId
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
Constructor and Description |
---|
ActivityTaskStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskStartedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
Identity of the worker that was assigned this task.
|
java.lang.Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
Identity of the worker that was assigned this task.
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskStartedEventAttributes |
withIdentity(java.lang.String identity)
Identity of the worker that was assigned this task.
|
ActivityTaskStartedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
private java.lang.String identity
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
private java.lang.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.
public void setIdentity(java.lang.String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
identity
- Identity of the worker that was assigned this task. This aids
diagnostics when problems arise. The form of this identity is user
defined.public java.lang.String getIdentity()
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
public ActivityTaskStartedEventAttributes withIdentity(java.lang.String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
identity
- Identity of the worker that was assigned this task. This aids
diagnostics when problems arise. The form of this identity is user
defined.public void setScheduledEventId(java.lang.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 java.lang.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 ActivityTaskStartedEventAttributes withScheduledEventId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActivityTaskStartedEventAttributes clone()
clone
in class java.lang.Object