Result Class

public final class Result
extends ExpandableStringEnum<Result>

Indicates whether the fix action is Succeeded or Failed.

Field Summary

Modifier and Type Field and Description
static final Result FAILED

The result is failed.

static final Result SUCCEEDED

The result is succeeded.

Constructor Summary

Constructor Description
Result()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Result value.

Method Summary

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

Creates or finds a Result from its string representation.

static Collection<Result> values()

Gets known Result values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final Result FAILED

The result is failed.

SUCCEEDED

public static final Result SUCCEEDED

The result is succeeded.

Constructor Details

Result

@Deprecated
public Result()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Result value.

Method Details

fromString

public static Result fromString(String name)

Creates or finds a Result from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Result.

values

public static Collection<Result> values()

Gets known Result values.

Returns:

known Result values.

Applies to