BackendEnabledState Class

public final class BackendEnabledState
extends ExpandableStringEnum<BackendEnabledState>

Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.

Field Summary

Modifier and Type Field and Description
static final BackendEnabledState DISABLED

Static value Disabled for BackendEnabledState.

static final BackendEnabledState ENABLED

Static value Enabled for BackendEnabledState.

Constructor Summary

Constructor Description
BackendEnabledState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackendEnabledState value.

Method Summary

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

Creates or finds a BackendEnabledState from its string representation.

static Collection<BackendEnabledState> values()

Gets known BackendEnabledState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final BackendEnabledState DISABLED

Static value Disabled for BackendEnabledState.

ENABLED

public static final BackendEnabledState ENABLED

Static value Enabled for BackendEnabledState.

Constructor Details

BackendEnabledState

@Deprecated
public BackendEnabledState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackendEnabledState value.

Method Details

fromString

public static BackendEnabledState fromString(String name)

Creates or finds a BackendEnabledState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BackendEnabledState.

values

public static Collection values()

Gets known BackendEnabledState values.

Returns:

known BackendEnabledState values.

Applies to