public class CostResourceImpl extends java.lang.Object implements CostResource
| Modifier | Constructor and Description |
|---|---|
protected |
CostResourceImpl(java.lang.String resourceId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCost(double duration) |
java.lang.Double |
getAverage() |
java.lang.Double |
getMax() |
java.lang.Double |
getMin() |
java.lang.String |
getResourceId() |
long |
getTotal() |
public void addCost(double duration)
addCost in interface CostResourcepublic java.lang.String getResourceId()
getResourceId in interface CostResourcepublic long getTotal()
getTotal in interface CostResourcepublic java.lang.Double getAverage()
getAverage in interface CostResourcepublic java.lang.Double getMin()
getMin in interface CostResourcepublic java.lang.Double getMax()
getMax in interface CostResource