ThresholdType Class

public final class ThresholdType
extends ExpandableStringEnum<ThresholdType>

The type of threshold.

Field Summary

Modifier and Type Field and Description
static final ThresholdType ACTUAL

Static value Actual for ThresholdType.

static final ThresholdType FORECASTED

Static value Forecasted for ThresholdType.

Constructor Summary

Constructor Description
ThresholdType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ThresholdType value.

Method Summary

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

Creates or finds a ThresholdType from its string representation.

static Collection<ThresholdType> values()

Gets known ThresholdType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTUAL

public static final ThresholdType ACTUAL

Static value Actual for ThresholdType.

FORECASTED

public static final ThresholdType FORECASTED

Static value Forecasted for ThresholdType.

Constructor Details

ThresholdType

@Deprecated
public ThresholdType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ThresholdType value.

Method Details

fromString

public static ThresholdType fromString(String name)

Creates or finds a ThresholdType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ThresholdType.

values

public static Collection<ThresholdType> values()

Gets known ThresholdType values.

Returns:

known ThresholdType values.

Applies to