public static interface ApiMetrics.ApiMetricsBuilder
| Modifier and Type | Method and Description |
|---|---|
ApiMetrics.ApiMetricsBuilder |
addAccumulator(Supplier<Accumulator> accumulator) |
ApiMetrics.ApiMetricsBuilder |
addMetric(Metric<?> metric)
Add the provided
metric as applicable when analysing the set of packages. |
default ApiMetrics.ApiMetricsBuilder |
addPackage(Package paket)
Adds the provided
paket and all its underlying packages to the set of packages to analyze. |
ApiMetrics.ApiMetricsBuilder |
addPackage(String packageName)
Adds the provided
packageName and all its underlying packages to the set of packages to analyze. |
default ApiMetrics.ApiMetricsBuilder |
addPackageExclusion(Package paket)
Adds the provided
paket and all its underlying packages to the set of excluded packages not to analyze. |
ApiMetrics.ApiMetricsBuilder |
addPackageExclusion(String packageName)
Adds the provided
packageName and all its underlying packages to the set of excluded packages not to analyze. |
ApiMetrics.ApiMetricsBuilder |
addStandardAccumulators() |
ApiMetrics.ApiMetricsBuilder |
addStandardMetrics()
Add a set of standard metrics as applicable when analysing the set of packages.
|
ApiMetrics |
build()
Analyses and returns ApiMetrics thereby applying all the metrics and accumulators to the set of packages to analyse.
|
default ApiMetrics.ApiMetricsBuilder addPackage(Package paket)
paket and all its underlying packages to the set of packages to analyze.paket - to analyze (non-null)ApiMetrics.ApiMetricsBuilder addPackage(String packageName)
packageName and all its underlying packages to the set of packages to analyze.packageName - to analyze (non-null)default ApiMetrics.ApiMetricsBuilder addPackageExclusion(Package paket)
paket and all its underlying packages to the set of excluded packages not to analyze.paket - not to analyze (non-null)ApiMetrics.ApiMetricsBuilder addPackageExclusion(String packageName)
packageName and all its underlying packages to the set of excluded packages not to analyze.packageName - not to analyze (non-null)ApiMetrics.ApiMetricsBuilder addMetric(Metric<?> metric)
metric as applicable when analysing the set of packages.metric - to add (non-null)ApiMetrics.ApiMetricsBuilder addStandardMetrics()
ApiMetrics.ApiMetricsBuilder addAccumulator(Supplier<Accumulator> accumulator)
ApiMetrics.ApiMetricsBuilder addStandardAccumulators()
ApiMetrics build()
Copyright © 2023. All rights reserved.