Class MatchTypeFactoryTemplate

java.lang.Object
com.aquima.interactions.test.templates.resource.MatchTypeFactoryTemplate

public class MatchTypeFactoryTemplate extends Object
This template allows for registering match type factories which can be used in testcases.
Since:
6.2
Author:
F. van der Meer
  • Constructor Details

    • MatchTypeFactoryTemplate

      public MatchTypeFactoryTemplate()
  • Method Details

    • toFactory

      public com.aquima.interactions.matching.IMatchTypeFactory toFactory()
      Creates the match type factory for this template, containing the custom added factories.
      Returns:
      The match type factory which is never null.
    • addMatchFunctionFactory

      public void addMatchFunctionFactory(com.aquima.interactions.matching.IMatchFunctionFactory factory)
      This method adds a match function factory to the match type factory template. The added match function factory's type name is mandatory.
      Parameters:
      factory - The match function factory to add.
    • getMatchFunctionFactory

      protected com.aquima.interactions.matching.IMatchFunctionFactory getMatchFunctionFactory(String typeName)
    • getMatchFunction

      protected com.aquima.interactions.matching.IMatchFunction getMatchFunction(String typeName, String name, com.aquima.interactions.matching.IMatchFunctionParameters parameters)