Interface MeasureComputer.MeasureComputerDefinition.Builder

    • Method Detail

      • setInputMetrics

        MeasureComputer.MeasureComputerDefinition.Builder setInputMetrics​(java.lang.String... inputMetrics)
        List of metric keys of the measures that will be loaded by this computer. It can be empty (for instance when only issues are needed). A metric must be either a CoreMetrics or a metric provided by Metrics
        Throws:
        java.lang.NullPointerException - if inputMetrics is null
        java.lang.NullPointerException - if the metrics contains a null
      • setOutputMetrics

        MeasureComputer.MeasureComputerDefinition.Builder setOutputMetrics​(java.lang.String... outputMetrics)
        List of metric keys of the measures that can be added by this computer. At least one metric key must be defined. At runtime, the following conditions will be validated :
        Throws:
        java.lang.NullPointerException - if outputMetrics is null
        java.lang.IllegalArgumentException - if there's not at least one output metrics
        java.lang.NullPointerException - if the metrics contains a null
      • build

        MeasureComputer.MeasureComputerDefinition build()
        Throws:
        java.lang.NullPointerException - if inputMetrics is null
        java.lang.NullPointerException - if inputs metrics contains a null
        java.lang.NullPointerException - if outputMetrics is null
        java.lang.IllegalArgumentException - if there's not at least one output metrics
        java.lang.NullPointerException - if outputs metrics contains a null