Package us.muit.fs.a4i.control
Class IssuesRatioIndicatorStrategy
java.lang.Object
us.muit.fs.a4i.control.IssuesRatioIndicatorStrategy
- All Implemented Interfaces:
IndicatorStrategy<Double>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalcIndicator
(List<ReportItemI<Double>> metrics) Calcula un indicador a partir de las métricas proporcionadas.Obtiene las métricas necesarias
-
Constructor Details
-
IssuesRatioIndicatorStrategy
public IssuesRatioIndicatorStrategy()
-
-
Method Details
-
calcIndicator
public ReportItemI<Double> calcIndicator(List<ReportItemI<Double>> metrics) throws NotAvailableMetricException Description copied from interface:IndicatorStrategy
Calcula un indicador a partir de las métricas proporcionadas.- Specified by:
calcIndicator
in interfaceIndicatorStrategy<Double>
- Returns:
- indicador
- Throws:
NotAvailableMetricException
-
requiredMetrics
Description copied from interface:IndicatorStrategy
Obtiene las métricas necesarias- Specified by:
requiredMetrics
in interfaceIndicatorStrategy<Double>
- Returns:
- listado de métricas
-