Class HistoryOverview.DonutData
- java.lang.Object
-
- de.valtech.aecu.core.model.history.HistoryOverview.DonutData
-
- Enclosing class:
- HistoryOverview
public static class HistoryOverview.DonutData extends Object
Data for the donut chart.
-
-
Constructor Summary
Constructors Constructor Description DonutData(BigDecimal percentageOk, BigDecimal percentageFail)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFailedLength()Length (0..100) of filled failed cicle part.StringgetFailedRemainder()Length (0..100) of non-filled failed cicle part.StringgetOkLength()Length (0..100) of filled ok cicle part.StringgetOkRemainder()Length (0..100) of non-filled ok cicle part.StringgetPercentageOk()Returns the percentage text for the circle center.
-
-
-
Constructor Detail
-
DonutData
public DonutData(BigDecimal percentageOk, BigDecimal percentageFail)
Constructor- Parameters:
percentageOk- percentage of successful scriptspercentageFail- percentage of failed scripts
-
-
Method Detail
-
getOkLength
public String getOkLength()
Length (0..100) of filled ok cicle part.- Returns:
- length
-
getOkRemainder
public String getOkRemainder()
Length (0..100) of non-filled ok cicle part.- Returns:
- length
-
getFailedLength
public String getFailedLength()
Length (0..100) of filled failed cicle part.- Returns:
- length
-
getFailedRemainder
public String getFailedRemainder()
Length (0..100) of non-filled failed cicle part.- Returns:
- length
-
getPercentageOk
public String getPercentageOk()
Returns the percentage text for the circle center.- Returns:
- percentage
-
-