ofStatus

Creates a new TaskResult with the provided ExecutionStatus .

Parameters

status

The ExecutionStatus

static TaskResult ofStatus(ExecutionStatus status)