What are the valid values for TaskRecoverOp?

#1

I can find the setTaskRecoverOp() method here.

https://docs.xebialabs.com/jython-docs/#!/xl-release/8.5.x//service/com.xebialabs.xlrelease.domain.Task#Task-setTaskRecoverOp-TaskRecoverOp

But I cannot find documentation for valid values for TaskRecoverOp.

I know that TaskRecoverOp.SKIP_TASK is valid. But I need to know the other values, especially the value that chooses “Define additional action” from the “If task fails” dropdown.

Here is my incomplete code snippet:
newTask.setFailureHandler(failureHandler)
newTask.setTaskFailureHandlerEnabled(True)
newTask.setTaskRecoverOp(TaskRecoverOp.???)

#2

Here are the valid values -

FAIL_TASK(“Fail task”),
SKIP_TASK(“Skip task”),
RUN_SCRIPT(“Run script”)

#3

THANKS! Worked like a charm.