Interface AssignmentContainerFactory
- All Known Implementing Classes:
BasicContainerFactory
public interface AssignmentContainerFactory
Interface for creating containers for
AssignmentService
which allows
this service to create complex containers / slices.- Since:
- 1.0
- Version:
- 2023-01-25
-
Method Summary
Modifier and TypeMethodDescriptiongetContainer
(String ingredientId, String containerId, String factoryJson) Return a container object for the specified ingredientId and containerId.
-
Method Details
-
getContainer
Container getContainer(String ingredientId, String containerId, String factoryJson) throws Exception Return a container object for the specified ingredientId and containerId.- 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
-