public static enum ControlledMetric.AggregationType extends Enum<ControlledMetric.AggregationType>
Enum Constant and Description |
---|
AVERAGE
multiple values (such as disk free space) are averaged together
|
SUM
multiple values (such as page-view counts) are summed together
|
Modifier and Type | Method and Description |
---|---|
static ControlledMetric.AggregationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlledMetric.AggregationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlledMetric.AggregationType SUM
public static final ControlledMetric.AggregationType AVERAGE
public static ControlledMetric.AggregationType[] values()
for (ControlledMetric.AggregationType c : ControlledMetric.AggregationType.values()) System.out.println(c);
public static ControlledMetric.AggregationType 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 nullThis content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.