Class CostReportConsumerMock
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.resource.CostReportConsumerMock
-
- All Implemented Interfaces:
CostReportConsumer
public class CostReportConsumerMock extends java.lang.Object implements CostReportConsumer
- Author:
- ldalves
-
-
Constructor Summary
Constructors Constructor Description CostReportConsumerMock()CostReportConsumerMock(java.util.function.Consumer<java.lang.String> csvConsumer, java.util.Map<Property,ResourceAllocation> fixedAllocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume(java.lang.String csv)java.util.Map<Property,ResourceAllocation>fixedAllocations()
-
-
-
Constructor Detail
-
CostReportConsumerMock
public CostReportConsumerMock()
-
CostReportConsumerMock
public CostReportConsumerMock(java.util.function.Consumer<java.lang.String> csvConsumer, java.util.Map<Property,ResourceAllocation> fixedAllocations)
-
-
Method Detail
-
consume
public void consume(java.lang.String csv)
- Specified by:
consumein interfaceCostReportConsumer
-
fixedAllocations
public java.util.Map<Property,ResourceAllocation> fixedAllocations()
- Specified by:
fixedAllocationsin interfaceCostReportConsumer
-
-