Class BasicContainerFactory
java.lang.Object
com.tccc.kos.ext.dispense.service.assignment.BasicContainerFactory
- All Implemented Interfaces:
AssignmentContainerFactory
Default container factory to use for
AssignmentService
.- Version:
- 2023-01-25
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContainer
(String ingredientId, String containerId, String factoryJson) Return a container object for the specified ingredientId and containerId.
-
Constructor Details
-
BasicContainerFactory
public BasicContainerFactory()
-
-
Method Details
-
getContainer
public Container getContainer(String ingredientId, String containerId, String factoryJson) throws Exception Description copied from interface:AssignmentContainerFactory
Return a container object for the specified ingredientId and containerId.- Specified by:
getContainer
in interfaceAssignmentContainerFactory
- Parameters:
ingredientId
- the ingredient to put in the containercontainerId
- the id to use for the containerfactoryJson
- json string included in the assignment for use by factory- Throws:
Exception
-