Class MaskFactory
java.lang.Object
com.aquima.interactions.framework.mask.MaskFactory
- All Implemented Interfaces:
IMaskFactory
Mask factory, with constructor based creation.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionMaskFactory
(Map<String, IMask> masks) Constructs a mask factory with a map of key=masktype and value IMask instances. -
Method Summary
Modifier and TypeMethodDescriptiongetMask
(ApplicationID applicationId, String maskTypeName) This method should return a mask implementation for a specific application module and mask type name.
-
Constructor Details
-
MaskFactory
Constructs a mask factory with a map of key=masktype and value IMask instances. (This factory does not support versioning and such.)- Parameters:
masks
- a map of masktype to mask implementation
-
-
Method Details
-
getMask
Description copied from interface:IMaskFactory
This method should return a mask implementation for a specific application module and mask type name.- Specified by:
getMask
in interfaceIMaskFactory
- Parameters:
applicationId
- The ID of the module, may not be null.maskTypeName
- The mask type name, may not be null.- Returns:
- The mask implementation.
-