public class DecisionTaskCompletedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the DecisionTaskCompleted
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
executionContext
User defined context for the workflow execution.
|
private java.lang.Long |
scheduledEventId
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
private java.lang.Long |
startedEventId
The ID of the
DecisionTaskStarted event recorded when this
decision task was started. |
Constructor and Description |
---|
DecisionTaskCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
DecisionTaskCompletedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExecutionContext()
User defined context for the workflow execution.
|
java.lang.Long |
getScheduledEventId()
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
java.lang.Long |
getStartedEventId()
The ID of the
DecisionTaskStarted event recorded when this
decision task was started. |
int |
hashCode() |
void |
setExecutionContext(java.lang.String executionContext)
User defined context for the workflow execution.
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
void |
setStartedEventId(java.lang.Long startedEventId)
The ID of the
DecisionTaskStarted event recorded when this
decision task was started. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskCompletedEventAttributes |
withExecutionContext(java.lang.String executionContext)
User defined context for the workflow execution.
|
DecisionTaskCompletedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
DecisionTaskCompletedEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
DecisionTaskStarted event recorded when this
decision task was started. |
private java.lang.String executionContext
User defined context for the workflow execution.
private java.lang.Long scheduledEventId
The ID of the DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
private java.lang.Long startedEventId
The ID of the DecisionTaskStarted
event recorded when this
decision task was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
public DecisionTaskCompletedEventAttributes()
public void setExecutionContext(java.lang.String executionContext)
User defined context for the workflow execution.
executionContext
- User defined context for the workflow execution.public java.lang.String getExecutionContext()
User defined context for the workflow execution.
public DecisionTaskCompletedEventAttributes withExecutionContext(java.lang.String executionContext)
User defined context for the workflow execution.
executionContext
- User defined context for the workflow execution.public void setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the DecisionTaskScheduled
event that was recorded
when this decision 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 DecisionTaskScheduled
event that was
recorded when this decision 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 DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
DecisionTaskScheduled
event that was
recorded when this decision task was scheduled. This information
can be useful for diagnosing problems by tracing back the chain
of events leading up to this event.public DecisionTaskCompletedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the DecisionTaskScheduled
event that was recorded
when this decision 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 DecisionTaskScheduled
event that was
recorded when this decision 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(java.lang.Long startedEventId)
The ID of the DecisionTaskStarted
event recorded when this
decision 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 DecisionTaskStarted
event recorded when
this decision task was started. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public java.lang.Long getStartedEventId()
The ID of the DecisionTaskStarted
event recorded when this
decision task was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
DecisionTaskStarted
event recorded
when this decision task was started. This information can be
useful for diagnosing problems by tracing back the chain of
events leading up to this event.public DecisionTaskCompletedEventAttributes withStartedEventId(java.lang.Long startedEventId)
The ID of the DecisionTaskStarted
event recorded when this
decision 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 DecisionTaskStarted
event recorded when
this decision task was started. 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 DecisionTaskCompletedEventAttributes clone()
clone
in class java.lang.Object