public class DecisionTaskCompletedEventAttributes extends Object implements Serializable
Provides details of the DecisionTaskCompleted
event.
Constructor and Description |
---|
DecisionTaskCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getExecutionContext()
User defined context for the workflow execution.
|
Long |
getScheduledEventId()
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
Long |
getStartedEventId()
The Id of the
DecisionTaskStarted event recorded when
this decision task was started. |
int |
hashCode() |
void |
setExecutionContext(String executionContext)
User defined context for the workflow execution.
|
void |
setScheduledEventId(Long scheduledEventId)
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
void |
setStartedEventId(Long startedEventId)
The Id of the
DecisionTaskStarted event recorded when
this decision task was started. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskCompletedEventAttributes |
withExecutionContext(String executionContext)
User defined context for the workflow execution.
|
DecisionTaskCompletedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
DecisionTaskCompletedEventAttributes |
withStartedEventId(Long startedEventId)
The Id of the
DecisionTaskStarted event recorded when
this decision task was started. |
public DecisionTaskCompletedEventAttributes()
public String getExecutionContext()
Constraints:
Length: 0 - 32768
public void setExecutionContext(String executionContext)
Constraints:
Length: 0 - 32768
executionContext
- User defined context for the workflow execution.public DecisionTaskCompletedEventAttributes withExecutionContext(String executionContext)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
executionContext
- User defined context for the workflow execution.public Long getScheduledEventId()
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 void setScheduledEventId(Long scheduledEventId)
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 DecisionTaskCompletedEventAttributes withScheduledEventId(Long scheduledEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 Long getStartedEventId()
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 void setStartedEventId(Long startedEventId)
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 DecisionTaskCompletedEventAttributes withStartedEventId(Long startedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.