com.vaadin.flow.internal.

Class UsageStatistics


  • public class UsageStatistics
    extends Object

    Collects entries that should be exported for vaadin-usage-statistics when running in development mode.

    Statistics gathering is automatically disabled and excluded in production mode.

    For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

    Since:

    1.0

    Author:

    Vaadin Ltd

    • Method Detail

      • markAsUsed

        public static void markAsUsed(String name,
                                      String version)

        Registers a new entry with the given feature name and version string if no previous entry has been registered for the same name.

        Parameters:

        name - the feature name, not null

        version - the version, or null to use the current Flow version