TimeAggregation Class

public final class TimeAggregation
extends ExpandableStringEnum<TimeAggregation>

Aggregation type. Relevant and required only for rules of the kind LogAlert.

Field Summary

Modifier and Type Field and Description
static final TimeAggregation AVERAGE

Static value Average for TimeAggregation.

static final TimeAggregation COUNT

Static value Count for TimeAggregation.

static final TimeAggregation MAXIMUM

Static value Maximum for TimeAggregation.

static final TimeAggregation MINIMUM

Static value Minimum for TimeAggregation.

static final TimeAggregation TOTAL

Static value Total for TimeAggregation.

Constructor Summary

Constructor Description
TimeAggregation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TimeAggregation value.

Method Summary

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

Creates or finds a TimeAggregation from its string representation.

static Collection<TimeAggregation> values()

Gets known TimeAggregation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVERAGE

public static final TimeAggregation AVERAGE

Static value Average for TimeAggregation.

COUNT

public static final TimeAggregation COUNT

Static value Count for TimeAggregation.

MAXIMUM

public static final TimeAggregation MAXIMUM

Static value Maximum for TimeAggregation.

MINIMUM

public static final TimeAggregation MINIMUM

Static value Minimum for TimeAggregation.

TOTAL

public static final TimeAggregation TOTAL

Static value Total for TimeAggregation.

Constructor Details

TimeAggregation

@Deprecated
public TimeAggregation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TimeAggregation value.

Method Details

fromString

public static TimeAggregation fromString(String name)

Creates or finds a TimeAggregation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TimeAggregation.

values

public static Collection values()

Gets known TimeAggregation values.

Returns:

known TimeAggregation values.

Applies to