SparkErrorSource Class

public final class SparkErrorSource
extends ExpandableStringEnum<SparkErrorSource>

Defines values for SparkErrorSource.

Field Summary

Modifier and Type Field and Description
static final SparkErrorSource DEPENDENCY

Static value Dependency for SparkErrorSource.

static final SparkErrorSource SYSTEM

Static value System for SparkErrorSource.

static final SparkErrorSource UNKNOWN

Static value Unknown for SparkErrorSource.

static final SparkErrorSource USER

Static value User for SparkErrorSource.

Constructor Summary

Constructor Description
SparkErrorSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkErrorSource value.

Method Summary

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

Creates or finds a SparkErrorSource from its string representation.

static Collection<SparkErrorSource> values()

Gets known SparkErrorSource values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEPENDENCY

public static final SparkErrorSource DEPENDENCY

Static value Dependency for SparkErrorSource.

SYSTEM

public static final SparkErrorSource SYSTEM

Static value System for SparkErrorSource.

UNKNOWN

public static final SparkErrorSource UNKNOWN

Static value Unknown for SparkErrorSource.

USER

public static final SparkErrorSource USER

Static value User for SparkErrorSource.

Constructor Details

SparkErrorSource

@Deprecated
public SparkErrorSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SparkErrorSource value.

Method Details

fromString

public static SparkErrorSource fromString(String name)

Creates or finds a SparkErrorSource from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SparkErrorSource.

values

public static Collection values()

Gets known SparkErrorSource values.

Returns:

known SparkErrorSource values.

Applies to