java.lang.Object
de.hybris.platform.sap.productconfig.frontend.util.impl.UiDataStats

public class UiDataStats extends Object
Utility class for logging, collects statistical data regarding the size of the dynamic runtime configuration.
The following data is collected:
  • total number of values
  • total number of cstics
  • total number of UI groups
  • maximum nesting depth
  • Constructor Details

    • UiDataStats

      public UiDataStats()
  • Method Details

    • countCstics

      public void countCstics(List<UiGroupData> groups)
      Analyzes recursively the runtime configuration, or the provided subtree, using the provided group as root. toString() will return the results as formatted string.
      The result will only be accurate for the first invocation. To count again, create a new instance.
      Parameters:
      groups - root group
    • countValues

      protected void countValues(List<CsticData> cstics)
    • toString

      public String toString()
      Overrides:
      toString in class Object