public class CloseStatusFilter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Used to filter the closed workflow executions in visibility APIs by their close status.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
status
Required. The close status that must match the close status of an
execution for it to meet the criteria of this filter.
|
Constructor and Description |
---|
CloseStatusFilter() |
Modifier and Type | Method and Description |
---|---|
CloseStatusFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatus()
Required. 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)
Required. 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)
Required. 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)
Required. 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)
Required. The close status that must match the close status of an
execution for it to meet the criteria of this filter.
|
private java.lang.String status
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
public void setStatus(java.lang.String status)
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
status
- Required.CloseStatus
public java.lang.String getStatus()
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
CloseStatus
public CloseStatusFilter withStatus(java.lang.String status)
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
status
- Required.CloseStatus
public void setStatus(CloseStatus status)
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
status
- Required.CloseStatus
public CloseStatusFilter withStatus(CloseStatus status)
Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
status
- Required.CloseStatus
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 CloseStatusFilter clone()
clone
in class java.lang.Object