Extensibility of Precedence Logic and Weight Calculator

Precedence algorithm or parts of it may be customized. Precedence Management supports loading of custom algorithm and weight calculators.

Extend the Data Model

Although the predefined model can be changed, new attributes can be added to it, too. The new attributes will be passed as is to the custom components. Also, the data model defined for AttributeQuality and PrecedenceDefinition can be extended by adding new attributes. These attributes become available to you for custom weight and precedence calculations.

Implement Custom Algorithms

To support extension of logic and other weight calculators, the default implementation can be replaced by implementing two interfaces:
  • IPrecedenceEvalutor.compute
  • IAttributeWeightCalculator. computeWeight

Customization per Enterprise

Customization can be made in the enterprise directories, CustomAttributeWeightCalculator and CustomPrecedenceEvalutor. The loading of these classes support the ConfigFileCheck flag for auto reload.