Class ConfigurationMessageComparator

java.lang.Object
de.hybris.platform.sap.productconfig.facades.impl.ConfigurationMessageComparator
All Implemented Interfaces:
Comparator<ProductConfigMessageData>

public class ConfigurationMessageComparator extends Object implements Comparator<ProductConfigMessageData>
Sorts messages for display on Ui. The order is:
  1. Message with ProductConfigMessageSeverity.WARNING (i.e. UI-Severity "Info" marked with question mark)
  2. Message with ProductConfigMessageSeverity.INFO/ERROR (i.e. UI-Severity "Config"/"Error" marked with i-Sign)
  3. Promo-Messages
  4. Opportunity-Messages