public class MetricsAggregationParameter extends MessageQueryParameter<MetricsAggregationParameter.AggregationMode>
Modifier and Type | Class and Description |
---|---|
static class |
MetricsAggregationParameter.AggregationMode
The available aggregations.
|
MessageParameter.MessageParameterRequisiteness
Modifier | Constructor and Description |
---|---|
protected |
MetricsAggregationParameter() |
Modifier and Type | Method and Description |
---|---|
MetricsAggregationParameter.AggregationMode |
convertStringToValue(String value)
Converts the given string to a valid value of this parameter.
|
String |
convertValueToString(MetricsAggregationParameter.AggregationMode value)
Converts the given value to its string representation.
|
String |
getDescription()
Returns a description for REST API HTML documentation.
|
convertFromString, convertToString
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
public MetricsAggregationParameter.AggregationMode convertStringToValue(String value) throws ConversionException
MessageQueryParameter
convertStringToValue
in class MessageQueryParameter<MetricsAggregationParameter.AggregationMode>
value
- string representation of parameter valueConversionException
public String convertValueToString(MetricsAggregationParameter.AggregationMode value)
MessageQueryParameter
convertValueToString
in class MessageQueryParameter<MetricsAggregationParameter.AggregationMode>
value
- parameter valuepublic String getDescription()
MessageParameter
getDescription
in class MessageParameter<List<MetricsAggregationParameter.AggregationMode>>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.