LivyStates Class

public final class LivyStates
extends ExpandableStringEnum<LivyStates>

The batch state.

Field Summary

Modifier and Type Field and Description
static final LivyStates BUSY

Static value busy for LivyStates.

static final LivyStates DEAD

Static value dead for LivyStates.

static final LivyStates ERROR

Static value error for LivyStates.

static final LivyStates IDLE

Static value idle for LivyStates.

static final LivyStates KILLED

Static value killed for LivyStates.

static final LivyStates NOT_STARTED

Static value not_started for LivyStates.

static final LivyStates RECOVERING

Static value recovering for LivyStates.

static final LivyStates RUNNING

Static value running for LivyStates.

static final LivyStates SHUTTING_DOWN

Static value shutting_down for LivyStates.

static final LivyStates STARTING

Static value starting for LivyStates.

static final LivyStates SUCCESS

Static value success for LivyStates.

Constructor Summary

Constructor Description
LivyStates()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LivyStates value.

Method Summary

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

Creates or finds a LivyStates from its string representation.

static Collection<LivyStates> values()

Gets known LivyStates values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUSY

public static final LivyStates BUSY

Static value busy for LivyStates.

DEAD

public static final LivyStates DEAD

Static value dead for LivyStates.

ERROR

public static final LivyStates ERROR

Static value error for LivyStates.

IDLE

public static final LivyStates IDLE

Static value idle for LivyStates.

KILLED

public static final LivyStates KILLED

Static value killed for LivyStates.

NOT_STARTED

public static final LivyStates NOT_STARTED

Static value not_started for LivyStates.

RECOVERING

public static final LivyStates RECOVERING

Static value recovering for LivyStates.

RUNNING

public static final LivyStates RUNNING

Static value running for LivyStates.

SHUTTING_DOWN

public static final LivyStates SHUTTING_DOWN

Static value shutting_down for LivyStates.

STARTING

public static final LivyStates STARTING

Static value starting for LivyStates.

SUCCESS

public static final LivyStates SUCCESS

Static value success for LivyStates.

Constructor Details

LivyStates

@Deprecated
public LivyStates()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LivyStates value.

Method Details

fromString

public static LivyStates fromString(String name)

Creates or finds a LivyStates from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LivyStates.

values

public static Collection values()

Gets known LivyStates values.

Returns:

known LivyStates values.

Applies to