ExitOptions.withJobAction(JobAction jobAction) 方法

定义

Set the default is none for exit code 0 and terminate for all other exit conditions. If the job's onTaskFailed property is noaction, then specifying this property returns an error and the add task request fails with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). Possible values include: 'none', 'disable', 'terminate'.

public ExitOptions withJobAction(JobAction jobAction)

参数

jobAction
JobAction

the jobAction value to set

返回

the ExitOptions object itself.

适用于