ReportStatus Class

public final class ReportStatus
extends ExpandableStringEnum<ReportStatus>

Report status.

Field Summary

Modifier and Type Field and Description
static final ReportStatus ACTIVE

The report is active.

static final ReportStatus DISABLED

The report is disabled.

static final ReportStatus FAILED

The report is failed.

static final ReportStatus REVIEWING

The report is under reviewing.

Constructor Summary

Constructor Description
ReportStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReportStatus value.

Method Summary

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

Creates or finds a ReportStatus from its string representation.

static Collection<ReportStatus> values()

Gets known ReportStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final ReportStatus ACTIVE

The report is active.

DISABLED

public static final ReportStatus DISABLED

The report is disabled.

FAILED

public static final ReportStatus FAILED

The report is failed.

REVIEWING

public static final ReportStatus REVIEWING

The report is under reviewing.

Constructor Details

ReportStatus

@Deprecated
public ReportStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReportStatus value.

Method Details

fromString

public static ReportStatus fromString(String name)

Creates or finds a ReportStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReportStatus.

values

public static Collection<ReportStatus> values()

Gets known ReportStatus values.

Returns:

known ReportStatus values.

Applies to