Class UiDataStats
java.lang.Object
de.hybris.platform.sap.productconfig.frontend.util.impl.UiDataStats
Utility class for logging, collects statistical data regarding the size of the dynamic runtime configuration.
The following data is collected:
The following data is collected:
- total number of values
- total number of cstics
- total number of UI groups
- maximum nesting depth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcountCstics(List<UiGroupData> groups) Analyzes recursively the runtime configuration, or the provided subtree, using the provided group as root.protected voidcountValues(List<CsticData> cstics) toString()
-
Constructor Details
-
UiDataStats
public UiDataStats()
-
-
Method Details
-
countCstics
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
-
toString
-