public class CloseStatusFilter extends Object implements Serializable, Cloneable
Used to filter the closed workflow executions in visibility APIs by their close status.
Constructor and Description |
---|
CloseStatusFilter() |
Modifier and Type | Method and Description |
---|---|
CloseStatusFilter |
clone() |
boolean |
equals(Object obj) |
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(String status)
Required. The close status that must match the close status of an
execution for it to meet the criteria of this filter.
|
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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public CloseStatusFilter clone()
Copyright © 2018. All rights reserved.