Class MaskFactory

java.lang.Object
com.aquima.interactions.framework.mask.MaskFactory
All Implemented Interfaces:
IMaskFactory

public class MaskFactory extends Object implements IMaskFactory
Mask factory, with constructor based creation.
Since:
7.1
Author:
Jon van Leuven
  • Constructor Details

    • MaskFactory

      public MaskFactory(Map<String,IMask> masks)
      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

      public IMask getMask(ApplicationID applicationId, String maskTypeName)
      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 interface IMaskFactory
      Parameters:
      applicationId - The ID of the module, may not be null.
      maskTypeName - The mask type name, may not be null.
      Returns:
      The mask implementation.