JobAgentState Class

public final class JobAgentState
extends ExpandableStringEnum<JobAgentState>

The state of the job agent.

Field Summary

Modifier and Type Field and Description
static final JobAgentState CREATING

Creating.

static final JobAgentState DELETING

Deleting.

static final JobAgentState DISABLED

Disabled.

static final JobAgentState READY

Ready.

static final JobAgentState UPDATING

Updating.

Constructor Summary

Constructor Description
JobAgentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobAgentState value.

Method Summary

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

Creates or finds a JobAgentState from its string representation.

static Collection<JobAgentState> values()

Gets known JobAgentState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATING

public static final JobAgentState CREATING

Creating.

DELETING

public static final JobAgentState DELETING

Deleting.

DISABLED

public static final JobAgentState DISABLED

Disabled.

READY

public static final JobAgentState READY

Ready.

UPDATING

public static final JobAgentState UPDATING

Updating.

Constructor Details

JobAgentState

@Deprecated
public JobAgentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobAgentState value.

Method Details

fromString

public static JobAgentState fromString(String name)

Creates or finds a JobAgentState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding JobAgentState.

values

public static Collection<JobAgentState> values()

Gets known JobAgentState values.

Returns:

known JobAgentState values.

Applies to