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