public static enum ConditionExpression.Function extends Enum<ConditionExpression.Function>
| Enum Constant and Description |
|---|
avg |
max |
median |
min |
notUpCount |
notUpDuration |
samples |
sum |
upCount |
uptimeRatio |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(org.hawkular.metrics.model.MetricType<?> metricType) |
static ConditionExpression.Function |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConditionExpression.Function[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionExpression.Function avg
public static final ConditionExpression.Function max
public static final ConditionExpression.Function median
public static final ConditionExpression.Function min
public static final ConditionExpression.Function notUpCount
public static final ConditionExpression.Function notUpDuration
public static final ConditionExpression.Function samples
public static final ConditionExpression.Function sum
public static final ConditionExpression.Function uptimeRatio
public static final ConditionExpression.Function upCount
public static ConditionExpression.Function[] values()
for (ConditionExpression.Function c : ConditionExpression.Function.values()) System.out.println(c);
public static ConditionExpression.Function valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isSupported(org.hawkular.metrics.model.MetricType<?> metricType)
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.