public class CloseStatusFilter
extends java.lang.Object
implements java.io.Serializable
Used to filter the closed workflow executions in visibility APIs by their close status.
| コンストラクタと説明 |
|---|
CloseStatusFilter() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatus()
The close status that must match the close status of an execution for
it to meet the criteria of this filter.
|
int |
hashCode() |
void |
setStatus(CloseStatus status)
The close status that must match the close status of an execution for
it to meet the criteria of this filter.
|
void |
setStatus(java.lang.String status)
The close status that must match the close status of an execution for
it to meet the criteria of this filter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloseStatusFilter |
withStatus(CloseStatus status)
The close status that must match the close status of an execution for
it to meet the criteria of this filter.
|
CloseStatusFilter |
withStatus(java.lang.String status)
The close status that must match the close status of an execution for
it to meet the criteria of this filter.
|
public java.lang.String getStatus()
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
CloseStatuspublic void setStatus(java.lang.String status)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
status - The close status that must match the close status of an execution for
it to meet the criteria of this filter. This field is required.CloseStatuspublic CloseStatusFilter withStatus(java.lang.String status)
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
status - The close status that must match the close status of an execution for
it to meet the criteria of this filter. This field is required.CloseStatuspublic void setStatus(CloseStatus status)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
status - The close status that must match the close status of an execution for
it to meet the criteria of this filter. This field is required.CloseStatuspublic CloseStatusFilter withStatus(CloseStatus status)
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
status - The close status that must match the close status of an execution for
it to meet the criteria of this filter. This field is required.CloseStatuspublic 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