Package com.adobe.aio.cloudmanager
Interface Metric
-
public interface Metric
Code Quality Metric
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Metric.Comparator
The comparator to use for the metric.static class
Metric.Severity
Represents the severity of the metric.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getActualValue()
Expected value for the metric.Metric.Comparator
getComp()
The metrics comparator.String
getKpi()
KPI identifier.Metric.Severity
getSev()
Severity of the metric.Boolean
isOverride()
Whether user override the failed metric.Boolean
isPassed()
Whether metric is considered passed.
-
-
-
Method Detail
-
getSev
Metric.Severity getSev()
Severity of the metric.- Returns:
- severity
-
isPassed
Boolean isPassed()
Whether metric is considered passed.- Returns:
- passed
-
isOverride
Boolean isOverride()
Whether user override the failed metric.- Returns:
- override
-
getActualValue
String getActualValue()
Expected value for the metric.- Returns:
- actualValue
-
getComp
Metric.Comparator getComp()
The metrics comparator.- Returns:
- the comparator
-
getKpi
String getKpi()
KPI identifier.- Returns:
- kpi
-
-