DynamicThresholdOperator Class

public final class DynamicThresholdOperator
extends ExpandableStringEnum<DynamicThresholdOperator>

The operator used to compare the metric value against the threshold.

Field Summary

Modifier and Type Field and Description
static final DynamicThresholdOperator GREATER_OR_LESS_THAN

Static value GreaterOrLessThan for DynamicThresholdOperator.

static final DynamicThresholdOperator GREATER_THAN

Static value GreaterThan for DynamicThresholdOperator.

static final DynamicThresholdOperator LESS_THAN

Static value LessThan for DynamicThresholdOperator.

Constructor Summary

Constructor Description
DynamicThresholdOperator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DynamicThresholdOperator value.

Method Summary

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

Creates or finds a DynamicThresholdOperator from its string representation.

static Collection<DynamicThresholdOperator> values()

Gets known DynamicThresholdOperator values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GREATER_OR_LESS_THAN

public static final DynamicThresholdOperator GREATER_OR_LESS_THAN

Static value GreaterOrLessThan for DynamicThresholdOperator.

GREATER_THAN

public static final DynamicThresholdOperator GREATER_THAN

Static value GreaterThan for DynamicThresholdOperator.

LESS_THAN

public static final DynamicThresholdOperator LESS_THAN

Static value LessThan for DynamicThresholdOperator.

Constructor Details

DynamicThresholdOperator

@Deprecated
public DynamicThresholdOperator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DynamicThresholdOperator value.

Method Details

fromString

public static DynamicThresholdOperator fromString(String name)

Creates or finds a DynamicThresholdOperator from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DynamicThresholdOperator.

values

public static Collection values()

Gets known DynamicThresholdOperator values.

Returns:

known DynamicThresholdOperator values.

Applies to