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 CostResource
public java.lang.String getResourceId()
getResourceId
in interface CostResource
public long getTotal()
getTotal
in interface CostResource
public java.lang.Double getAverage()
getAverage
in interface CostResource
public java.lang.Double getMin()
getMin
in interface CostResource
public java.lang.Double getMax()
getMax
in interface CostResource