TaskExecutionResult 枚举

定义

Defines values for TaskExecutionResult.

public enum TaskExecutionResult
继承
java.lang.Object
java.lang.Enum<TaskExecutionResult>
TaskExecutionResult

字段

FAILURE

There was an error during processing of the task. The failure may have occurred before the task process was launched, while the task process was executing, or after the task process exited.

SUCCESS

The task ran successfully.

方法

fromString(String value)

Parses a serialized value to a TaskExecutionResult instance.

public static TaskExecutionResult fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed TaskExecutionResult object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于