Package com.aquima.interactions.matching
Interface IMatchFunctionParameters
- All Known Implementing Classes:
MatchFunctionParameters
public interface IMatchFunctionParameters
This interface is used during the initialization of match functions to provide the parameters that were defined for
the match function.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptiongetParameter
(String key) This method returns the parameter value for the specified key.String[]
This method returns an array containing all the parameter names for which a value is present.This method returns the resource manager that may be used to locate external resources for the match function.boolean
hasParameter
(String key) This method returns a boolean indicating if this parameters object has a value for the specified key.
-
Method Details
-
getParameterNames
String[] getParameterNames()This method returns an array containing all the parameter names for which a value is present.- Returns:
- an array containing all the parameter names for which a value is present.
-
hasParameter
This method returns a boolean indicating if this parameters object has a value for the specified key.- Parameters:
key
- The key for which should be checked if a value is available.- Returns:
- boolean indicating if this parameters object has a value for the specified key.
-
getParameter
This method returns the parameter value for the specified key. When there is no parameter defined for the specified key, this method will return a null value.- Parameters:
key
- The key for which the parameter value is requested.- Returns:
- The parameter value for the specified key.
-
getResourceManager
IResourceManager getResourceManager()This method returns the resource manager that may be used to locate external resources for the match function.- Returns:
- the resource manager that may be used to locate external resources for the match function.
-