Package com.vaadin.flow.server.frontend
Class CvdlProducts
java.lang.Object
com.vaadin.flow.server.frontend.CvdlProducts
Utilities for commercial product handling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.pro.licensechecker.ProductgetProductIfCvdl(File nodeModules, String npmModule) Returns product information if the given npm module refers to a Vaadin commercial component.
-
Constructor Details
-
CvdlProducts
public CvdlProducts()
-
-
Method Details
-
getProductIfCvdl
public static com.vaadin.pro.licensechecker.Product getProductIfCvdl(File nodeModules, String npmModule) Returns product information if the given npm module refers to a Vaadin commercial component.- Parameters:
nodeModules- the node modules foldernpmModule- the name of the npm module to check- Returns:
- product information if the npm module is a commercial component,
or
nullotherwise
-