Package com.mendix.metrics
Interface Metric.Builder<M extends Metric>
- Enclosing interface:
- Metric
public static interface Metric.Builder<M extends Metric>
Represents a builder for metric objects.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the metric based on the properties given to this builder.withDescription(String description) Returns this Builder with the given description of the metric being built.Returns this Builder with the given tag added to the list of tags of the metric being built.
- 
Method Details- 
withDescriptionReturns this Builder with the given description of the metric being built.- Parameters:
- description- Description of the metric
- Returns:
- The builder with added description
 
- 
withTagReturns this Builder with the given tag added to the list of tags of the metric being built.- Parameters:
- name- Tag key
- value- Tag value
- Returns:
- The builder with added tag
 
- 
buildM build()Builds the metric based on the properties given to this builder.- Returns:
- Ready-to-use metric
 
 
-