public static interface MeasureComputer.MeasureComputerDefinition.Builder
Modifier and Type | Method and Description |
---|---|
MeasureComputer.MeasureComputerDefinition |
build() |
MeasureComputer.MeasureComputerDefinition.Builder |
setInputMetrics(String... inputMetrics)
List of metric keys of the measures that will be loaded by this computer.
|
MeasureComputer.MeasureComputerDefinition.Builder |
setOutputMetrics(String... outputMetrics)
List of metric keys of the measures that can be added by this computer.
|
MeasureComputer.MeasureComputerDefinition.Builder setInputMetrics(String... inputMetrics)
CoreMetrics
or a metric provided by Metrics
NullPointerException
- if inputMetrics is nullNullPointerException
- if the metrics contains a null
MeasureComputer.MeasureComputerDefinition.Builder setOutputMetrics(String... outputMetrics)
Metrics
CoreMetrics
MeasureComputer
NullPointerException
- if outputMetrics is nullIllegalArgumentException
- if there's not at least one output metricsNullPointerException
- if the metrics contains a null
MeasureComputer.MeasureComputerDefinition build()
NullPointerException
- if inputMetrics is nullNullPointerException
- if inputs metrics contains a null
NullPointerException
- if outputMetrics is nullIllegalArgumentException
- if there's not at least one output metricsNullPointerException
- if outputs metrics contains a null
Copyright © 2009–2017 SonarSource. All rights reserved.