Class PlanRegistryMock
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.billing.PlanRegistryMock
-
- All Implemented Interfaces:
PlanRegistry
public class PlanRegistryMock extends Object implements PlanRegistry
-
-
Constructor Summary
Constructors Constructor Description PlanRegistryMock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlandefaultPlan()Get the default planOptional<Plan>plan(PlanId planId)Get a plan given a plan ID-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.vespa.hosted.controller.api.integration.billing.PlanRegistry
plan
-
-
-
-
Method Detail
-
defaultPlan
public Plan defaultPlan()
Description copied from interface:PlanRegistryGet the default plan- Specified by:
defaultPlanin interfacePlanRegistry
-
plan
public Optional<Plan> plan(PlanId planId)
Description copied from interface:PlanRegistryGet a plan given a plan ID- Specified by:
planin interfacePlanRegistry
-
-