Udostępnij za pośrednictwem


LabStatus Class

public final class LabStatus
extends ExpandableStringEnum<LabStatus>

The status of this lab.

Field Summary

Modifier and Type Field and Description
static final LabStatus ACTIVE

Static value Active for LabStatus.

static final LabStatus DELETED

Static value Deleted for LabStatus.

static final LabStatus PENDING

Static value Pending for LabStatus.

Constructor Summary

Constructor Description
LabStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LabStatus value.

Method Summary

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

Creates or finds a LabStatus from its string representation.

static Collection<LabStatus> values()

Gets known LabStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final LabStatus ACTIVE

Static value Active for LabStatus.

DELETED

public static final LabStatus DELETED

Static value Deleted for LabStatus.

PENDING

public static final LabStatus PENDING

Static value Pending for LabStatus.

Constructor Details

LabStatus

@Deprecated
public LabStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LabStatus value.

Method Details

fromString

public static LabStatus fromString(String name)

Creates or finds a LabStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LabStatus.

values

public static Collection<LabStatus> values()

Gets known LabStatus values.

Returns:

known LabStatus values.

Applies to