Class ExtXmlMatchEngineDS

java.lang.Object
com.aquima.interactions.ds.ReportingDS
com.aquima.interactions.ds.matching.ExtXmlMatchEngineDS
All Implemented Interfaces:
IReportingDS, IMatchEngineDS

public class ExtXmlMatchEngineDS extends ReportingDS implements IMatchEngineDS
This implementation loads match engine definitions from an external XML file.

Note: This class can be removed when all data-sources can load this information from a studio export.

Since:
6.2
Author:
F. van der Meer
  • Constructor Details

    • ExtXmlMatchEngineDS

      public ExtXmlMatchEngineDS(IInitializationReport report, IResourceManager resources, IMatchConfiguration configuration)
      Constructs the match engine data source with the required parameters.
      Parameters:
      report - The initialization report in which messages can be reported.
      resources - The resource manager that should be used to read the XML file.
      configuration - The application configuration.
  • Method Details

    • iterateCaseBases

      public void iterateCaseBases(ICaseBaseVisitor visitor)
      Description copied from interface: IMatchEngineDS
      The implementor of this method should use the visitor to add all case bases to the match engine.
      Specified by:
      iterateCaseBases in interface IMatchEngineDS
      Parameters:
      visitor - A visitor which is used to register case bases.
    • iterateMatchFunctions

      public void iterateMatchFunctions(IMatchFunctionVisitor visitor)
      Description copied from interface: IMatchEngineDS
      The implementor of this method should use the visitor to add all match functions to the match engine.
      Specified by:
      iterateMatchFunctions in interface IMatchEngineDS
      Parameters:
      visitor - A visitor which is used to register match functions.