Partilhar via


RunResult Class

public final class RunResult
extends ExpandableStringEnum<RunResult>

Represents the overall result of the execution for the run instance.

Field Summary

Modifier and Type Field and Description
static final RunResult FAILED

Static value Failed for RunResult.

static final RunResult SUCCEEDED

Static value Succeeded for RunResult.

Constructor Summary

Constructor Description
RunResult()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunResult value.

Method Summary

Modifier and Type Method and Description
static RunResult fromString(String name)

Creates or finds a RunResult from its string representation.

static Collection<RunResult> values()

Gets known RunResult values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final RunResult FAILED

Static value Failed for RunResult.

SUCCEEDED

public static final RunResult SUCCEEDED

Static value Succeeded for RunResult.

Constructor Details

RunResult

@Deprecated
public RunResult()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunResult value.

Method Details

fromString

public static RunResult fromString(String name)

Creates or finds a RunResult from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunResult.

values

public static Collection values()

Gets known RunResult values.

Returns:

known RunResult values.

Applies to