Class MaskContext
java.lang.Object
com.aquima.interactions.portal.model.session.MaskContext
- All Implemented Interfaces:
IMaskContext
Implementation of the mask context to create masks.
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MaskContext
(IProject project, IMaskCallDefinition definition) -
Method Summary
Modifier and TypeMethodDescriptionReturns the languages that should be used for the current mask.Returns the name of the current mask.Returns the type name of the current mask.getMessage
(String key) This method returns a multilingual text for a specified key.This method returns an object containing all the parameters that are defined for the current mask.
-
Constructor Details
-
MaskContext
-
-
Method Details
-
getMessage
Description copied from interface:IMaskContext
This method returns a multilingual text for a specified key.- Specified by:
getMessage
in interfaceIMaskContext
- Parameters:
key
- The key used for message lookup.- Returns:
- The multilingual text, never null.
-
getLanguages
Description copied from interface:IMaskContext
Returns the languages that should be used for the current mask.- Specified by:
getLanguages
in interfaceIMaskContext
- Returns:
- the languages (never null)
-
getMaskCallName
Description copied from interface:IMaskContext
Returns the name of the current mask.- Specified by:
getMaskCallName
in interfaceIMaskContext
- Returns:
- The name of the mask (never null).
-
getMaskTypeName
Description copied from interface:IMaskContext
Returns the type name of the current mask.- Specified by:
getMaskTypeName
in interfaceIMaskContext
- Returns:
- The type name of the mask (never null).
-
getParameters
Description copied from interface:IMaskContext
This method returns an object containing all the parameters that are defined for the current mask.- Specified by:
getParameters
in interfaceIMaskContext
- Returns:
- Object containing the mask parameters (never null).
-