/** * 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. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT * * @param 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. * @see CloseStatus */ public void setStatus(CloseStatus status) { this.status = status.toString(); }
/** * If the execution status is closed then this specifies how the execution was closed: * * <ul> * <li>COMPLETED: the execution was successfully completed. * <li>CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully * clean up before the execution is closed. * <li>TERMINATED: the execution was force terminated. * <li>FAILED: the execution failed to complete. * <li>TIMED_OUT: the execution did not complete in the alloted time and was automatically timed * out. * <li>CONTINUED_AS_NEW: the execution is logically continued. This means the current execution * was completed and a new execution was started to carry on the workflow. * </ul> * * <p>Returns a reference to this object so that method calls can be chained together. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT * * @param closeStatus If the execution status is closed then this specifies how the execution was * closed: * <ul> * <li>COMPLETED: the execution was successfully completed. * <li>CANCELED: the execution was canceled.Cancellation allows the implementation to * gracefully clean up before the execution is closed. * <li>TERMINATED: the execution was force terminated. * <li>FAILED: the execution failed to complete. * <li>TIMED_OUT: the execution did not complete in the alloted time and was automatically * timed out. * <li>CONTINUED_AS_NEW: the execution is logically continued. This means the current * execution was completed and a new execution was started to carry on the workflow. * </ul> * * @return A reference to this updated object so that method calls can be chained together. * @see CloseStatus */ public WorkflowExecutionInfo withCloseStatus(CloseStatus closeStatus) { this.closeStatus = closeStatus.toString(); return this; }
/** * 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. * * <p>Returns a reference to this object so that method calls can be chained together. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT * * @param 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. * @return A reference to this updated object so that method calls can be chained together. * @see CloseStatus */ public CloseStatusFilter withStatus(CloseStatus status) { this.status = status.toString(); return this; }
/** * If the execution status is closed then this specifies how the execution was closed: * * <ul> * <li>COMPLETED: the execution was successfully completed. * <li>CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully * clean up before the execution is closed. * <li>TERMINATED: the execution was force terminated. * <li>FAILED: the execution failed to complete. * <li>TIMED_OUT: the execution did not complete in the alloted time and was automatically timed * out. * <li>CONTINUED_AS_NEW: the execution is logically continued. This means the current execution * was completed and a new execution was started to carry on the workflow. * </ul> * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT * * @param closeStatus If the execution status is closed then this specifies how the execution was * closed: * <ul> * <li>COMPLETED: the execution was successfully completed. * <li>CANCELED: the execution was canceled.Cancellation allows the implementation to * gracefully clean up before the execution is closed. * <li>TERMINATED: the execution was force terminated. * <li>FAILED: the execution failed to complete. * <li>TIMED_OUT: the execution did not complete in the alloted time and was automatically * timed out. * <li>CONTINUED_AS_NEW: the execution is logically continued. This means the current * execution was completed and a new execution was started to carry on the workflow. * </ul> * * @see CloseStatus */ public void setCloseStatus(CloseStatus closeStatus) { this.closeStatus = closeStatus.toString(); }