public class WorkflowExecutionInfo
extends java.lang.Object
implements java.io.Serializable
Contains information about a workflow execution.
| コンストラクタと説明 |
|---|
WorkflowExecutionInfo() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCancelRequested()
Set to true if a cancellation is requested for this workflow
execution.
|
java.lang.String |
getCloseStatus()
If the execution status is closed then this specifies how the
execution was closed: COMPLETED: the execution was
successfully completed.
|
java.util.Date |
getCloseTimestamp()
The time when the workflow execution was closed.
|
WorkflowExecution |
getExecution()
The workflow execution this information is about.
|
java.lang.String |
getExecutionStatus()
The current status of the execution.
|
WorkflowExecution |
getParent()
If this workflow execution is a child of another execution then
contains the workflow execution that started this execution.
|
java.util.Date |
getStartTimestamp()
The time when the execution was started.
|
java.util.List<java.lang.String> |
getTagList()
The list of tags associated with the workflow execution.
|
WorkflowType |
getWorkflowType()
The type of the workflow execution.
|
int |
hashCode() |
java.lang.Boolean |
isCancelRequested()
Set to true if a cancellation is requested for this workflow
execution.
|
void |
setCancelRequested(java.lang.Boolean cancelRequested)
Set to true if a cancellation is requested for this workflow
execution.
|
void |
setCloseStatus(CloseStatus closeStatus)
If the execution status is closed then this specifies how the
execution was closed: COMPLETED: the execution was
successfully completed.
|
void |
setCloseStatus(java.lang.String closeStatus)
If the execution status is closed then this specifies how the
execution was closed: COMPLETED: the execution was
successfully completed.
|
void |
setCloseTimestamp(java.util.Date closeTimestamp)
The time when the workflow execution was closed.
|
void |
setExecution(WorkflowExecution execution)
The workflow execution this information is about.
|
void |
setExecutionStatus(ExecutionStatus executionStatus)
The current status of the execution.
|
void |
setExecutionStatus(java.lang.String executionStatus)
The current status of the execution.
|
void |
setParent(WorkflowExecution parent)
If this workflow execution is a child of another execution then
contains the workflow execution that started this execution.
|
void |
setStartTimestamp(java.util.Date startTimestamp)
The time when the execution was started.
|
void |
setTagList(java.util.Collection<java.lang.String> tagList)
The list of tags associated with the workflow execution.
|
void |
setWorkflowType(WorkflowType workflowType)
The type of the workflow execution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionInfo |
withCancelRequested(java.lang.Boolean cancelRequested)
Set to true if a cancellation is requested for this workflow
execution.
|
WorkflowExecutionInfo |
withCloseStatus(CloseStatus closeStatus)
If the execution status is closed then this specifies how the
execution was closed: COMPLETED: the execution was
successfully completed.
|
WorkflowExecutionInfo |
withCloseStatus(java.lang.String closeStatus)
If the execution status is closed then this specifies how the
execution was closed: COMPLETED: the execution was
successfully completed.
|
WorkflowExecutionInfo |
withCloseTimestamp(java.util.Date closeTimestamp)
The time when the workflow execution was closed.
|
WorkflowExecutionInfo |
withExecution(WorkflowExecution execution)
The workflow execution this information is about.
|
WorkflowExecutionInfo |
withExecutionStatus(ExecutionStatus executionStatus)
The current status of the execution.
|
WorkflowExecutionInfo |
withExecutionStatus(java.lang.String executionStatus)
The current status of the execution.
|
WorkflowExecutionInfo |
withParent(WorkflowExecution parent)
If this workflow execution is a child of another execution then
contains the workflow execution that started this execution.
|
WorkflowExecutionInfo |
withStartTimestamp(java.util.Date startTimestamp)
The time when the execution was started.
|
WorkflowExecutionInfo |
withTagList(java.util.Collection<java.lang.String> tagList)
The list of tags associated with the workflow execution.
|
WorkflowExecutionInfo |
withTagList(java.lang.String... tagList)
The list of tags associated with the workflow execution.
|
WorkflowExecutionInfo |
withWorkflowType(WorkflowType workflowType)
The type of the workflow execution.
|
public WorkflowExecution getExecution()
public void setExecution(WorkflowExecution execution)
execution - The workflow execution this information is about.public WorkflowExecutionInfo withExecution(WorkflowExecution execution)
Returns a reference to this object so that method calls can be chained together.
execution - The workflow execution this information is about.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType - The type of the workflow execution.public WorkflowExecutionInfo withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType - The type of the workflow execution.public java.util.Date getStartTimestamp()
public void setStartTimestamp(java.util.Date startTimestamp)
startTimestamp - The time when the execution was started.public WorkflowExecutionInfo withStartTimestamp(java.util.Date startTimestamp)
Returns a reference to this object so that method calls can be chained together.
startTimestamp - The time when the execution was started.public java.util.Date getCloseTimestamp()
public void setCloseTimestamp(java.util.Date closeTimestamp)
closeTimestamp - The time when the workflow execution was closed. Set only if the
execution status is CLOSED.public WorkflowExecutionInfo withCloseTimestamp(java.util.Date closeTimestamp)
Returns a reference to this object so that method calls can be chained together.
closeTimestamp - The time when the workflow execution was closed. Set only if the
execution status is CLOSED.public java.lang.String getExecutionStatus()
Constraints:
Allowed Values: OPEN, CLOSED
ExecutionStatuspublic void setExecutionStatus(java.lang.String executionStatus)
Constraints:
Allowed Values: OPEN, CLOSED
executionStatus - The current status of the execution.ExecutionStatuspublic WorkflowExecutionInfo withExecutionStatus(java.lang.String executionStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OPEN, CLOSED
executionStatus - The current status of the execution.ExecutionStatuspublic void setExecutionStatus(ExecutionStatus executionStatus)
Constraints:
Allowed Values: OPEN, CLOSED
executionStatus - The current status of the execution.ExecutionStatuspublic WorkflowExecutionInfo withExecutionStatus(ExecutionStatus executionStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: OPEN, CLOSED
executionStatus - The current status of the execution.ExecutionStatuspublic java.lang.String getCloseStatus()
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
CloseStatuspublic void setCloseStatus(java.lang.String closeStatus)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
closeStatus - If the execution status is closed then this specifies how the
execution was closed: CloseStatuspublic WorkflowExecutionInfo withCloseStatus(java.lang.String closeStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
closeStatus - If the execution status is closed then this specifies how the
execution was closed: CloseStatuspublic void setCloseStatus(CloseStatus closeStatus)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
closeStatus - If the execution status is closed then this specifies how the
execution was closed: CloseStatuspublic WorkflowExecutionInfo withCloseStatus(CloseStatus closeStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
closeStatus - If the execution status is closed then this specifies how the
execution was closed: CloseStatuspublic WorkflowExecution getParent()
public void setParent(WorkflowExecution parent)
parent - If this workflow execution is a child of another execution then
contains the workflow execution that started this execution.public WorkflowExecutionInfo withParent(WorkflowExecution parent)
Returns a reference to this object so that method calls can be chained together.
parent - If this workflow execution is a child of another execution then
contains the workflow execution that started this execution.public java.util.List<java.lang.String> getTagList()
Constraints:
Length: 0 - 5
public void setTagList(java.util.Collection<java.lang.String> tagList)
Constraints:
Length: 0 - 5
tagList - The list of tags associated with the workflow execution. Tags can be
used to identify and list workflow executions of interest through the
visibility APIs. A workflow execution can have a maximum of 5 tags.public WorkflowExecutionInfo withTagList(java.lang.String... tagList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
tagList - The list of tags associated with the workflow execution. Tags can be
used to identify and list workflow executions of interest through the
visibility APIs. A workflow execution can have a maximum of 5 tags.public WorkflowExecutionInfo withTagList(java.util.Collection<java.lang.String> tagList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
tagList - The list of tags associated with the workflow execution. Tags can be
used to identify and list workflow executions of interest through the
visibility APIs. A workflow execution can have a maximum of 5 tags.public java.lang.Boolean isCancelRequested()
public void setCancelRequested(java.lang.Boolean cancelRequested)
cancelRequested - Set to true if a cancellation is requested for this workflow
execution.public WorkflowExecutionInfo withCancelRequested(java.lang.Boolean cancelRequested)
Returns a reference to this object so that method calls can be chained together.
cancelRequested - Set to true if a cancellation is requested for this workflow
execution.public java.lang.Boolean getCancelRequested()
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object