SnoozeScope Class

public final class SnoozeScope
extends ExpandableStringEnum<SnoozeScope>

Defines values for SnoozeScope.

Field Summary

Modifier and Type Field and Description
static final SnoozeScope METRIC

Static value Metric for SnoozeScope.

static final SnoozeScope SERIES

Static value Series for SnoozeScope.

Constructor Summary

Constructor Description
SnoozeScope()

Deprecated

Use the fromString(String name) factory method.

Constructs a SnoozeScope object.

Method Summary

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

Creates or finds a SnoozeScope from its string representation.

static Collection<SnoozeScope> values()

Returns known SnoozeScope values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

METRIC

public static final SnoozeScope METRIC

Static value Metric for SnoozeScope.

SERIES

public static final SnoozeScope SERIES

Static value Series for SnoozeScope.

Constructor Details

SnoozeScope

@Deprecated
public SnoozeScope()

Deprecated

Use the fromString(String name) factory method.

Constructs a SnoozeScope object.

Method Details

fromString

public static SnoozeScope fromString(String name)

Creates or finds a SnoozeScope from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SnoozeScope.

values

public static Collection values()

Returns known SnoozeScope values.

Returns:

known SnoozeScope values.

Applies to